Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") [: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.0009552/0.0009555, allocations: 183.1 kB / 7.801 MB, free: 2.141 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.032/1.032, 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.0008478/0.0008478, allocations: 91.86 kB / 261.4 MB, free: 13.62 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.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/6.031e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2334, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3344, allocations: 86.84 MB / 0.5502 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001443/0.3346, allocations: 75.45 kB / 0.5503 GB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01243/0.347, allocations: 4.797 MB / 0.555 GB, free: 7.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.347, allocations: 7.938 kB / 0.555 GB, free: 7.312 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.0003925/0.3474, allocations: 390.1 kB / 0.5553 GB, free: 6.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.3475, allocations: 8.031 kB / 0.5553 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.3475, allocations: 7.906 kB / 0.5554 GB, free: 6.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.3478, allocations: 207.4 kB / 0.5556 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.3478, allocations: 7.906 kB / 0.5556 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.3478, allocations: 0 / 0.5556 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.315e-05/0.3479, allocations: 23.92 kB / 0.5556 GB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.348, allocations: 53.67 kB / 0.5556 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.348, allocations: 0 / 0.5556 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.348, allocations: 4 kB / 0.5556 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-06/0.348, allocations: 0 / 0.5556 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.3483, allocations: 261.4 kB / 0.5559 GB, free: 6.234 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.3484, allocations: 50.69 kB / 0.5559 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.3484, allocations: 20.92 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.764e-06/0.3484, allocations: 4 kB / 0.556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.153e-05/0.3485, allocations: 59.41 kB / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3485, allocations: 0 / 0.556 GB, free: 6.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003184/0.3488, allocations: 125.3 kB / 0.5561 GB, free: 5.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3489, allocations: 55.34 kB / 0.5562 GB, free: 5.883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.349, allocations: 151.4 kB / 0.5563 GB, free: 5.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.349, allocations: 25.7 kB / 0.5564 GB, free: 5.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.379e-05/0.3491, allocations: 100.1 kB / 0.5565 GB, free: 5.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.3491, allocations: 19.72 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/0.3491, allocations: 0 / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.3492, allocations: 318.8 kB / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.3492, allocations: 20 kB / 0.5568 GB, free: 5.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.17e-05/0.3493, allocations: 33.7 kB / 0.5568 GB, free: 5.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.855e-05/0.3493, allocations: 23.98 kB / 0.5569 GB, free: 5.168 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3493, allocations: 4 kB / 0.5569 GB, free: 5.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001331/0.3495, allocations: 97.48 kB / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.3495, allocations: 8 kB / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-06/0.3495, allocations: 192 / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/0.3495, allocations: 0 / 0.557 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.3496, allocations: 15.94 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3496, allocations: 7.984 kB / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.3496, allocations: 192 / 0.557 GB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3497, allocations: 4 kB / 0.557 GB, free: 5.027 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 6.124e-05/0.3497, allocations: 116.4 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.3498, allocations: 19.84 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.3499, allocations: 94.16 kB / 0.5572 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3499, allocations: 4 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3499, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3499, allocations: 0 / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003113/0.3503, allocations: 359.8 kB / 0.5575 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3503, allocations: 8.016 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.935e-05/0.3503, allocations: 8 kB / 0.5576 GB, free: 4.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.3503, allocations: 7.906 kB / 0.5576 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3503, allocations: 7.938 kB / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3504, allocations: 0 / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3504, allocations: 3.984 kB / 0.5576 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000155/0.3505, allocations: 201.9 kB / 0.5578 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.3506, allocations: 89 kB / 0.5579 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.3506, allocations: 3.938 kB / 0.5579 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.3507, allocations: 4 kB / 0.5579 GB, free: 4.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.3507, allocations: 7.984 kB / 0.5579 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3507, allocations: 7.938 kB / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.848e-05/0.3508, allocations: 124.5 kB / 0.558 GB, free: 3.875 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002354/0.351, allocations: 39.83 kB / 0.558 GB, free: 3.836 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.0005758/0.3516, allocations: 347.4 kB / 0.5584 GB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.3517, allocations: 51.94 kB / 0.5584 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.3518, allocations: 0 / 0.5584 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.3518, allocations: 31.92 kB / 0.5585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.352, allocations: 27.97 kB / 0.5585 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.3523, allocations: 136.7 kB / 0.5586 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.3526, allocations: 0.7188 MB / 0.5593 GB, free: 2.523 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3526, allocations: 0 / 0.5593 GB, free: 2.523 MB / 394.7 MB Notification: Performance of Templates: time 0.003255/0.3559, allocations: 1.588 MB / 0.5609 GB, free: 0.9453 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches