Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19") [: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.00085/0.0008501, allocations: 191.5 kB / 7.807 MB, free: 2.488 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.075/1.075, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008525/0.0008526, allocations: 80.78 kB / 261.4 MB, free: 13.56 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.1528/0.1528, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.542e-06/6.733e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2364, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3442, allocations: 85.87 MB / 0.5492 GB, free: 13.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.3444, allocations: 67.97 kB / 0.5493 GB, free: 13.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0144/0.3589, allocations: 5.777 MB / 0.5549 GB, free: 7.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.3589, allocations: 4 kB / 0.5549 GB, free: 7.246 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000326/0.3592, allocations: 398.3 kB / 0.5553 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3593, allocations: 8.031 kB / 0.5553 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3593, allocations: 7.906 kB / 0.5553 GB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.3595, allocations: 187 kB / 0.5555 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.3595, allocations: 0 / 0.5555 GB, free: 6.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.3595, allocations: 4 kB / 0.5555 GB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.983e-05/0.3596, allocations: 15.89 kB / 0.5555 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.691e-05/0.3597, allocations: 51.42 kB / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.3597, allocations: 0 / 0.5556 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3597, allocations: 3.938 kB / 0.5556 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3597, allocations: 0 / 0.5556 GB, free: 6.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.36, allocations: 253.4 kB / 0.5558 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3601, allocations: 29.7 kB / 0.5559 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.3602, allocations: 12.86 kB / 0.5559 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.3602, allocations: 7.984 kB / 0.5559 GB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.3602, allocations: 30.56 kB / 0.5559 GB, free: 6.105 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.3602, allocations: 4 kB / 0.5559 GB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003164/0.3605, allocations: 97.42 kB / 0.556 GB, free: 6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3606, allocations: 77.11 kB / 0.5561 GB, free: 5.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.821e-05/0.3607, allocations: 125 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3607, allocations: 25.7 kB / 0.5562 GB, free: 5.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.3607, allocations: 84.12 kB / 0.5563 GB, free: 5.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3608, allocations: 23.75 kB / 0.5563 GB, free: 5.637 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.3608, allocations: 0 / 0.5563 GB, free: 5.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.3608, allocations: 322.8 kB / 0.5566 GB, free: 5.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.3609, allocations: 4 kB / 0.5566 GB, free: 5.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.3609, allocations: 17.72 kB / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.505e-05/0.3609, allocations: 12 kB / 0.5567 GB, free: 5.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3609, allocations: 3.906 kB / 0.5567 GB, free: 5.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.307e-05/0.361, allocations: 57.62 kB / 0.5567 GB, free: 5.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.361, allocations: 15.97 kB / 0.5567 GB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3611, allocations: 4.156 kB / 0.5567 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.3611, allocations: 3.938 kB / 0.5567 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.3611, allocations: 19.98 kB / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.3611, allocations: 0 / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.3612, allocations: 4 kB / 0.5568 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3612, allocations: 4.141 kB / 0.5568 GB, free: 5.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.245e-05/0.3613, allocations: 106.4 kB / 0.5569 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.3613, allocations: 11.89 kB / 0.5569 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.3614, allocations: 73.67 kB / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3614, allocations: 0 / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3614, allocations: 0 / 0.557 GB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3615, allocations: 3.906 kB / 0.557 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3617, allocations: 295.2 kB / 0.5572 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3617, allocations: 4 kB / 0.5572 GB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/0.3618, allocations: 15.98 kB / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3618, allocations: 0 / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3618, allocations: 0 / 0.5573 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3618, allocations: 7.844 kB / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3618, allocations: 3.984 kB / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000108/0.3619, allocations: 159.5 kB / 0.5574 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.362, allocations: 85.02 kB / 0.5575 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.362, allocations: 3.984 kB / 0.5575 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.49e-05/0.3621, allocations: 4 kB / 0.5575 GB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.3621, allocations: 4 kB / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3621, allocations: 192 / 0.5575 GB, free: 4.301 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.622e-05/0.3622, allocations: 107.3 kB / 0.5576 GB, free: 4.195 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002418/0.3624, allocations: 27.98 kB / 0.5576 GB, free: 4.168 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005774/0.363, allocations: 345.4 kB / 0.558 GB, free: 3.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.905e-05/0.3631, allocations: 28 kB / 0.558 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.3631, allocations: 0 / 0.558 GB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.3631, allocations: 16 kB / 0.558 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001754/0.3633, allocations: 23.75 kB / 0.558 GB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000221/0.3636, allocations: 87.77 kB / 0.5581 GB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.3638, allocations: 0.7114 MB / 0.5588 GB, free: 2.945 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3638, allocations: 0 / 0.5588 GB, free: 2.945 MB / 394.7 MB Notification: Performance of Templates: time 0.003002/0.3668, allocations: 1.317 MB / 0.5601 GB, free: 1.637 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches