Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.Test3") [: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.0008998/0.0008998, allocations: 192 kB / 7.806 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.09/1.09, 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.0007816/0.0007817, allocations: 88.06 kB / 261.4 MB, free: 13.55 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.1646/0.1646, allocations: 43.48 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-06/3.136e-06, allocations: 0 / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2405, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3445, allocations: 85.56 MB / 0.5489 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.3447, allocations: 67.97 kB / 0.549 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008993/0.3537, allocations: 3.466 MB / 0.5524 GB, free: 9.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3538, allocations: 7.938 kB / 0.5524 GB, free: 9.879 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.0003111/0.3541, allocations: 385.3 kB / 0.5528 GB, free: 9.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3541, allocations: 8.031 kB / 0.5528 GB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.3542, allocations: 7.906 kB / 0.5528 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3544, allocations: 206.7 kB / 0.553 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-06/0.3544, allocations: 3.906 kB / 0.553 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3544, allocations: 4 kB / 0.553 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.73e-05/0.3545, allocations: 15.92 kB / 0.553 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.179e-05/0.3545, allocations: 37.7 kB / 0.553 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3545, allocations: 3.984 kB / 0.553 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3545, allocations: 0 / 0.553 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.3546, allocations: 0 / 0.553 GB, free: 9.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002671/0.3548, allocations: 261.4 kB / 0.5533 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.355, allocations: 29.7 kB / 0.5533 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.346e-05/0.355, allocations: 12.86 kB / 0.5533 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.355, allocations: 3.938 kB / 0.5533 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.355, allocations: 34.56 kB / 0.5534 GB, free: 8.742 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3551, allocations: 0 / 0.5534 GB, free: 8.742 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003062/0.3554, allocations: 109.3 kB / 0.5535 GB, free: 8.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.3554, allocations: 51.41 kB / 0.5535 GB, free: 8.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.3555, allocations: 165.3 kB / 0.5537 GB, free: 8.398 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.3556, allocations: 29.7 kB / 0.5537 GB, free: 8.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.3556, allocations: 88.12 kB / 0.5538 GB, free: 8.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.3556, allocations: 19.72 kB / 0.5538 GB, free: 8.254 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.3556, allocations: 0 / 0.5538 GB, free: 8.254 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.3557, allocations: 326.8 kB / 0.5541 GB, free: 7.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.3558, allocations: 7.938 kB / 0.5541 GB, free: 7.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.3558, allocations: 8 kB / 0.5541 GB, free: 7.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.137e-05/0.3558, allocations: 12.19 kB / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.3558, allocations: 0 / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.583e-05/0.3559, allocations: 65.59 kB / 0.5542 GB, free: 7.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.3559, allocations: 4 kB / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.3559, allocations: 0 / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/0.3559, allocations: 0 / 0.5542 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.356, allocations: 19.98 kB / 0.5542 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.356, allocations: 0 / 0.5542 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.321e-05/0.3561, allocations: 11.91 kB / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.3561, allocations: 0 / 0.5542 GB, free: 7.793 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 4.898e-05/0.3561, allocations: 102.5 kB / 0.5543 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.3562, allocations: 15.83 kB / 0.5544 GB, free: 7.672 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3563, allocations: 73.88 kB / 0.5544 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3563, allocations: 3.906 kB / 0.5544 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-06/0.3563, allocations: 0 / 0.5544 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.3563, allocations: 3.938 kB / 0.5544 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.3566, allocations: 315.1 kB / 0.5547 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3566, allocations: 3.938 kB / 0.5547 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.214e-05/0.3567, allocations: 19.98 kB / 0.5548 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3567, allocations: 3.906 kB / 0.5548 GB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.3567, allocations: 4 kB / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3567, allocations: 0 / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3567, allocations: 0 / 0.5548 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001148/0.3568, allocations: 151.6 kB / 0.5549 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.3569, allocations: 92.92 kB / 0.555 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3569, allocations: 8.062 kB / 0.555 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.357, allocations: 11.98 kB / 0.555 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.357, allocations: 3.938 kB / 0.555 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.357, allocations: 4 kB / 0.555 GB, free: 6.906 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001031/0.3571, allocations: 144.1 kB / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.3574, allocations: 19.94 kB / 0.5552 GB, free: 6.746 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.0004657/0.3578, allocations: 303.5 kB / 0.5555 GB, free: 6.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.2e-05/0.3579, allocations: 24 kB / 0.5555 GB, free: 6.461 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.3579, allocations: 0 / 0.5555 GB, free: 6.461 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.358, allocations: 16 kB / 0.5555 GB, free: 6.445 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.3581, allocations: 20.44 kB / 0.5555 GB, free: 6.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.3584, allocations: 139.8 kB / 0.5557 GB, free: 6.258 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.3587, allocations: 0.7265 MB / 0.5564 GB, free: 5.508 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3587, allocations: 0 / 0.5564 GB, free: 5.508 MB / 394.7 MB Notification: Performance of Templates: time 0.002674/0.3614, allocations: 1.149 MB / 0.5575 GB, free: 4.363 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches