Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2482/0.2482, allocations: 44.91 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 63.91 kB / 497.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4524, allocations: 64.3 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003858/0.4563, allocations: 1.758 MB / 0.5506 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.4584, allocations: 0.8973 MB / 0.5515 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.4585, allocations: 13.25 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.4591, allocations: 79.3 kB / 0.5516 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.4595, allocations: 81.08 kB / 0.5516 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005648/0.4601, allocations: 116.1 kB / 0.5518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.4604, allocations: 106.7 kB / 0.5519 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.4606, allocations: 9.75 kB / 0.5519 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.4607, allocations: 54.33 kB / 0.5519 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.4609, allocations: 69.16 kB / 0.552 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.4609, allocations: 4.688 kB / 0.552 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.4611, allocations: 61.38 kB / 0.552 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.801e-05/0.4612, allocations: 24.45 kB / 0.5521 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.4613, allocations: 36.36 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.4617, allocations: 138.3 kB / 0.5522 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.4617, allocations: 0 / 0.5522 GB, free: 10.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4617, allocations: 0 / 0.5522 GB, free: 10.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.4617, allocations: 1.219 kB / 0.5522 GB, free: 10.59 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008521/0.4625, allocations: 366.2 kB / 0.5526 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.4626, allocations: 9.891 kB / 0.5526 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.418e-05/0.4627, allocations: 18.38 kB / 0.5526 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.4632, allocations: 147 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.4632, allocations: 2.562 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.4632, allocations: 10.41 kB / 0.5528 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4635, allocations: 60.62 kB / 0.5528 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4635, allocations: 0 / 0.5528 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.4635, allocations: 1.156 kB / 0.5528 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.4635, allocations: 1.188 kB / 0.5528 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.4636, allocations: 32.19 kB / 0.5529 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.4641, allocations: 267.2 kB / 0.5531 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.4644, allocations: 59.89 kB / 0.5532 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.85e-05/0.4645, allocations: 16.7 kB / 0.5532 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4645, allocations: 1.094 kB / 0.5532 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.4647, allocations: 79.19 kB / 0.5533 GB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.4647, allocations: 0 / 0.5533 GB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008723/0.4656, allocations: 241.8 kB / 0.5535 GB, free: 9.457 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4656, allocations: 57.59 kB / 0.5536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.4659, allocations: 220.6 kB / 0.5538 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.4659, allocations: 30.77 kB / 0.5538 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.466, allocations: 105.9 kB / 0.5539 GB, free: 9.098 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.466, allocations: 36.27 kB / 0.5539 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.43e-05/0.4661, allocations: 30.64 kB / 0.554 GB, free: 9.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4662, allocations: 323.5 kB / 0.5543 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.4663, allocations: 29.89 kB / 0.5543 GB, free: 8.703 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.4664, allocations: 44.2 kB / 0.5543 GB, free: 8.672 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.4666, allocations: 84.8 kB / 0.5544 GB, free: 8.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4666, allocations: 0 / 0.5544 GB, free: 8.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002897/0.4669, allocations: 129.7 kB / 0.5545 GB, free: 8.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4669, allocations: 9.469 kB / 0.5545 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4669, allocations: 1.031 kB / 0.5545 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.4669, allocations: 1.094 kB / 0.5545 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.467, allocations: 21.58 kB / 0.5546 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.467, allocations: 5.922 kB / 0.5546 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.4671, allocations: 10.38 kB / 0.5546 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.4671, allocations: 7.281 kB / 0.5546 GB, free: 8.516 MB / 398.1 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 (13): * Single equations (assignments): 13 * 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 0.0001881/0.4673, allocations: 141.7 kB / 0.5547 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.4673, allocations: 9.078 kB / 0.5547 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.4677, allocations: 144.2 kB / 0.5549 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4677, allocations: 2.156 kB / 0.5549 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.4677, allocations: 3.938 kB / 0.5549 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4677, allocations: 3.984 kB / 0.5549 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.4684, allocations: 419.8 kB / 0.5553 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4684, allocations: 1.594 kB / 0.5553 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/0.4684, allocations: 15.25 kB / 0.5553 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4684, allocations: 2.594 kB / 0.5553 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.4685, allocations: 9.234 kB / 0.5553 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.4685, allocations: 5.156 kB / 0.5553 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4685, allocations: 1.406 kB / 0.5553 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.4688, allocations: 234.5 kB / 0.5555 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.4688, allocations: 12.31 kB / 0.5556 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.4689, allocations: 10.14 kB / 0.5556 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.469, allocations: 2.188 kB / 0.5556 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.469, allocations: 7.891 kB / 0.5556 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.469, allocations: 12.56 kB / 0.5556 GB, free: 7.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000174/0.4692, allocations: 159 kB / 0.5557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4692, allocations: 4.938 kB / 0.5557 GB, free: 7.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.4695, allocations: 32.02 kB / 0.5558 GB, free: 7.527 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002007/0.4715, allocations: 0.5027 MB / 0.5563 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002747/0.4718, allocations: 70.97 kB / 0.5563 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4718, allocations: 4.062 kB / 0.5563 GB, free: 7.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.4719, allocations: 36.98 kB / 0.5564 GB, free: 7.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.4723, allocations: 33.84 kB / 0.5564 GB, free: 7.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.4729, allocations: 267.9 kB / 0.5567 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.4733, allocations: 0.7169 MB / 0.5574 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.387e-05/0.4733, allocations: 16.3 kB / 0.5574 GB, free: 6.297 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.4734, allocations: 20.61 kB / 0.5574 GB, free: 6.285 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4734, allocations: 3.938 kB / 0.5574 GB, free: 6.281 MB / 398.1 MB Notification: Performance of Templates: time 0.006167/0.4795, allocations: 2.024 MB / 0.5594 GB, free: 4.535 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.667881050147116]