Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") [: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.0008355/0.0008355, allocations: 191.4 kB / 7.806 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.059/1.059, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007689/0.0007688, allocations: 92.09 kB / 261.4 MB, free: 13.54 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.1527/0.1527, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.603e-06/6.722e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2367, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1081/0.3448, allocations: 85.66 MB / 0.549 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001648/0.345, allocations: 75.95 kB / 0.5491 GB, free: 13.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01002/0.355, allocations: 4.13 MB / 0.5531 GB, free: 9.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.355, allocations: 0 / 0.5531 GB, free: 9.078 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002684/0.3553, allocations: 382.3 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.3553, allocations: 12.03 kB / 0.5535 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.3554, allocations: 3.906 kB / 0.5535 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.975e-05/0.3554, allocations: 174.9 kB / 0.5537 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-06/0.3555, allocations: 4 kB / 0.5537 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3555, allocations: 7.984 kB / 0.5537 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.808e-05/0.3556, allocations: 39.89 kB / 0.5537 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.3557, allocations: 174.7 kB / 0.5539 GB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.3557, allocations: 7.984 kB / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.3557, allocations: 0 / 0.5539 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3557, allocations: 12 kB / 0.5539 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006884/0.3564, allocations: 1.675 MB / 0.5556 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.325e-05/0.3565, allocations: 173 kB / 0.5557 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.288e-05/0.3565, allocations: 84.14 kB / 0.5558 GB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3566, allocations: 75.31 kB / 0.5559 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3566, allocations: 113.8 kB / 0.556 GB, free: 5.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3566, allocations: 0 / 0.556 GB, free: 5.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 6.048e-05/0.3567, allocations: 37.55 kB / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.3567, allocations: 51.41 kB / 0.5561 GB, free: 5.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3568, allocations: 176 kB / 0.5562 GB, free: 5.629 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.3568, allocations: 25.7 kB / 0.5563 GB, free: 5.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.3569, allocations: 147.1 kB / 0.5564 GB, free: 5.449 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.3569, allocations: 0 / 0.5564 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.3569, allocations: 0 / 0.5564 GB, free: 5.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.357, allocations: 322.8 kB / 0.5567 GB, free: 5.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.3571, allocations: 28.33 kB / 0.5567 GB, free: 5.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.201e-05/0.3572, allocations: 157.1 kB / 0.5569 GB, free: 4.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.3572, allocations: 63.91 kB / 0.5569 GB, free: 4.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3572, allocations: 0 / 0.5569 GB, free: 4.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000221/0.3575, allocations: 165.6 kB / 0.5571 GB, free: 4.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.3575, allocations: 4 kB / 0.5571 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3575, allocations: 4 kB / 0.5571 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3575, allocations: 8 kB / 0.5571 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.3576, allocations: 43.91 kB / 0.5572 GB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.3576, allocations: 4 kB / 0.5572 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.3577, allocations: 19.75 kB / 0.5572 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3577, allocations: 12 kB / 0.5572 GB, free: 4.559 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.626e-05/0.3578, allocations: 196.3 kB / 0.5574 GB, free: 4.359 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.3579, allocations: 112.8 kB / 0.5575 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.007e-05/0.3579, allocations: 120.5 kB / 0.5576 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.034e-05/0.358, allocations: 176.3 kB / 0.5578 GB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.235e-05/0.358, allocations: 180.2 kB / 0.5579 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.46e-05/0.3581, allocations: 186.1 kB / 0.5581 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.3583, allocations: 397.8 kB / 0.5585 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/0.3583, allocations: 108.9 kB / 0.5586 GB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.3583, allocations: 101 kB / 0.5587 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.487e-05/0.3584, allocations: 188.2 kB / 0.5589 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.3584, allocations: 180.2 kB / 0.5591 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.361e-05/0.3585, allocations: 188.3 kB / 0.5592 GB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.483e-05/0.3585, allocations: 176.3 kB / 0.5594 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.551e-05/0.3586, allocations: 311.7 kB / 0.5597 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.3587, allocations: 190 kB / 0.5599 GB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.3588, allocations: 188.4 kB / 0.5601 GB, free: 1.434 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.3588, allocations: 105 kB / 0.5602 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.3589, allocations: 184.3 kB / 0.5603 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.3589, allocations: 104.9 kB / 0.5604 GB, free: 1.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.566e-05/0.359, allocations: 124.1 kB / 0.5606 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.3593, allocations: 12 kB / 0.5606 GB, free: 0.8945 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 (0): * Single equations (assignments): 0 * 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.0002758/0.3595, allocations: 246.9 kB / 0.5608 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.63e-05/0.3596, allocations: 63.86 kB / 0.5609 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.3596, allocations: 3.938 kB / 0.5609 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-06/0.3596, allocations: 4 kB / 0.5609 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.3599, allocations: 0.5236 MB / 0.5614 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.3601, allocations: 198.7 kB / 0.5616 GB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.3604, allocations: 0.7235 MB / 0.5623 GB, free: 15.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3604, allocations: 0 / 0.5623 GB, free: 15.09 MB / 410.7 MB Notification: Performance of Templates: time 0.00229/0.3627, allocations: 0.7374 MB / 0.563 GB, free: 14.36 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches