Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [: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.0009001/0.0009002, allocations: 188.1 kB / 7.804 MB, free: 2.48 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.017/1.017, 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.0008529/0.0008529, allocations: 92.14 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.1534/0.1534, allocations: 43.49 MB / 352.8 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.344e-06/7.364e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2182, allocations: 58.84 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.3217, allocations: 87.87 MB / 0.5512 GB, free: 11.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/0.3219, allocations: 79.45 kB / 0.5513 GB, free: 11.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01021/0.3321, allocations: 3.84 MB / 0.555 GB, free: 7.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.3321, allocations: 8 kB / 0.5551 GB, free: 7.219 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004495/0.3326, allocations: 463.8 kB / 0.5555 GB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3326, allocations: 8.031 kB / 0.5555 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.3327, allocations: 15.81 kB / 0.5555 GB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.333, allocations: 230.7 kB / 0.5557 GB, free: 6.426 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.333, allocations: 8 kB / 0.5557 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.333, allocations: 11.89 kB / 0.5558 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.424e-05/0.3331, allocations: 32 kB / 0.5558 GB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.3332, allocations: 88.23 kB / 0.5559 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3333, allocations: 3.938 kB / 0.5559 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3333, allocations: 4 kB / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3333, allocations: 0 / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.3338, allocations: 497.5 kB / 0.5564 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.334, allocations: 78.61 kB / 0.5564 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.3341, allocations: 28.86 kB / 0.5565 GB, free: 5.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.3341, allocations: 4 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.367e-05/0.3342, allocations: 71.39 kB / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.3342, allocations: 0 / 0.5565 GB, free: 5.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001965/0.3344, allocations: 97.36 kB / 0.5566 GB, free: 5.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.3344, allocations: 55.41 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3346, allocations: 170.7 kB / 0.5568 GB, free: 5.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.3346, allocations: 25.7 kB / 0.5569 GB, free: 5.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/0.3346, allocations: 99.94 kB / 0.557 GB, free: 5.047 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.3347, allocations: 27.64 kB / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/0.3347, allocations: 0 / 0.557 GB, free: 5.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.3348, allocations: 326.8 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-05/0.3348, allocations: 20 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.3349, allocations: 60.22 kB / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.086e-05/0.3349, allocations: 31.92 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3349, allocations: 0 / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001683/0.3351, allocations: 117.4 kB / 0.5575 GB, free: 4.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.3351, allocations: 8 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3351, allocations: 0 / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3352, allocations: 7.906 kB / 0.5575 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.3353, allocations: 19.98 kB / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.3353, allocations: 4 kB / 0.5575 GB, free: 4.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.3354, allocations: 7.938 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3354, allocations: 12 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.343e-05/0.3355, allocations: 113 kB / 0.5577 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3355, allocations: 15.81 kB / 0.5577 GB, free: 4.254 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3357, allocations: 111.1 kB / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3357, allocations: 0 / 0.5578 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3357, allocations: 3.984 kB / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3357, allocations: 0 / 0.5578 GB, free: 4.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.3359, allocations: 194.2 kB / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3359, allocations: 0 / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.336, allocations: 16 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.336, allocations: 0 / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.336, allocations: 3.984 kB / 0.558 GB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.336, allocations: 4 kB / 0.558 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.336, allocations: 0 / 0.558 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002093/0.3362, allocations: 156.9 kB / 0.5582 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3363, allocations: 92.91 kB / 0.5582 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3363, allocations: 0 / 0.5582 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.3364, allocations: 12.06 kB / 0.5583 GB, free: 3.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.3364, allocations: 11.98 kB / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.3364, allocations: 0 / 0.5583 GB, free: 3.578 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.968e-05/0.3365, allocations: 132.1 kB / 0.5584 GB, free: 3.449 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002158/0.3367, allocations: 39.97 kB / 0.5584 GB, free: 3.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0005537/0.3373, allocations: 323.3 kB / 0.5587 GB, free: 3.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.3374, allocations: 67.92 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3375, allocations: 0 / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.147e-05/0.3375, allocations: 31.94 kB / 0.5588 GB, free: 3.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.3378, allocations: 43.22 kB / 0.5589 GB, free: 2.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3381, allocations: 175.7 kB / 0.559 GB, free: 2.789 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.3384, allocations: 0.7394 MB / 0.5598 GB, free: 2.023 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3384, allocations: 0 / 0.5598 GB, free: 2.023 MB / 394.7 MB Notification: Performance of Templates: time 0.003838/0.3423, allocations: 1.776 MB / 0.5615 GB, free: 260 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches