Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,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.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 187 kB / 7.801 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.067/1.067, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007606/0.0007603, allocations: 91.73 kB / 261.4 MB, free: 13.61 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.1549/0.1549, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.105e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2322, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3374, allocations: 86.87 MB / 0.5502 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.3376, allocations: 75.47 kB / 0.5503 GB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01313/0.3507, allocations: 5.189 MB / 0.5554 GB, free: 6.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3508, allocations: 4 kB / 0.5554 GB, free: 6.887 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.0003444/0.3511, allocations: 402 kB / 0.5558 GB, free: 6.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3512, allocations: 8.031 kB / 0.5558 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.3512, allocations: 19.8 kB / 0.5558 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3515, allocations: 214.8 kB / 0.556 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.3515, allocations: 3.984 kB / 0.556 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.3515, allocations: 12 kB / 0.556 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.249e-05/0.3516, allocations: 15.94 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.473e-05/0.3517, allocations: 49.67 kB / 0.5561 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.3517, allocations: 0 / 0.5561 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3517, allocations: 0 / 0.5561 GB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3517, allocations: 4 kB / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.352, allocations: 277.4 kB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.639e-05/0.3521, allocations: 50.64 kB / 0.5564 GB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.3522, allocations: 20.97 kB / 0.5564 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.3522, allocations: 0 / 0.5564 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.291e-05/0.3522, allocations: 59.41 kB / 0.5565 GB, free: 5.621 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3523, allocations: 3.938 kB / 0.5565 GB, free: 5.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003465/0.3526, allocations: 137.1 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.3526, allocations: 59.39 kB / 0.5567 GB, free: 5.406 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3528, allocations: 201.9 kB / 0.5569 GB, free: 5.199 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.3528, allocations: 25.7 kB / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.3529, allocations: 96.03 kB / 0.557 GB, free: 5.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3529, allocations: 27.64 kB / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.3529, allocations: 0 / 0.557 GB, free: 5.043 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.353, allocations: 322.8 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.038e-05/0.3531, allocations: 20 kB / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.578e-05/0.3531, allocations: 33.72 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.126e-05/0.3532, allocations: 23.98 kB / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.3532, allocations: 0 / 0.5574 GB, free: 4.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001303/0.3533, allocations: 97.5 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.3533, allocations: 7.984 kB / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.3533, allocations: 0 / 0.5575 GB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3533, allocations: 4 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.716e-05/0.3534, allocations: 12.19 kB / 0.5575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.3534, allocations: 4.031 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.672e-05/0.3535, allocations: 8.125 kB / 0.5575 GB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3535, allocations: 3.984 kB / 0.5575 GB, free: 4.496 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 () * 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 5.909e-05/0.3536, allocations: 116.4 kB / 0.5576 GB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.3536, allocations: 15.81 kB / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.3538, allocations: 103.1 kB / 0.5577 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3538, allocations: 3.906 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3538, allocations: 0 / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3538, allocations: 7.938 kB / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3541, allocations: 375.8 kB / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3541, allocations: 0 / 0.5581 GB, free: 3.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.204e-05/0.3542, allocations: 15.94 kB / 0.5581 GB, free: 3.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3542, allocations: 4 kB / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.3542, allocations: 0 / 0.5581 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3542, allocations: 3.984 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3542, allocations: 0 / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001541/0.3544, allocations: 205.9 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.3545, allocations: 96.91 kB / 0.5584 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.3545, allocations: 7.938 kB / 0.5584 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.15e-05/0.3546, allocations: 11.97 kB / 0.5584 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.3546, allocations: 4 kB / 0.5584 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.3546, allocations: 8 kB / 0.5584 GB, free: 3.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001138/0.3547, allocations: 159.2 kB / 0.5586 GB, free: 3.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.355, allocations: 35.84 kB / 0.5586 GB, free: 3.246 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) * 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.0006286/0.3556, allocations: 350.4 kB / 0.559 GB, free: 2.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.3558, allocations: 55.92 kB / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3558, allocations: 0 / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.685e-05/0.3558, allocations: 31.94 kB / 0.559 GB, free: 2.852 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.3561, allocations: 24.03 kB / 0.5591 GB, free: 2.824 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.3565, allocations: 184.9 kB / 0.5592 GB, free: 2.613 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.3569, allocations: 0.7388 MB / 0.56 GB, free: 1.848 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3569, allocations: 0 / 0.56 GB, free: 1.848 MB / 394.7 MB Notification: Performance of Templates: time 0.004065/0.361, allocations: 1.684 MB / 0.5616 GB, free: 180 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches