Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") [: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.0009311/0.0009311, allocations: 184.2 kB / 7.806 MB, free: 1.203 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.035/1.035, allocations: 205.2 MB / 213.4 MB, free: 8.578 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007879/0.000788, allocations: 86.11 kB / 261.4 MB, free: 5.113 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1538/0.1538, allocations: 43.49 MB / 352.9 MB, free: 11.35 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.574e-06, allocations: 4 kB / 417.7 MB, free: 68.19 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08285/0.08287, allocations: 58.84 MB / 476.6 MB, free: 9.297 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2597/0.3426, allocations: 86.88 MB / 0.5502 GB, free: 9.605 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.3428, allocations: 79.14 kB / 0.5503 GB, free: 9.566 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.01313/0.3559, allocations: 5.175 MB / 0.5554 GB, free: 5.301 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.356, allocations: 4 kB / 0.5554 GB, free: 5.297 MB / 370.8 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.0003508/0.3563, allocations: 409 kB / 0.5558 GB, free: 4.859 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3564, allocations: 8.031 kB / 0.5558 GB, free: 4.852 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3564, allocations: 15.81 kB / 0.5558 GB, free: 4.836 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.3567, allocations: 218.5 kB / 0.556 GB, free: 4.59 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.3567, allocations: 3.938 kB / 0.556 GB, free: 4.586 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3567, allocations: 0 / 0.556 GB, free: 4.586 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.65e-05/0.3568, allocations: 26.67 kB / 0.556 GB, free: 4.566 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.738e-05/0.3569, allocations: 49.12 kB / 0.5561 GB, free: 4.52 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3569, allocations: 0 / 0.5561 GB, free: 4.52 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3569, allocations: 3.984 kB / 0.5561 GB, free: 4.516 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3569, allocations: 0 / 0.5561 GB, free: 4.516 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.3572, allocations: 282.1 kB / 0.5563 GB, free: 4.223 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.352e-05/0.3573, allocations: 49.98 kB / 0.5564 GB, free: 4.172 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.3574, allocations: 23.11 kB / 0.5564 GB, free: 4.152 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.3574, allocations: 0 / 0.5564 GB, free: 4.152 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/0.3575, allocations: 62.45 kB / 0.5565 GB, free: 4.086 MB / 370.8 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.3575, allocations: 4 kB / 0.5565 GB, free: 4.082 MB / 370.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003381/0.3578, allocations: 130 kB / 0.5566 GB, free: 3.969 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.3578, allocations: 55.41 kB / 0.5567 GB, free: 3.902 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.358, allocations: 203.8 kB / 0.5569 GB, free: 3.723 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.358, allocations: 25.7 kB / 0.5569 GB, free: 3.691 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.3581, allocations: 95.47 kB / 0.557 GB, free: 3.598 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.3581, allocations: 23.53 kB / 0.557 GB, free: 3.578 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.3581, allocations: 0 / 0.557 GB, free: 3.578 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.3582, allocations: 329.5 kB / 0.5573 GB, free: 3.254 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.394e-05/0.3582, allocations: 23.11 kB / 0.5573 GB, free: 3.238 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.938e-05/0.3583, allocations: 29.41 kB / 0.5574 GB, free: 3.211 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.3583, allocations: 23.36 kB / 0.5574 GB, free: 3.195 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3583, allocations: 0 / 0.5574 GB, free: 3.195 MB / 370.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001321/0.3585, allocations: 95.31 kB / 0.5575 GB, free: 3.109 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.3585, allocations: 4 kB / 0.5575 GB, free: 3.105 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.3585, allocations: 192 / 0.5575 GB, free: 3.105 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.3585, allocations: 4.031 kB / 0.5575 GB, free: 3.102 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.3586, allocations: 23.92 kB / 0.5575 GB, free: 3.078 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.3586, allocations: 0 / 0.5575 GB, free: 3.078 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.3587, allocations: 4 kB / 0.5575 GB, free: 3.074 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3587, allocations: 0 / 0.5575 GB, free: 3.074 MB / 370.8 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.672e-05/0.3588, allocations: 112.2 kB / 0.5576 GB, free: 2.965 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.097e-05/0.3588, allocations: 11.81 kB / 0.5576 GB, free: 2.953 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.359, allocations: 107.6 kB / 0.5577 GB, free: 2.859 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.359, allocations: 11.84 kB / 0.5577 GB, free: 2.848 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.359, allocations: 0 / 0.5577 GB, free: 2.848 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.359, allocations: 192 / 0.5577 GB, free: 2.848 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.3593, allocations: 388.1 kB / 0.5581 GB, free: 2.457 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3593, allocations: 0 / 0.5581 GB, free: 2.457 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.3594, allocations: 15.86 kB / 0.5581 GB, free: 2.445 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3594, allocations: 4 kB / 0.5581 GB, free: 2.441 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.3594, allocations: 0 / 0.5581 GB, free: 2.441 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3594, allocations: 3.969 kB / 0.5581 GB, free: 2.438 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3594, allocations: 4 kB / 0.5581 GB, free: 2.434 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001523/0.3596, allocations: 200.2 kB / 0.5583 GB, free: 2.227 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.3596, allocations: 99.59 kB / 0.5584 GB, free: 2.113 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3597, allocations: 4 kB / 0.5584 GB, free: 2.109 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.3597, allocations: 0 / 0.5584 GB, free: 2.109 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.3598, allocations: 18.8 kB / 0.5584 GB, free: 2.094 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3598, allocations: 4 kB / 0.5584 GB, free: 2.09 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001047/0.3599, allocations: 158.6 kB / 0.5586 GB, free: 1.961 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0002388/0.3602, allocations: 35.83 kB / 0.5586 GB, free: 1.926 MB / 370.8 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.0005796/0.3607, allocations: 349.9 kB / 0.559 GB, free: 1.637 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.000109/0.3609, allocations: 50.25 kB / 0.559 GB, free: 1.602 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.3609, allocations: 0 / 0.559 GB, free: 1.602 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.3609, allocations: 36.8 kB / 0.559 GB, free: 1.574 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.3612, allocations: 22.27 kB / 0.5591 GB, free: 1.555 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.3615, allocations: 183.8 kB / 0.5592 GB, free: 1.363 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.3618, allocations: 0.7382 MB / 0.56 GB, free: 0.6016 MB / 370.8 MB Notification: Performance of SimCode: time 2.41e-07/0.3618, allocations: 0 / 0.56 GB, free: 0.6016 MB / 370.8 MB Notification: Performance of Templates: time 0.003562/0.3653, allocations: 1.698 MB / 0.5616 GB, free: 14.93 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches