Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [: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.001709/0.001709, allocations: 173.3 kB / 8.148 MB, free: 2.211 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.673/1.673, 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.001274/0.001274, allocations: 88.34 kB / 261.8 MB, free: 13.62 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.2691/0.2691, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.526e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.269, allocations: 58.84 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.419, allocations: 85.57 MB / 0.5489 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.4194, allocations: 71.47 kB / 0.549 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01682/0.4362, allocations: 3.776 MB / 0.5527 GB, free: 9.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.4363, allocations: 0 / 0.5527 GB, free: 9.68 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.0004968/0.4368, allocations: 394.2 kB / 0.5531 GB, free: 9.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4368, allocations: 12.03 kB / 0.5531 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.218e-05/0.4369, allocations: 15.75 kB / 0.5531 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.4373, allocations: 214.6 kB / 0.5533 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4373, allocations: 4 kB / 0.5533 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.4373, allocations: 0 / 0.5533 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.156e-05/0.4374, allocations: 12 kB / 0.5533 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.4375, allocations: 41.69 kB / 0.5533 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4375, allocations: 0 / 0.5533 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.4376, allocations: 3.906 kB / 0.5533 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4376, allocations: 0 / 0.5533 GB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.4381, allocations: 281.3 kB / 0.5536 GB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.4383, allocations: 29.72 kB / 0.5536 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/0.4383, allocations: 12.86 kB / 0.5537 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.4384, allocations: 96 / 0.5537 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.4384, allocations: 38.55 kB / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.4384, allocations: 0 / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005141/0.4389, allocations: 109.1 kB / 0.5538 GB, free: 8.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.439, allocations: 55.41 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.4394, allocations: 225.6 kB / 0.5541 GB, free: 8.086 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.4394, allocations: 25.7 kB / 0.5541 GB, free: 8.055 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.4395, allocations: 150.6 kB / 0.5542 GB, free: 7.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.4396, allocations: 23.64 kB / 0.5543 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.4396, allocations: 0 / 0.5543 GB, free: 7.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4397, allocations: 318.8 kB / 0.5546 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.4398, allocations: 8 kB / 0.5546 GB, free: 7.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.23e-05/0.4398, allocations: 12 kB / 0.5546 GB, free: 7.543 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.096e-05/0.4399, allocations: 8 kB / 0.5546 GB, free: 7.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4399, allocations: 4 kB / 0.5546 GB, free: 7.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001394/0.44, allocations: 49.69 kB / 0.5546 GB, free: 7.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.4401, allocations: 7.438 kB / 0.5546 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4401, allocations: 0 / 0.5546 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4401, allocations: 7.875 kB / 0.5546 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4403, allocations: 20.23 kB / 0.5547 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4403, allocations: 4 kB / 0.5547 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.154e-05/0.4404, allocations: 15.91 kB / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.4404, allocations: 0 / 0.5547 GB, free: 7.426 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.382e-05/0.4404, allocations: 31.25 kB / 0.5547 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.4405, allocations: 15.81 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.4407, allocations: 74.77 kB / 0.5548 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4408, allocations: 0 / 0.5548 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4408, allocations: 4 kB / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4408, allocations: 3.984 kB / 0.5548 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005417/0.4413, allocations: 347 kB / 0.5551 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4414, allocations: 0 / 0.5551 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.4415, allocations: 12 kB / 0.5552 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4415, allocations: 0 / 0.5552 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.4415, allocations: 0 / 0.5552 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4415, allocations: 7.984 kB / 0.5552 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4415, allocations: 144 / 0.5552 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002004/0.4418, allocations: 163.3 kB / 0.5553 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4419, allocations: 100.9 kB / 0.5554 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.4419, allocations: 4 kB / 0.5554 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.442, allocations: 7.984 kB / 0.5554 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.4421, allocations: 4 kB / 0.5554 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4421, allocations: 4 kB / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002739/0.4424, allocations: 196.3 kB / 0.5556 GB, free: 6.383 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.4427, allocations: 27.89 kB / 0.5556 GB, free: 6.355 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.0008472/0.4436, allocations: 305.3 kB / 0.5559 GB, free: 6.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.4438, allocations: 23.94 kB / 0.556 GB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4438, allocations: 4 kB / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.641e-05/0.4438, allocations: 16 kB / 0.556 GB, free: 6.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.4442, allocations: 16.03 kB / 0.556 GB, free: 6.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006592/0.4448, allocations: 229.7 kB / 0.5562 GB, free: 5.762 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/0.4453, allocations: 0.7348 MB / 0.5569 GB, free: 5 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.4453, allocations: 4 kB / 0.5569 GB, free: 4.996 MB / 394.7 MB Notification: Performance of Templates: time 0.004993/0.4503, allocations: 1.742 MB / 0.5586 GB, free: 3.254 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches