Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009819/0.0009819, allocations: 75.77 kB / 22.45 MB, free: 2.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 164 kB / 25.75 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9723/0.9723, allocations: 158.6 MB / 187.5 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.959e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002363/0.002393, allocations: 1.507 MB / 252.6 MB, free: 6.27 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.00417, allocations: 0.8623 MB / 253.5 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.004249, allocations: 0 / 253.5 MB, free: 5.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.004373, allocations: 15.86 kB / 253.5 MB, free: 5.383 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.902e-05/0.004472, allocations: 27.8 kB / 253.5 MB, free: 5.355 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.00479, allocations: 47.88 kB / 253.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.004995, allocations: 127.7 kB / 253.7 MB, free: 5.184 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.005119, allocations: 16.23 kB / 253.7 MB, free: 5.164 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005398/0.005659, allocations: 0.6005 MB / 254.3 MB, free: 4.562 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.005795, allocations: 59.81 kB / 254.4 MB, free: 4.504 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.627e-05/0.005831, allocations: 12 kB / 254.4 MB, free: 4.492 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.511e-05/0.005857, allocations: 8 kB / 254.4 MB, free: 4.484 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.872e-05/0.005955, allocations: 67.72 kB / 254.5 MB, free: 4.418 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.191e-05/0.006047, allocations: 63.72 kB / 254.5 MB, free: 4.355 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.006346, allocations: 283 kB / 254.8 MB, free: 4.078 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.006351, allocations: 0 / 254.8 MB, free: 4.078 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.006353, allocations: 3.938 kB / 254.8 MB, free: 4.074 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.00636, allocations: 0 / 254.8 MB, free: 4.074 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000777/0.007137, allocations: 0.7823 MB / 255.6 MB, free: 3.23 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.007182, allocations: 11.98 kB / 255.6 MB, free: 3.219 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.913e-05/0.007271, allocations: 44.7 kB / 255.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.007508, allocations: 218.9 kB / 255.9 MB, free: 2.934 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.007537, allocations: 12.38 kB / 255.9 MB, free: 2.922 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.007557, allocations: 4.375 kB / 255.9 MB, free: 2.918 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.007917, allocations: 253.6 kB / 256.1 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.007924, allocations: 4.188 kB / 256.1 MB, free: 2.633 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.007945, allocations: 4.375 kB / 256.1 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.007956, allocations: 7.938 kB / 256.1 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.00808, allocations: 162.8 kB / 256.3 MB, free: 2.438 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006742/0.008754, allocations: 0.4915 MB / 256.8 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.008948, allocations: 193.8 kB / 257 MB, free: 1.684 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.009082, allocations: 174.5 kB / 257.1 MB, free: 1.48 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.009094, allocations: 3.938 kB / 257.1 MB, free: 1.477 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002746/0.009368, allocations: 331.1 kB / 257.5 MB, free: 1.102 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.885e-06/0.009371, allocations: 0 / 257.5 MB, free: 1.102 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007172/0.01009, allocations: 0.6815 MB / 258.2 MB, free: 348 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.01017, allocations: 170.1 kB / 258.3 MB, free: 140 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006669/0.01083, allocations: 0.6272 MB / 258.9 MB, free: 15.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.01086, allocations: 29.7 kB / 259 MB, free: 15.45 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.78e-05/0.01094, allocations: 151.8 kB / 259.1 MB, free: 15.3 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.01097, allocations: 27.84 kB / 259.2 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.9e-05/0.01106, allocations: 87.27 kB / 259.2 MB, free: 15.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.01122, allocations: 0.504 MB / 259.7 MB, free: 14.66 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.01134, allocations: 158.8 kB / 259.9 MB, free: 14.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.01146, allocations: 186.1 kB / 260.1 MB, free: 14.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.01173, allocations: 348.6 kB / 260.4 MB, free: 13.88 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01173, allocations: 0 / 260.4 MB, free: 13.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004108/0.01214, allocations: 495 kB / 260.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.01222, allocations: 130.8 kB / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.01223, allocations: 0 / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.01225, allocations: 4.031 kB / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.563e-05/0.01228, allocations: 4 kB / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.01229, allocations: 0 / 261 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.01239, allocations: 8 kB / 261 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.01245, allocations: 59.92 kB / 261.1 MB, free: 13.11 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002831/0.01274, allocations: 389.3 kB / 261.5 MB, free: 12.69 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.01279, allocations: 51.7 kB / 261.5 MB, free: 12.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.109e-05/0.01288, allocations: 55.08 kB / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01289, allocations: 3.938 kB / 261.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.01289, allocations: 0 / 261.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.0129, allocations: 4 kB / 261.6 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.01375, allocations: 0.9556 MB / 262.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.01376, allocations: 0 / 262.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.838e-06/0.01376, allocations: 4 kB / 262.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01376, allocations: 0 / 262.6 MB, free: 11.53 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.01378, allocations: 15.98 kB / 262.6 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01379, allocations: 0 / 262.6 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01379, allocations: 0 / 262.6 MB, free: 11.51 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.01425, allocations: 0.7005 MB / 263.3 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.01448, allocations: 185.4 kB / 263.5 MB, free: 10.56 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.01453, allocations: 20.06 kB / 263.5 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.0146, allocations: 8 kB / 263.5 MB, free: 10.54 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.0147, allocations: 35.89 kB / 263.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.01475, allocations: 59.92 kB / 263.6 MB, free: 10.44 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003731/0.01512, allocations: 430.7 kB / 264 MB, free: 10.02 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01512, allocations: 0 / 264 MB, free: 10.02 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.01533, allocations: 40 kB / 264 MB, free: 9.984 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001295/0.01546, allocations: 110.2 kB / 264.1 MB, free: 9.867 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004611/0.01592, allocations: 0.6003 MB / 264.7 MB, free: 9.164 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01592, allocations: 0 / 264.7 MB, free: 9.164 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002649/0.01618, allocations: 428 kB / 265.2 MB, free: 8.668 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.01687, allocations: 131 kB / 265.3 MB, free: 8.547 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009031/0.01777, allocations: 0.7517 MB / 266 MB, free: 7.746 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.644e-05/0.01786, allocations: 99.25 kB / 266.1 MB, free: 7.629 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.01791, allocations: 8.719 kB / 266.1 MB, free: 7.621 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.133e-05/0.01794, allocations: 12.5 kB / 266.2 MB, free: 7.609 MB / 250.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01794, allocations: 4.062 kB / 266.2 MB, free: 7.605 MB / 250.7 MB Notification: Performance of Templates: time 0.006979/0.02492, allocations: 5.01 MB / 271.2 MB, free: 2.516 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7903229708317667]