Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,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.Test30") [: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.0009152/0.0009149, allocations: 187.3 kB / 7.809 MB, free: 112 kB / 6.207 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: 2.145 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007526/0.0007527, allocations: 94.25 kB / 261.4 MB, free: 1.391 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1608/0.1608, allocations: 43.5 MB / 352.9 MB, free: 5.816 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.55e-06, allocations: 224 / 417.7 MB, free: 62.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09302, allocations: 58.86 MB / 476.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.3339, allocations: 86.84 MB / 0.5502 GB, free: 15.93 MB / 382.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/0.3342, allocations: 66.78 kB / 0.5503 GB, free: 15.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.009905/0.3441, allocations: 4.072 MB / 0.5542 GB, free: 12.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3441, allocations: 0 / 0.5542 GB, free: 12.5 MB / 382.1 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.0003263/0.3444, allocations: 397.8 kB / 0.5546 GB, free: 12.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.3445, allocations: 12.03 kB / 0.5546 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.3445, allocations: 15.81 kB / 0.5546 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.3447, allocations: 211 kB / 0.5548 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.3447, allocations: 4 kB / 0.5549 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3448, allocations: 0 / 0.5549 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.38e-05/0.3448, allocations: 28.55 kB / 0.5549 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.767e-05/0.3449, allocations: 48.78 kB / 0.5549 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3449, allocations: 0 / 0.5549 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.345, allocations: 0 / 0.5549 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-06/0.345, allocations: 0 / 0.5549 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3454, allocations: 309.1 kB / 0.5552 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.096e-05/0.3454, allocations: 36.56 kB / 0.5553 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.705e-05/0.3455, allocations: 15.92 kB / 0.5553 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3455, allocations: 4 kB / 0.5553 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3455, allocations: 33.81 kB / 0.5553 GB, free: 11.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3455, allocations: 0 / 0.5553 GB, free: 11.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004269/0.3459, allocations: 166.3 kB / 0.5555 GB, free: 11.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.346, allocations: 55.41 kB / 0.5555 GB, free: 11.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3461, allocations: 183 kB / 0.5557 GB, free: 10.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.3462, allocations: 25.7 kB / 0.5557 GB, free: 10.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3462, allocations: 100.1 kB / 0.5558 GB, free: 10.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3462, allocations: 19.41 kB / 0.5558 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.3463, allocations: 0 / 0.5558 GB, free: 10.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.3464, allocations: 326.5 kB / 0.5561 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.3464, allocations: 27.05 kB / 0.5562 GB, free: 10.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.3464, allocations: 24.7 kB / 0.5562 GB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.3465, allocations: 22.42 kB / 0.5562 GB, free: 10.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.3465, allocations: 0 / 0.5562 GB, free: 10.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001277/0.3466, allocations: 84.09 kB / 0.5563 GB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.3466, allocations: 11.38 kB / 0.5563 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.3466, allocations: 0 / 0.5563 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.3466, allocations: 7.922 kB / 0.5563 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3468, allocations: 31.89 kB / 0.5563 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.3468, allocations: 0 / 0.5563 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.3469, allocations: 15.98 kB / 0.5564 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.3469, allocations: 0 / 0.5564 GB, free: 10.29 MB / 382.1 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.422e-05/0.3469, allocations: 105 kB / 0.5565 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.347, allocations: 15.81 kB / 0.5565 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.3471, allocations: 105.2 kB / 0.5566 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3472, allocations: 4 kB / 0.5566 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3472, allocations: 0 / 0.5566 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3472, allocations: 0 / 0.5566 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.3475, allocations: 365.9 kB / 0.5569 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3475, allocations: 0 / 0.5569 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.3476, allocations: 30.55 kB / 0.557 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3476, allocations: 0 / 0.557 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3476, allocations: 4 kB / 0.557 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3476, allocations: 0 / 0.557 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3476, allocations: 3.984 kB / 0.557 GB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001486/0.3478, allocations: 192.8 kB / 0.5571 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.3479, allocations: 96.91 kB / 0.5572 GB, free: 9.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3479, allocations: 3.938 kB / 0.5572 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.348, allocations: 11.98 kB / 0.5573 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.348, allocations: 11.11 kB / 0.5573 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3481, allocations: 4 kB / 0.5573 GB, free: 9.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.873e-05/0.3482, allocations: 149.5 kB / 0.5574 GB, free: 9.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.3484, allocations: 27.94 kB / 0.5574 GB, free: 9.188 MB / 382.1 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.0005094/0.3489, allocations: 293.4 kB / 0.5577 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.349, allocations: 57.92 kB / 0.5578 GB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.349, allocations: 0 / 0.5578 GB, free: 8.902 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/0.3491, allocations: 31.38 kB / 0.5578 GB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.3493, allocations: 15.94 kB / 0.5578 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.3496, allocations: 188 kB / 0.558 GB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002754/0.3499, allocations: 0.7347 MB / 0.5587 GB, free: 7.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3499, allocations: 0 / 0.5587 GB, free: 7.926 MB / 382.1 MB Notification: Performance of Templates: time 0.003146/0.353, allocations: 1.415 MB / 0.5601 GB, free: 6.523 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches