Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28") [: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.0009073/0.0009073, allocations: 182.3 kB / 7.801 MB, free: 2.125 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.071/1.071, 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.0007559/0.0007559, allocations: 86.69 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.1596/0.1596, allocations: 43.48 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.561e-06/5.581e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2406, allocations: 58.82 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.3453, allocations: 86.41 MB / 0.5498 GB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3455, allocations: 63.97 kB / 0.5498 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01016/0.3557, allocations: 3.995 MB / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.3557, allocations: 0 / 0.5537 GB, free: 8.504 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.00036/0.3561, allocations: 398.1 kB / 0.5541 GB, free: 8.066 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3562, allocations: 11.97 kB / 0.5541 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.3562, allocations: 7.906 kB / 0.5541 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.3564, allocations: 209.6 kB / 0.5543 GB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-06/0.3564, allocations: 4 kB / 0.5543 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.3564, allocations: 4 kB / 0.5543 GB, free: 7.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.437e-05/0.3565, allocations: 23.98 kB / 0.5544 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.97e-05/0.3566, allocations: 45.69 kB / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3566, allocations: 0 / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3566, allocations: 0 / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.3566, allocations: 0 / 0.5544 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.357, allocations: 297.3 kB / 0.5547 GB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.597e-05/0.3571, allocations: 42.47 kB / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.3571, allocations: 16.86 kB / 0.5547 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.3571, allocations: 3.938 kB / 0.5547 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3572, allocations: 34.56 kB / 0.5548 GB, free: 7.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3572, allocations: 0 / 0.5548 GB, free: 7.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004346/0.3576, allocations: 165.3 kB / 0.5549 GB, free: 7.109 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.3577, allocations: 55.39 kB / 0.555 GB, free: 7.043 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3578, allocations: 165.4 kB / 0.5551 GB, free: 6.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.3578, allocations: 25.7 kB / 0.5552 GB, free: 6.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.3579, allocations: 100 kB / 0.5553 GB, free: 6.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3579, allocations: 23.66 kB / 0.5553 GB, free: 6.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.3579, allocations: 0 / 0.5553 GB, free: 6.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.358, allocations: 322.8 kB / 0.5556 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.358, allocations: 23.98 kB / 0.5556 GB, free: 6.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.339e-05/0.3581, allocations: 16 kB / 0.5556 GB, free: 6.355 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.3581, allocations: 27.98 kB / 0.5557 GB, free: 6.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.3581, allocations: 0 / 0.5557 GB, free: 6.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001242/0.3583, allocations: 85.53 kB / 0.5557 GB, free: 6.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.3583, allocations: 14.7 kB / 0.5558 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.3583, allocations: 4 kB / 0.5558 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.3583, allocations: 0 / 0.5558 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3584, allocations: 27.98 kB / 0.5558 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.3584, allocations: 4 kB / 0.5558 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.599e-05/0.3585, allocations: 11.98 kB / 0.5558 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3585, allocations: 4 kB / 0.5558 GB, free: 6.176 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 5.587e-05/0.3586, allocations: 102.4 kB / 0.5559 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.982e-05/0.3586, allocations: 11.95 kB / 0.5559 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.3588, allocations: 118.4 kB / 0.556 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3588, allocations: 0 / 0.556 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3588, allocations: 0 / 0.556 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3588, allocations: 0 / 0.556 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003377/0.3592, allocations: 363 kB / 0.5564 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3592, allocations: 0 / 0.5564 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.3593, allocations: 31.92 kB / 0.5564 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.3593, allocations: 0 / 0.5564 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.3593, allocations: 0 / 0.5564 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3593, allocations: 3.938 kB / 0.5564 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3593, allocations: 3.938 kB / 0.5564 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001529/0.3595, allocations: 187.3 kB / 0.5566 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.3595, allocations: 97 kB / 0.5567 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3596, allocations: 7.906 kB / 0.5567 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.901e-05/0.3597, allocations: 11.98 kB / 0.5567 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.3597, allocations: 4 kB / 0.5567 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.3597, allocations: 4 kB / 0.5567 GB, free: 5.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001019/0.3598, allocations: 144.1 kB / 0.5568 GB, free: 5.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.3601, allocations: 27.92 kB / 0.5569 GB, free: 4.984 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.0005062/0.3606, allocations: 303.1 kB / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.3607, allocations: 47.98 kB / 0.5572 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3607, allocations: 0 / 0.5572 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.3607, allocations: 35.98 kB / 0.5572 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.3609, allocations: 7.859 kB / 0.5573 GB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.3613, allocations: 194.9 kB / 0.5574 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/0.3616, allocations: 0.7309 MB / 0.5582 GB, free: 3.66 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3616, allocations: 4 kB / 0.5582 GB, free: 3.656 MB / 394.7 MB Notification: Performance of Templates: time 0.003029/0.3646, allocations: 1.37 MB / 0.5595 GB, free: 2.293 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches