Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.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.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11") translateModel(ModelicaTest.Tables.CombiTable2D.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11") [: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.000915/0.0009154, allocations: 194.5 kB / 7.804 MB, free: 2.492 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.081/1.081, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.0007608/0.0007608, allocations: 94.67 kB / 261.4 MB, free: 13.52 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.1633/0.1633, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.821e-06/5.841e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2417, allocations: 58.83 MB / 476.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3424, allocations: 86.32 MB / 0.5497 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.3427, allocations: 71.97 kB / 0.5497 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01486/0.3575, allocations: 5.944 MB / 0.5555 GB, free: 6.617 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3576, allocations: 0 / 0.5555 GB, free: 6.617 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003564/0.3579, allocations: 418.2 kB / 0.5559 GB, free: 6.164 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.358, allocations: 11.97 kB / 0.556 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.358, allocations: 11.81 kB / 0.556 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.3582, allocations: 194.9 kB / 0.5562 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.3582, allocations: 0 / 0.5562 GB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.3583, allocations: 8 kB / 0.5562 GB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.143e-05/0.3583, allocations: 12 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.71e-05/0.3584, allocations: 63.28 kB / 0.5562 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3584, allocations: 4 kB / 0.5562 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3584, allocations: 0 / 0.5562 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3585, allocations: 4 kB / 0.5562 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.3587, allocations: 265.4 kB / 0.5565 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.165e-05/0.3588, allocations: 26.58 kB / 0.5565 GB, free: 5.477 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.3588, allocations: 16.86 kB / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3589, allocations: 0 / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3589, allocations: 38.41 kB / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3589, allocations: 0 / 0.5566 GB, free: 5.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004097/0.3593, allocations: 137.5 kB / 0.5567 GB, free: 5.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3594, allocations: 77.11 kB / 0.5568 GB, free: 5.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.3595, allocations: 130 kB / 0.5569 GB, free: 5.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.3595, allocations: 25.7 kB / 0.5569 GB, free: 5.008 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.3596, allocations: 92.14 kB / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3596, allocations: 15.7 kB / 0.557 GB, free: 4.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-06/0.3596, allocations: 4 kB / 0.557 GB, free: 4.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.3597, allocations: 322.7 kB / 0.5573 GB, free: 4.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.3597, allocations: 12 kB / 0.5574 GB, free: 4.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.3598, allocations: 29.66 kB / 0.5574 GB, free: 4.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.3598, allocations: 12 kB / 0.5574 GB, free: 4.512 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.3598, allocations: 0 / 0.5574 GB, free: 4.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001062/0.3599, allocations: 81.84 kB / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.3599, allocations: 4 kB / 0.5575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.36, allocations: 0 / 0.5575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.644e-06/0.36, allocations: 0 / 0.5575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.3601, allocations: 24.12 kB / 0.5575 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-06/0.3601, allocations: 3.984 kB / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.548e-05/0.3602, allocations: 19.94 kB / 0.5575 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3602, allocations: 4 kB / 0.5575 GB, free: 4.371 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 (7): * Single equations (assignments): 7 * 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.379e-05/0.3603, allocations: 110.3 kB / 0.5576 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.3603, allocations: 19.78 kB / 0.5576 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.3605, allocations: 86.16 kB / 0.5577 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3605, allocations: 4 kB / 0.5577 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3605, allocations: 0 / 0.5577 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3605, allocations: 0 / 0.5577 GB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003137/0.3608, allocations: 323 kB / 0.558 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3608, allocations: 0 / 0.558 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.3609, allocations: 31.98 kB / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3609, allocations: 0 / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.3609, allocations: 0 / 0.5581 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3609, allocations: 4 kB / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.361, allocations: 3.938 kB / 0.5581 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000145/0.3611, allocations: 167.4 kB / 0.5582 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.3612, allocations: 85 kB / 0.5583 GB, free: 3.461 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.3612, allocations: 7.906 kB / 0.5583 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.3613, allocations: 15.98 kB / 0.5583 GB, free: 3.438 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3613, allocations: 11.98 kB / 0.5584 GB, free: 3.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3613, allocations: 0 / 0.5584 GB, free: 3.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.734e-05/0.3614, allocations: 104.4 kB / 0.5585 GB, free: 3.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.3617, allocations: 31.94 kB / 0.5585 GB, free: 3.293 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 (7): * Single equations (assignments): 7 * 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.0005976/0.3623, allocations: 338.7 kB / 0.5588 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.3624, allocations: 36 kB / 0.5588 GB, free: 2.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3624, allocations: 0 / 0.5588 GB, free: 2.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.3624, allocations: 27.94 kB / 0.5589 GB, free: 2.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.3626, allocations: 19.78 kB / 0.5589 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/0.3629, allocations: 115.3 kB / 0.559 GB, free: 2.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/0.3632, allocations: 0.7192 MB / 0.5597 GB, free: 2.031 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3632, allocations: 0 / 0.5597 GB, free: 2.031 MB / 394.7 MB Notification: Performance of Templates: time 0.003361/0.3666, allocations: 1.509 MB / 0.5612 GB, free: 0.5273 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches