Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.001331/0.001331, allocations: 104.8 kB / 21.22 MB, free: 0.5078 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.001364/0.001364, allocations: 186.6 kB / 24.52 MB, free: 3.891 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.524/1.524, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.262/0.262, allocations: 44.91 MB / 353.5 MB, free: 11.79 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002254/0.002254, allocations: 63.89 kB / 497.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.4709, allocations: 64.29 MB / 0.5489 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003963/0.4749, allocations: 1.725 MB / 0.5506 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003379/0.4783, allocations: 1.593 MB / 0.5521 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.4784, allocations: 1.031 kB / 0.5521 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004521/0.4789, allocations: 40.95 kB / 0.5522 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.4792, allocations: 54.27 kB / 0.5522 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.4796, allocations: 119.9 kB / 0.5523 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.4798, allocations: 93.55 kB / 0.5524 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.4799, allocations: 16.77 kB / 0.5524 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.48, allocations: 44.31 kB / 0.5525 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.4802, allocations: 41.91 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.4803, allocations: 4.469 kB / 0.5525 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.4804, allocations: 63.91 kB / 0.5526 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.4805, allocations: 20.42 kB / 0.5526 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.324e-05/0.4805, allocations: 27.48 kB / 0.5526 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.4808, allocations: 126.5 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4808, allocations: 0 / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4808, allocations: 0 / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.4808, allocations: 1.125 kB / 0.5528 GB, free: 10.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006359/0.4815, allocations: 337.7 kB / 0.5531 GB, free: 9.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4815, allocations: 9.922 kB / 0.5531 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.524e-05/0.4815, allocations: 20.27 kB / 0.5531 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003176/0.4819, allocations: 143.7 kB / 0.5532 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4819, allocations: 2.688 kB / 0.5532 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.4819, allocations: 6.219 kB / 0.5532 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.4821, allocations: 69.73 kB / 0.5533 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4821, allocations: 0 / 0.5533 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4821, allocations: 1.25 kB / 0.5533 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4821, allocations: 5.109 kB / 0.5533 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.4822, allocations: 17.81 kB / 0.5533 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.4826, allocations: 259.8 kB / 0.5536 GB, free: 9.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.4828, allocations: 51.52 kB / 0.5536 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.4829, allocations: 20.41 kB / 0.5537 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.4829, allocations: 5.156 kB / 0.5537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.483, allocations: 65.58 kB / 0.5537 GB, free: 9.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.483, allocations: 3.938 kB / 0.5537 GB, free: 9.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005604/0.4836, allocations: 169.6 kB / 0.5539 GB, free: 9.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.4837, allocations: 82.31 kB / 0.554 GB, free: 8.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4838, allocations: 150.8 kB / 0.5541 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4839, allocations: 26.89 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.248e-05/0.4839, allocations: 103.5 kB / 0.5542 GB, free: 8.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.484, allocations: 19.7 kB / 0.5543 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.484, allocations: 29.61 kB / 0.5543 GB, free: 8.617 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.4842, allocations: 325 kB / 0.5546 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.463e-05/0.4843, allocations: 19.16 kB / 0.5546 GB, free: 8.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.4843, allocations: 41.53 kB / 0.5546 GB, free: 8.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.4845, allocations: 66.45 kB / 0.5547 GB, free: 8.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4845, allocations: 3.938 kB / 0.5547 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.4847, allocations: 99.5 kB / 0.5548 GB, free: 8.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.4847, allocations: 9.328 kB / 0.5548 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4847, allocations: 0 / 0.5548 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.4847, allocations: 2.094 kB / 0.5548 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.4848, allocations: 16.72 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.4848, allocations: 1.188 kB / 0.5548 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.4849, allocations: 14.67 kB / 0.5549 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.4849, allocations: 3.031 kB / 0.5549 GB, free: 8.117 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 (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 0.0001212/0.485, allocations: 123.7 kB / 0.555 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.485, allocations: 13.5 kB / 0.555 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.4853, allocations: 113.4 kB / 0.5551 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4853, allocations: 5 kB / 0.5551 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4853, allocations: 0 / 0.5551 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4853, allocations: 3.938 kB / 0.5551 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.4858, allocations: 366.2 kB / 0.5555 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4858, allocations: 1.125 kB / 0.5555 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.4859, allocations: 12.14 kB / 0.5555 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4859, allocations: 0 / 0.5555 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4859, allocations: 6.125 kB / 0.5555 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4859, allocations: 1.219 kB / 0.5555 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4859, allocations: 0 / 0.5555 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4862, allocations: 200.7 kB / 0.5557 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.4862, allocations: 7.234 kB / 0.5557 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.4862, allocations: 13.09 kB / 0.5557 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.642e-05/0.4863, allocations: 10.56 kB / 0.5557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.4863, allocations: 2.469 kB / 0.5557 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.4863, allocations: 7.953 kB / 0.5557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4865, allocations: 117.8 kB / 0.5558 GB, free: 7.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4865, allocations: 4 kB / 0.5558 GB, free: 7.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.4867, allocations: 32.77 kB / 0.5558 GB, free: 7.23 MB / 398.1 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 (8): * Single equations (assignments): 6 * 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.001857/0.4886, allocations: 0.4932 MB / 0.5563 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.4888, allocations: 57.09 kB / 0.5564 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4888, allocations: 0 / 0.5564 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.4889, allocations: 28.14 kB / 0.5564 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.4893, allocations: 26.73 kB / 0.5564 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.4898, allocations: 208.2 kB / 0.5566 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4901, allocations: 0.6929 MB / 0.5573 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.772e-05/0.4902, allocations: 20.14 kB / 0.5573 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.4903, allocations: 23.27 kB / 0.5574 GB, free: 6.035 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4903, allocations: 1.156 kB / 0.5574 GB, free: 6.035 MB / 398.1 MB Notification: Performance of Templates: time 0.005928/0.4962, allocations: 1.999 MB / 0.5593 GB, free: 4.539 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test57.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.601843980140984]