Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001609/0.001609, allocations: 170.2 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 88.16 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2914/0.2914, allocations: 43.5 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.778e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.4167, allocations: 85.52 MB / 0.5489 GB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.417, allocations: 71.91 kB / 0.549 GB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01532/0.4323, allocations: 3.246 MB / 0.5521 GB, free: 10.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.4324, allocations: 8 kB / 0.5521 GB, free: 10.24 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004559/0.4329, allocations: 370.2 kB / 0.5525 GB, free: 9.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4329, allocations: 12.03 kB / 0.5525 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.433, allocations: 7.906 kB / 0.5525 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.4333, allocations: 194.9 kB / 0.5527 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.4333, allocations: 4 kB / 0.5527 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.4333, allocations: 3.984 kB / 0.5527 GB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.685e-05/0.4334, allocations: 15.94 kB / 0.5527 GB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.544e-05/0.4335, allocations: 41.69 kB / 0.5528 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4336, allocations: 3.906 kB / 0.5528 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4336, allocations: 0 / 0.5528 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4336, allocations: 0 / 0.5528 GB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.434, allocations: 257.4 kB / 0.553 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.4342, allocations: 25.72 kB / 0.553 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.4343, allocations: 12.89 kB / 0.553 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.4343, allocations: 3.984 kB / 0.553 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4343, allocations: 34.56 kB / 0.5531 GB, free: 9.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4344, allocations: 4 kB / 0.5531 GB, free: 9.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005012/0.4349, allocations: 93.39 kB / 0.5532 GB, free: 9.023 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.4349, allocations: 51.41 kB / 0.5532 GB, free: 8.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.4351, allocations: 148.4 kB / 0.5534 GB, free: 8.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4352, allocations: 25.7 kB / 0.5534 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.58e-05/0.4353, allocations: 154.5 kB / 0.5535 GB, free: 8.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.4353, allocations: 23.72 kB / 0.5536 GB, free: 8.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-06/0.4353, allocations: 0 / 0.5536 GB, free: 8.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4355, allocations: 318.8 kB / 0.5539 GB, free: 8.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.4355, allocations: 11.94 kB / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.4355, allocations: 12 kB / 0.5539 GB, free: 8.262 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.4356, allocations: 4 kB / 0.5539 GB, free: 8.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4356, allocations: 0 / 0.5539 GB, free: 8.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001383/0.4358, allocations: 53.69 kB / 0.5539 GB, free: 8.199 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.4358, allocations: 4 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.4358, allocations: 4 kB / 0.5539 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4358, allocations: 4 kB / 0.554 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.436, allocations: 15.98 kB / 0.554 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.436, allocations: 3.906 kB / 0.554 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.4361, allocations: 4 kB / 0.554 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.4361, allocations: 256 / 0.554 GB, free: 8.164 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 (5): * Single equations (assignments): 5 * 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.726e-05/0.4362, allocations: 39.05 kB / 0.554 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.06e-05/0.4362, allocations: 7.906 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4365, allocations: 77.8 kB / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.4365, allocations: 0 / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4365, allocations: 0 / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.4365, allocations: 3.906 kB / 0.5541 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.437, allocations: 307.1 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.437, allocations: 0 / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.4371, allocations: 19.98 kB / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4372, allocations: 0 / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4372, allocations: 7.906 kB / 0.5544 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.4372, allocations: 0 / 0.5544 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4372, allocations: 0 / 0.5544 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001846/0.4374, allocations: 151.6 kB / 0.5546 GB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.4375, allocations: 89.02 kB / 0.5546 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.4375, allocations: 4 kB / 0.5546 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.4377, allocations: 11.98 kB / 0.5547 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.4377, allocations: 3.906 kB / 0.5547 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.4377, allocations: 0 / 0.5547 GB, free: 7.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001428/0.4379, allocations: 123.2 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.4382, allocations: 23.94 kB / 0.5548 GB, free: 7.219 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 (5): * Single equations (assignments): 5 * 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.000863/0.4391, allocations: 315.9 kB / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.4392, allocations: 28 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4392, allocations: 0 / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/0.4393, allocations: 19.94 kB / 0.5552 GB, free: 6.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.4396, allocations: 7.984 kB / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.4401, allocations: 153.3 kB / 0.5553 GB, free: 6.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.4406, allocations: 0.7225 MB / 0.556 GB, free: 5.953 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.4406, allocations: 0 / 0.556 GB, free: 5.953 MB / 394.7 MB Notification: Performance of Templates: time 0.004458/0.445, allocations: 1.462 MB / 0.5574 GB, free: 4.492 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches