Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") [: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.000851/0.000851, allocations: 190.8 kB / 7.804 MB, free: 2.441 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.052/1.052, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.0008307/0.0008306, allocations: 98 kB / 261.4 MB, free: 13.46 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.154/0.154, allocations: 43.49 MB / 352.9 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.873e-06, allocations: 4 kB / 417.7 MB, free: 40.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2388, allocations: 58.83 MB / 476.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3496, allocations: 86.4 MB / 0.5498 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.3499, allocations: 67.97 kB / 0.5498 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01019/0.3601, allocations: 3.855 MB / 0.5536 GB, free: 8.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3602, allocations: 4 kB / 0.5536 GB, free: 8.445 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.000364/0.3606, allocations: 382.2 kB / 0.554 GB, free: 8.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3606, allocations: 8.031 kB / 0.554 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.744e-05/0.3607, allocations: 19.91 kB / 0.554 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3609, allocations: 203.4 kB / 0.5542 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3609, allocations: 7.844 kB / 0.5542 GB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3609, allocations: 7.984 kB / 0.5542 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.686e-05/0.361, allocations: 16 kB / 0.5542 GB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.615e-05/0.3611, allocations: 45.69 kB / 0.5543 GB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3611, allocations: 4 kB / 0.5543 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.3611, allocations: 0 / 0.5543 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3611, allocations: 0 / 0.5543 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.3615, allocations: 293.3 kB / 0.5545 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.103e-05/0.3616, allocations: 38.56 kB / 0.5546 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.3616, allocations: 20.8 kB / 0.5546 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3617, allocations: 4 kB / 0.5546 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3617, allocations: 30.56 kB / 0.5546 GB, free: 7.234 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3617, allocations: 0 / 0.5546 GB, free: 7.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004593/0.3621, allocations: 169.3 kB / 0.5548 GB, free: 7.062 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.3622, allocations: 51.41 kB / 0.5548 GB, free: 7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.3623, allocations: 157.4 kB / 0.555 GB, free: 6.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3623, allocations: 25.7 kB / 0.555 GB, free: 6.805 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.3624, allocations: 92.14 kB / 0.5551 GB, free: 6.711 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.3624, allocations: 27.64 kB / 0.5551 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.3624, allocations: 0 / 0.5551 GB, free: 6.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.3625, allocations: 322.8 kB / 0.5554 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.3626, allocations: 20 kB / 0.5555 GB, free: 6.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.3626, allocations: 28.05 kB / 0.5555 GB, free: 6.312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.3626, allocations: 16 kB / 0.5555 GB, free: 6.297 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3626, allocations: 3.984 kB / 0.5555 GB, free: 6.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001198/0.3628, allocations: 89.5 kB / 0.5556 GB, free: 6.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3628, allocations: 6.812 kB / 0.5556 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3628, allocations: 3.938 kB / 0.5556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.826e-06/0.3628, allocations: 0 / 0.5556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3629, allocations: 27.98 kB / 0.5556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3629, allocations: 0 / 0.5556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.571e-05/0.363, allocations: 15.98 kB / 0.5556 GB, free: 6.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.363, allocations: 0 / 0.5556 GB, free: 6.148 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.617e-05/0.3631, allocations: 110.4 kB / 0.5557 GB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.3631, allocations: 11.81 kB / 0.5558 GB, free: 6.023 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.3633, allocations: 106.1 kB / 0.5559 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3633, allocations: 0 / 0.5559 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3633, allocations: 0 / 0.5559 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3633, allocations: 8.125 kB / 0.5559 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3637, allocations: 347 kB / 0.5562 GB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3637, allocations: 3.984 kB / 0.5562 GB, free: 5.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.331e-05/0.3638, allocations: 27.98 kB / 0.5562 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3638, allocations: 3.938 kB / 0.5562 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.3638, allocations: 0 / 0.5562 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.3638, allocations: 7.938 kB / 0.5562 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3638, allocations: 400 / 0.5562 GB, free: 5.48 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001509/0.364, allocations: 199.2 kB / 0.5564 GB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.364, allocations: 93 kB / 0.5565 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.3641, allocations: 0 / 0.5565 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3642, allocations: 23.89 kB / 0.5565 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3642, allocations: 0 / 0.5565 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.3642, allocations: 11.98 kB / 0.5566 GB, free: 5.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.102e-05/0.3643, allocations: 123.3 kB / 0.5567 GB, free: 5.004 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002221/0.3645, allocations: 20 kB / 0.5567 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.0005461/0.3651, allocations: 282.2 kB / 0.557 GB, free: 4.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.3652, allocations: 59.91 kB / 0.557 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3652, allocations: 0 / 0.557 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.582e-05/0.3653, allocations: 32 kB / 0.557 GB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.3655, allocations: 13.41 kB / 0.5571 GB, free: 4.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.3658, allocations: 163.1 kB / 0.5572 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.3661, allocations: 0.727 MB / 0.5579 GB, free: 3.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3661, allocations: 0 / 0.5579 GB, free: 3.711 MB / 394.7 MB Notification: Performance of Templates: time 0.003238/0.3693, allocations: 1.356 MB / 0.5592 GB, free: 2.363 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches