Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001383/0.001383, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001574/0.001574, allocations: 172.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9015/0.9015, allocations: 177.1 MB / 206 MB, free: 4.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1502/0.1502, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.202e-05, allocations: 2.312 kB / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.001772/0.001784, allocations: 1.743 MB / 381.1 MB, free: 21.56 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.003269, allocations: 1.714 MB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.003329, allocations: 0 / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.003524, allocations: 39.7 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.003738, allocations: 103.5 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.003862, allocations: 87.53 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.003968, allocations: 111.6 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.004026, allocations: 8 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.101e-05/0.004087, allocations: 59.81 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.574e-05/0.004173, allocations: 35.83 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.004188, allocations: 8 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.004309, allocations: 99.88 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.004343, allocations: 19.92 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.00437, allocations: 19.94 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.004544, allocations: 167.4 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004546, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.004546, allocations: 4 kB / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.00455, allocations: 0 / 383.6 MB, free: 19.09 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003289/0.004879, allocations: 455.8 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.004905, allocations: 8.031 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.00494, allocations: 12.89 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.005055, allocations: 148.9 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.005069, allocations: 4.375 kB / 384.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.005083, allocations: 8.375 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/0.005182, allocations: 111.4 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.005191, allocations: 0 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.005197, allocations: 11.94 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.005202, allocations: 0 / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.005225, allocations: 11.98 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.005394, allocations: 256.3 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.005461, allocations: 55.09 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.005479, allocations: 15.67 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.00549, allocations: 4 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.719e-05/0.005567, allocations: 65.05 kB / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.92e-07/0.005568, allocations: 0 / 384.7 MB, free: 17.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002533/0.005821, allocations: 145.4 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.005845, allocations: 81.05 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.005926, allocations: 208.7 kB / 385.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.005934, allocations: 25.7 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.993e-05/0.005964, allocations: 150.8 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.005985, allocations: 27.83 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.00601, allocations: 23.38 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.006057, allocations: 0.5 MB / 385.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.373e-05/0.00607, allocations: 8 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.006097, allocations: 64.75 kB / 385.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.006133, allocations: 55.38 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.006134, allocations: 0 / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.459e-05/0.006209, allocations: 81.64 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.006217, allocations: 4 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.00622, allocations: 384 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.006229, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.00628, allocations: 23.92 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.006283, allocations: 4 kB / 386.1 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.773e-05/0.006311, allocations: 11.89 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.006316, allocations: 8.031 kB / 386.1 MB, free: 16.29 MB / 314.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 4.303e-05/0.006359, allocations: 160.5 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.006374, allocations: 15.95 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.444e-05/0.006469, allocations: 102.4 kB / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.00647, allocations: 0 / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.006472, allocations: 0 / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.006475, allocations: 0 / 386.4 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.006657, allocations: 357.6 kB / 386.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.006658, allocations: 3.938 kB / 386.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.039e-05/0.006678, allocations: 20.02 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.00668, allocations: 0 / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.006685, allocations: 0 / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.006686, allocations: 4 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.006687, allocations: 3.938 kB / 386.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.734e-05/0.006775, allocations: 251.7 kB / 387 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.879e-06/0.006785, allocations: 11.94 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.006799, allocations: 3.938 kB / 387 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.952e-05/0.006838, allocations: 11.98 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.006856, allocations: 4 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.006865, allocations: 11.98 kB / 387.1 MB, free: 15.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.796e-05/0.006903, allocations: 150.4 kB / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006903, allocations: 0 / 387.2 MB, free: 15.13 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000195/0.007098, allocations: 55.8 kB / 387.3 MB, free: 15.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009483/0.008046, allocations: 0.5363 MB / 387.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.04e-05/0.008136, allocations: 47.55 kB / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.008138, allocations: 0 / 387.9 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.008165, allocations: 35.59 kB / 387.9 MB, free: 14.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.008361, allocations: 39.39 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002264/0.008587, allocations: 207.7 kB / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.094e-05/0.008608, allocations: 63.34 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.674e-05/0.008645, allocations: 20.95 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.008706, allocations: 90.19 kB / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of SimCode: time 4.1e-07/0.008707, allocations: 0 / 388.3 MB, free: 14.18 MB / 314.7 MB Notification: Performance of Templates: time 0.004401/0.01311, allocations: 2.812 MB / 391.1 MB, free: 11.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.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: 3.101540022995323]