Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") translateModel(ModelicaTest.Tables.CombiTable2D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16") [: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.0008319/0.000832, allocations: 185.1 kB / 7.805 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.058/1.058, 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.0007806/0.0007805, allocations: 83.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.1544/0.1544, allocations: 43.49 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.918e-06/9.929e-06, allocations: 4 kB / 417.7 MB, free: 40.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.239, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3495, allocations: 85.45 MB / 0.5488 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.3498, allocations: 67.97 kB / 0.5489 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0103/0.3601, allocations: 4.127 MB / 0.5529 GB, free: 9.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3601, allocations: 0 / 0.5529 GB, free: 9.309 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.0002811/0.3604, allocations: 390.2 kB / 0.5533 GB, free: 8.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3605, allocations: 8.031 kB / 0.5533 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.3605, allocations: 7.906 kB / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.3606, allocations: 171 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.3606, allocations: 3.938 kB / 0.5535 GB, free: 8.656 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3607, allocations: 4 kB / 0.5535 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.235e-05/0.3608, allocations: 35.91 kB / 0.5535 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.3609, allocations: 182.5 kB / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3609, allocations: 3.938 kB / 0.5537 GB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3609, allocations: 4 kB / 0.5537 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.361, allocations: 8 kB / 0.5537 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.3617, allocations: 1.675 MB / 0.5554 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.228e-05/0.3618, allocations: 177 kB / 0.5555 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.3619, allocations: 80.14 kB / 0.5556 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3619, allocations: 75.31 kB / 0.5557 GB, free: 6.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.3619, allocations: 117.8 kB / 0.5558 GB, free: 6.137 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3619, allocations: 0 / 0.5558 GB, free: 6.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.769e-05/0.362, allocations: 33.61 kB / 0.5558 GB, free: 6.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3621, allocations: 51.41 kB / 0.5559 GB, free: 6.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3622, allocations: 168.1 kB / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.3622, allocations: 25.7 kB / 0.556 GB, free: 5.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.3623, allocations: 143.2 kB / 0.5562 GB, free: 5.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.3623, allocations: 7.984 kB / 0.5562 GB, free: 5.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.3623, allocations: 4 kB / 0.5562 GB, free: 5.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.3624, allocations: 314.8 kB / 0.5565 GB, free: 5.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.781e-05/0.3625, allocations: 36.27 kB / 0.5565 GB, free: 5.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.3626, allocations: 149.1 kB / 0.5567 GB, free: 5.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.565e-05/0.3627, allocations: 63.89 kB / 0.5567 GB, free: 5.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/0.3627, allocations: 8 kB / 0.5567 GB, free: 5.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002433/0.3629, allocations: 157.8 kB / 0.5569 GB, free: 4.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.363, allocations: 8.094 kB / 0.5569 GB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.363, allocations: 4 kB / 0.5569 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.363, allocations: 11.98 kB / 0.5569 GB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3631, allocations: 43.86 kB / 0.557 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.3631, allocations: 11.94 kB / 0.557 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.3632, allocations: 19.75 kB / 0.557 GB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3632, allocations: 8 kB / 0.557 GB, free: 4.785 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 8.158e-05/0.3633, allocations: 192 kB / 0.5572 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.3634, allocations: 120.9 kB / 0.5573 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.845e-05/0.3635, allocations: 112.5 kB / 0.5574 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.666e-05/0.3635, allocations: 180.2 kB / 0.5576 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-05/0.3636, allocations: 184.2 kB / 0.5577 GB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-05/0.3636, allocations: 182.1 kB / 0.5579 GB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.3638, allocations: 397.8 kB / 0.5583 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.952e-05/0.3639, allocations: 113 kB / 0.5584 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.184e-05/0.3639, allocations: 104.9 kB / 0.5585 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.712e-05/0.3639, allocations: 180.2 kB / 0.5587 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.075e-05/0.364, allocations: 184.3 kB / 0.5589 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.868e-05/0.3641, allocations: 180.2 kB / 0.559 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.966e-05/0.3641, allocations: 180.3 kB / 0.5592 GB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001136/0.3642, allocations: 315.7 kB / 0.5595 GB, free: 2.055 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.3643, allocations: 186 kB / 0.5597 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.3644, allocations: 188.4 kB / 0.5599 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.3645, allocations: 104.9 kB / 0.56 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.544e-05/0.3645, allocations: 184.3 kB / 0.5601 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.3645, allocations: 101 kB / 0.5602 GB, free: 1.254 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.094e-05/0.3646, allocations: 128.1 kB / 0.5604 GB, free: 1.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.3649, allocations: 12 kB / 0.5604 GB, free: 1.117 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.0003538/0.3653, allocations: 243.8 kB / 0.5606 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.3654, allocations: 68.91 kB / 0.5607 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3654, allocations: 4.125 kB / 0.5607 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3654, allocations: 0 / 0.5607 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3657, allocations: 0.5224 MB / 0.5612 GB, free: 296 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.3659, allocations: 194.6 kB / 0.5614 GB, free: 76 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/0.3662, allocations: 0.7313 MB / 0.5621 GB, free: 15.32 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3662, allocations: 0 / 0.5621 GB, free: 15.32 MB / 410.7 MB Notification: Performance of Templates: time 0.002524/0.3687, allocations: 0.7248 MB / 0.5628 GB, free: 14.59 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches