Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009747/0.0009742, allocations: 172.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007731/0.0007729, allocations: 81.42 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4166/0.4166, allocations: 43.56 MB / 363.1 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 16 kB / 432.6 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.56, allocations: 87.72 MB / 0.5656 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5603, allocations: 77.81 kB / 0.5657 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.5755, allocations: 5.275 MB / 0.5709 GB, free: 8.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.398e-06/0.5756, allocations: 0 / 0.5709 GB, free: 8.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.5756, allocations: 3.938 kB / 0.5709 GB, free: 8.965 MB / 394.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.000571/0.5762, allocations: 418 kB / 0.5713 GB, free: 8.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5762, allocations: 12.03 kB / 0.5713 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.5763, allocations: 12.84 kB / 0.5713 GB, free: 8.484 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.5766, allocations: 215.1 kB / 0.5715 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.5767, allocations: 5 kB / 0.5715 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.5767, allocations: 7.281 kB / 0.5715 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.5768, allocations: 62.11 kB / 0.5716 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5769, allocations: 192 / 0.5716 GB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.5769, allocations: 11.94 kB / 0.5716 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5769, allocations: 0 / 0.5716 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.577, allocations: 23.98 kB / 0.5716 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.5774, allocations: 292.9 kB / 0.5719 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.5776, allocations: 62.56 kB / 0.5719 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.5776, allocations: 24.84 kB / 0.572 GB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.5777, allocations: 4 kB / 0.572 GB, free: 7.691 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001457/0.5778, allocations: 63.39 kB / 0.572 GB, free: 7.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.5778, allocations: 0 / 0.572 GB, free: 7.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005754/0.5784, allocations: 181.2 kB / 0.5722 GB, free: 7.434 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.5784, allocations: 51.41 kB / 0.5722 GB, free: 7.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.5787, allocations: 182.2 kB / 0.5724 GB, free: 7.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.5787, allocations: 25.7 kB / 0.5724 GB, free: 7.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.5787, allocations: 104.1 kB / 0.5725 GB, free: 7.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.5788, allocations: 23.64 kB / 0.5726 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.5788, allocations: 8 kB / 0.5726 GB, free: 7.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.5789, allocations: 322.8 kB / 0.5729 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.579, allocations: 23.98 kB / 0.5729 GB, free: 6.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.5791, allocations: 41.64 kB / 0.5729 GB, free: 6.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.5792, allocations: 69.75 kB / 0.573 GB, free: 6.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5792, allocations: 0 / 0.573 GB, free: 6.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.5794, allocations: 101.4 kB / 0.5731 GB, free: 6.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5794, allocations: 5.031 kB / 0.5731 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.5795, allocations: 0 / 0.5731 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5795, allocations: 4 kB / 0.5731 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.5796, allocations: 15.98 kB / 0.5731 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.5796, allocations: 0 / 0.5731 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.5796, allocations: 8 kB / 0.5731 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.5797, allocations: 4.031 kB / 0.5731 GB, free: 6.406 MB / 394.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.5798, allocations: 136.7 kB / 0.5733 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.5798, allocations: 7.906 kB / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.58, allocations: 122.4 kB / 0.5734 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5801, allocations: 0 / 0.5734 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5801, allocations: 0 / 0.5734 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5801, allocations: 7.922 kB / 0.5734 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004765/0.5806, allocations: 415.2 kB / 0.5738 GB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5806, allocations: 4 kB / 0.5738 GB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.5806, allocations: 8 kB / 0.5738 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5806, allocations: 0 / 0.5738 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.5807, allocations: 12.36 kB / 0.5738 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5807, allocations: 0 / 0.5738 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5807, allocations: 7.938 kB / 0.5738 GB, free: 5.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.5809, allocations: 216.2 kB / 0.574 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.581, allocations: 85.02 kB / 0.5741 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.581, allocations: 11.98 kB / 0.5741 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.5811, allocations: 0 / 0.5741 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.5812, allocations: 11.92 kB / 0.5741 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.5812, allocations: 4 kB / 0.5741 GB, free: 5.266 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.5813, allocations: 140.8 kB / 0.5743 GB, free: 5.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5813, allocations: 4 kB / 0.5743 GB, free: 5.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002793/0.5816, allocations: 39.92 kB / 0.5743 GB, free: 5.086 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.5826, allocations: 477.8 kB / 0.5748 GB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.5828, allocations: 63.95 kB / 0.5748 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5828, allocations: 0 / 0.5748 GB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.413e-05/0.5829, allocations: 35.92 kB / 0.5749 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.5833, allocations: 23.98 kB / 0.5749 GB, free: 4.59 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004687/0.5838, allocations: 248.9 kB / 0.5751 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5841, allocations: 0.7121 MB / 0.5758 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.5841, allocations: 12.55 kB / 0.5758 GB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.5842, allocations: 19.44 kB / 0.5759 GB, free: 3.551 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5842, allocations: 0 / 0.5759 GB, free: 3.551 MB / 394.7 MB Notification: Performance of Templates: time 0.004419/0.5886, allocations: 1.696 MB / 0.5775 GB, free: 1.871 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches