Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 183 kB / 13.19 MB, free: 2.129 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.375/1.375, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008789/0.0008788, allocations: 86.61 kB / 267 MB, free: 9.281 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.3358/0.3358, allocations: 43.47 MB / 358.6 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.084e-05, allocations: 4 kB / 425.3 MB, free: 8.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 58.85 MB / 484.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3194/0.4318, allocations: 87.72 MB / 0.5585 GB, free: 1.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4321, allocations: 77.23 kB / 0.5586 GB, free: 1.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01907/0.4512, allocations: 7.502 MB / 0.5659 GB, free: 9.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4512, allocations: 0 / 0.5659 GB, free: 9.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.4512, allocations: 4 kB / 0.5659 GB, free: 9.715 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005268/0.4518, allocations: 484.1 kB / 0.5664 GB, free: 9.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4518, allocations: 8.031 kB / 0.5664 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.4519, allocations: 27.16 kB / 0.5664 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.4523, allocations: 270.5 kB / 0.5666 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4523, allocations: 4 kB / 0.5667 GB, free: 8.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.4524, allocations: 11.92 kB / 0.5667 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4525, allocations: 91.38 kB / 0.5667 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4526, allocations: 4 kB / 0.5668 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4526, allocations: 5.375 kB / 0.5668 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4526, allocations: 0 / 0.5668 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.714e-05/0.4527, allocations: 43.97 kB / 0.5668 GB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.4533, allocations: 460.8 kB / 0.5672 GB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.4535, allocations: 113.4 kB / 0.5673 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.4535, allocations: 41.84 kB / 0.5674 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4536, allocations: 3.984 kB / 0.5674 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.4538, allocations: 117 kB / 0.5675 GB, free: 7.879 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.253e-06/0.4538, allocations: 0 / 0.5675 GB, free: 7.879 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006802/0.4544, allocations: 320.1 kB / 0.5678 GB, free: 7.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.4545, allocations: 85.09 kB / 0.5679 GB, free: 7.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.4549, allocations: 315.4 kB / 0.5682 GB, free: 7.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.4549, allocations: 29.7 kB / 0.5682 GB, free: 7.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.455, allocations: 144.3 kB / 0.5684 GB, free: 6.965 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.455, allocations: 55.3 kB / 0.5684 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.455, allocations: 3.938 kB / 0.5684 GB, free: 6.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4552, allocations: 338.8 kB / 0.5687 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.438e-05/0.4553, allocations: 37.59 kB / 0.5688 GB, free: 6.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.015e-05/0.4553, allocations: 67.42 kB / 0.5688 GB, free: 6.453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.664e-05/0.4554, allocations: 47.97 kB / 0.5689 GB, free: 6.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4554, allocations: 4 kB / 0.5689 GB, free: 6.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002482/0.4557, allocations: 173.3 kB / 0.5691 GB, free: 6.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4557, allocations: 4 kB / 0.5691 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4557, allocations: 4 kB / 0.5691 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.4557, allocations: 0 / 0.5691 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.4559, allocations: 35.92 kB / 0.5691 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4559, allocations: 4.297 kB / 0.5691 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.371e-05/0.456, allocations: 8 kB / 0.5691 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.456, allocations: 12.06 kB / 0.5691 GB, free: 6.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.825e-05/0.4561, allocations: 116.9 kB / 0.5692 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.4561, allocations: 27.67 kB / 0.5693 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.4565, allocations: 213.3 kB / 0.5695 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4565, allocations: 4 kB / 0.5695 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4565, allocations: 0 / 0.5695 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4565, allocations: 0 / 0.5695 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/0.4573, allocations: 0.6554 MB / 0.5701 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4573, allocations: 3.938 kB / 0.5701 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.4573, allocations: 19.98 kB / 0.5701 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4574, allocations: 4 kB / 0.5701 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4574, allocations: 8.375 kB / 0.5701 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4574, allocations: 0 / 0.5701 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4574, allocations: 3.984 kB / 0.5701 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.4577, allocations: 410.8 kB / 0.5705 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4579, allocations: 124.7 kB / 0.5707 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.4579, allocations: 8.188 kB / 0.5707 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.458, allocations: 8 kB / 0.5707 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.4581, allocations: 19.88 kB / 0.5707 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.4581, allocations: 11.98 kB / 0.5707 GB, free: 4.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.4584, allocations: 255.1 kB / 0.5709 GB, free: 4.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4584, allocations: 4 kB / 0.5709 GB, free: 4.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.4587, allocations: 51.92 kB / 0.571 GB, free: 4.102 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008954/0.4596, allocations: 429.6 kB / 0.5714 GB, free: 3.758 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.4598, allocations: 112.1 kB / 0.5715 GB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4598, allocations: 7.938 kB / 0.5715 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4599, allocations: 67.98 kB / 0.5716 GB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.4603, allocations: 45.88 kB / 0.5716 GB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.4609, allocations: 351.5 kB / 0.572 GB, free: 3.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4612, allocations: 0.7637 MB / 0.5727 GB, free: 2.367 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.835e-05/0.4613, allocations: 34 kB / 0.5727 GB, free: 2.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.4614, allocations: 27.44 kB / 0.5728 GB, free: 2.309 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4614, allocations: 0 / 0.5728 GB, free: 2.309 MB / 394.7 MB Notification: Performance of Templates: time 0.00553/0.4669, allocations: 2.799 MB / 0.5755 GB, free: 15.53 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches