Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") [: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.002345/0.002345, allocations: 181.3 kB / 8.154 MB, free: 2.219 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.732/1.732, 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.001244/0.001244, allocations: 88.34 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.2496/0.2496, allocations: 43.48 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.233e-06/7.254e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2717, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.422, allocations: 85.52 MB / 0.5489 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.4223, allocations: 75.47 kB / 0.549 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01435/0.4367, allocations: 3.207 MB / 0.5521 GB, free: 10.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4367, allocations: 4 kB / 0.5521 GB, free: 10.27 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.0004232/0.4372, allocations: 374.2 kB / 0.5524 GB, free: 9.855 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4372, allocations: 8.031 kB / 0.5525 GB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.4373, allocations: 15.81 kB / 0.5525 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.4376, allocations: 193.4 kB / 0.5527 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.4376, allocations: 0 / 0.5527 GB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.4377, allocations: 4 kB / 0.5527 GB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/0.4378, allocations: 15.94 kB / 0.5527 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.4379, allocations: 41.69 kB / 0.5527 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4379, allocations: 0 / 0.5527 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4379, allocations: 0 / 0.5527 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4379, allocations: 0 / 0.5527 GB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.4383, allocations: 245.5 kB / 0.5529 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.4386, allocations: 33.7 kB / 0.553 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.729e-05/0.4386, allocations: 16.8 kB / 0.553 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.4386, allocations: 3.906 kB / 0.553 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.4387, allocations: 34.56 kB / 0.553 GB, free: 9.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.4387, allocations: 0 / 0.553 GB, free: 9.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004925/0.4392, allocations: 109.4 kB / 0.5531 GB, free: 9.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.4392, allocations: 51.41 kB / 0.5532 GB, free: 8.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4395, allocations: 129.2 kB / 0.5533 GB, free: 8.844 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4395, allocations: 25.7 kB / 0.5533 GB, free: 8.812 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.4396, allocations: 154.6 kB / 0.5535 GB, free: 8.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.4396, allocations: 19.73 kB / 0.5535 GB, free: 8.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.4396, allocations: 0 / 0.5535 GB, free: 8.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4398, allocations: 322.7 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.341e-05/0.4398, allocations: 11.94 kB / 0.5538 GB, free: 8.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/0.4399, allocations: 12 kB / 0.5538 GB, free: 8.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.4399, allocations: 4 kB / 0.5538 GB, free: 8.289 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4399, allocations: 0 / 0.5538 GB, free: 8.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001344/0.4401, allocations: 57.69 kB / 0.5539 GB, free: 8.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4401, allocations: 4 kB / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.4401, allocations: 0 / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.4401, allocations: 0 / 0.5539 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.4403, allocations: 15.98 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4403, allocations: 4 kB / 0.5539 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.4404, allocations: 4 kB / 0.5539 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4404, allocations: 4 kB / 0.5539 GB, free: 8.195 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.567e-05/0.4405, allocations: 34.95 kB / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.4405, allocations: 19.83 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.4407, allocations: 61.88 kB / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4407, allocations: 4.312 kB / 0.554 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.4408, allocations: 0 / 0.554 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4408, allocations: 0 / 0.554 GB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.4412, allocations: 319 kB / 0.5543 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4412, allocations: 0 / 0.5543 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.4414, allocations: 15.98 kB / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4414, allocations: 0 / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4414, allocations: 0 / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4414, allocations: 4 kB / 0.5544 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4414, allocations: 0 / 0.5544 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001773/0.4416, allocations: 159.5 kB / 0.5545 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.4417, allocations: 81.02 kB / 0.5546 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.4417, allocations: 4 kB / 0.5546 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.4418, allocations: 7.984 kB / 0.5546 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.4419, allocations: 8 kB / 0.5546 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.4419, allocations: 4 kB / 0.5546 GB, free: 7.395 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001234/0.4421, allocations: 118.7 kB / 0.5547 GB, free: 7.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.4424, allocations: 16 kB / 0.5547 GB, free: 7.266 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.0008449/0.4432, allocations: 319.5 kB / 0.555 GB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.4434, allocations: 28 kB / 0.5551 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4434, allocations: 4 kB / 0.5551 GB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/0.4434, allocations: 19.94 kB / 0.5551 GB, free: 6.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.4437, allocations: 11.89 kB / 0.5551 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.4442, allocations: 137.4 kB / 0.5552 GB, free: 6.758 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/0.4446, allocations: 0.7153 MB / 0.5559 GB, free: 6.016 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/0.4446, allocations: 0 / 0.5559 GB, free: 6.016 MB / 394.7 MB Notification: Performance of Templates: time 0.004125/0.4487, allocations: 1.415 MB / 0.5573 GB, free: 4.602 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches