Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") [: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.001759/0.001759, allocations: 172 kB / 8.148 MB, free: 2.195 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.626/1.626, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001352/0.001351, allocations: 87.2 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.3606/0.3606, allocations: 43.51 MB / 353.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.567e-06/8.866e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2906, allocations: 58.85 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.4497, allocations: 85.55 MB / 0.5489 GB, free: 13.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.4501, allocations: 71.95 kB / 0.549 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01669/0.4668, allocations: 3.555 MB / 0.5525 GB, free: 9.887 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.4669, allocations: 8 kB / 0.5525 GB, free: 9.879 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.0005065/0.4674, allocations: 386.1 kB / 0.5528 GB, free: 9.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.4675, allocations: 11.97 kB / 0.5529 GB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.4675, allocations: 7.906 kB / 0.5529 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4678, allocations: 201.6 kB / 0.5531 GB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4679, allocations: 4 kB / 0.5531 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.4679, allocations: 4 kB / 0.5531 GB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.031e-05/0.468, allocations: 8 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.4681, allocations: 41.69 kB / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4681, allocations: 0 / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4682, allocations: 0 / 0.5531 GB, free: 9.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4682, allocations: 4 kB / 0.5531 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.4686, allocations: 261.4 kB / 0.5534 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.4689, allocations: 33.7 kB / 0.5534 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.4689, allocations: 16.84 kB / 0.5534 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.469, allocations: 0 / 0.5534 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.469, allocations: 30.56 kB / 0.5534 GB, free: 8.746 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.804e-06/0.469, allocations: 0 / 0.5534 GB, free: 8.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005595/0.4696, allocations: 109.3 kB / 0.5535 GB, free: 8.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.4696, allocations: 51.41 kB / 0.5536 GB, free: 8.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.47, allocations: 181.3 kB / 0.5538 GB, free: 8.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.47, allocations: 25.7 kB / 0.5538 GB, free: 8.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.4701, allocations: 150.6 kB / 0.5539 GB, free: 8.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.4701, allocations: 19.69 kB / 0.554 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.4701, allocations: 0 / 0.554 GB, free: 8.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.4703, allocations: 318.8 kB / 0.5543 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.4704, allocations: 8 kB / 0.5543 GB, free: 7.859 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.4704, allocations: 8 kB / 0.5543 GB, free: 7.852 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.4705, allocations: 12 kB / 0.5543 GB, free: 7.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4705, allocations: 0 / 0.5543 GB, free: 7.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001485/0.4706, allocations: 57.59 kB / 0.5543 GB, free: 7.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4707, allocations: 4 kB / 0.5543 GB, free: 7.773 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4707, allocations: 3.938 kB / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.4707, allocations: 0 / 0.5543 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4709, allocations: 20.23 kB / 0.5544 GB, free: 7.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4709, allocations: 4 kB / 0.5544 GB, free: 7.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.471, allocations: 8 kB / 0.5544 GB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.471, allocations: 0 / 0.5544 GB, free: 7.738 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.783e-05/0.4711, allocations: 27.27 kB / 0.5544 GB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.446e-05/0.4711, allocations: 15.81 kB / 0.5544 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.4714, allocations: 81.78 kB / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4714, allocations: 0 / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.4714, allocations: 4 kB / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4714, allocations: 0 / 0.5545 GB, free: 7.598 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.472, allocations: 319 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.472, allocations: 0 / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.4721, allocations: 15.98 kB / 0.5548 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4721, allocations: 0 / 0.5548 GB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.4722, allocations: 8 kB / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4722, allocations: 0 / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4722, allocations: 0 / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002078/0.4724, allocations: 163.3 kB / 0.555 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.4725, allocations: 89.02 kB / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.4725, allocations: 0 / 0.5551 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.4727, allocations: 15.89 kB / 0.5551 GB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.4727, allocations: 4 kB / 0.5551 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.4727, allocations: 0 / 0.5551 GB, free: 6.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000207/0.473, allocations: 156.1 kB / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.4733, allocations: 27.92 kB / 0.5553 GB, free: 6.738 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.0009137/0.4742, allocations: 307.8 kB / 0.5556 GB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.4744, allocations: 31.94 kB / 0.5556 GB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4744, allocations: 0 / 0.5556 GB, free: 6.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.753e-05/0.4745, allocations: 16 kB / 0.5556 GB, free: 6.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.4748, allocations: 8 kB / 0.5556 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.4754, allocations: 177.5 kB / 0.5558 GB, free: 6.199 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.4759, allocations: 0.7192 MB / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4759, allocations: 0 / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of Templates: time 0.004843/0.4807, allocations: 1.562 MB / 0.558 GB, free: 3.887 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches