Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") [: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.001532/0.001532, allocations: 170.8 kB / 8.147 MB, free: 2.215 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.686/1.686, 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.001272/0.001271, allocations: 88.25 kB / 261.8 MB, free: 13.61 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.2547/0.2547, allocations: 43.49 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.218e-06/9.357e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2785, allocations: 58.83 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.4345, allocations: 86.44 MB / 0.5498 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4348, allocations: 79.94 kB / 0.5499 GB, free: 12.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02863/0.4635, allocations: 7.342 MB / 0.557 GB, free: 5.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.4636, allocations: 4 kB / 0.557 GB, free: 5.199 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.0007476/0.4643, allocations: 0.552 MB / 0.5576 GB, free: 4.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4644, allocations: 8.031 kB / 0.5576 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.4645, allocations: 43.44 kB / 0.5576 GB, free: 4.551 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000657/0.4651, allocations: 331.2 kB / 0.5579 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.4652, allocations: 3.984 kB / 0.5579 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.4652, allocations: 4 kB / 0.5579 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001054/0.4653, allocations: 15.98 kB / 0.558 GB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.4655, allocations: 49.69 kB / 0.558 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4655, allocations: 3.906 kB / 0.558 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4655, allocations: 0 / 0.558 GB, free: 4.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4655, allocations: 4 kB / 0.558 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008384/0.4664, allocations: 425.2 kB / 0.5584 GB, free: 3.645 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.4666, allocations: 33.64 kB / 0.5585 GB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.4666, allocations: 12.86 kB / 0.5585 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4667, allocations: 8 kB / 0.5585 GB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.4667, allocations: 30.56 kB / 0.5585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.4667, allocations: 0 / 0.5585 GB, free: 3.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006383/0.4674, allocations: 192.1 kB / 0.5587 GB, free: 3.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4674, allocations: 55.31 kB / 0.5587 GB, free: 3.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.4694, allocations: 0.7551 MB / 0.5595 GB, free: 2.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.4694, allocations: 25.7 kB / 0.5595 GB, free: 2.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.4695, allocations: 158.5 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.4696, allocations: 15.81 kB / 0.5597 GB, free: 2.316 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4696, allocations: 0 / 0.5597 GB, free: 2.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4697, allocations: 314.8 kB / 0.56 GB, free: 2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.828e-05/0.4698, allocations: 12 kB / 0.56 GB, free: 1.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.251e-05/0.4698, allocations: 11.98 kB / 0.56 GB, free: 1.977 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.508e-05/0.4699, allocations: 12 kB / 0.56 GB, free: 1.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4699, allocations: 4 kB / 0.56 GB, free: 1.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000177/0.4701, allocations: 69.62 kB / 0.5601 GB, free: 1.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4701, allocations: 4 kB / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4701, allocations: 0 / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4702, allocations: 0 / 0.5601 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.4703, allocations: 15.98 kB / 0.5601 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4703, allocations: 0 / 0.5601 GB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.999e-05/0.4704, allocations: 11.98 kB / 0.5601 GB, free: 1.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.4704, allocations: 4 kB / 0.5601 GB, free: 1.852 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.469e-05/0.4705, allocations: 31.17 kB / 0.5601 GB, free: 1.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.4707, allocations: 39.53 kB / 0.5602 GB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003395/0.471, allocations: 133.2 kB / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.471, allocations: 0 / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.471, allocations: 0 / 0.5603 GB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.471, allocations: 4 kB / 0.5603 GB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.4721, allocations: 0.5418 MB / 0.5608 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4721, allocations: 4 kB / 0.5608 GB, free: 1.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.4723, allocations: 19.98 kB / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.801e-05/0.4723, allocations: 0 / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4723, allocations: 0 / 0.5609 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4723, allocations: 3.938 kB / 0.5609 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.4723, allocations: 0 / 0.5609 GB, free: 1.02 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002823/0.4726, allocations: 202.9 kB / 0.561 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.4729, allocations: 160.5 kB / 0.5612 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.567e-05/0.473, allocations: 0 / 0.5612 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.4732, allocations: 11.98 kB / 0.5612 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.4732, allocations: 0 / 0.5612 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.4732, allocations: 0 / 0.5612 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001103/0.4744, allocations: 0.6121 MB / 0.5618 GB, free: 8 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004548/0.4748, allocations: 64.08 kB / 0.5619 GB, free: 15.94 MB / 410.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.0008667/0.4757, allocations: 310.5 kB / 0.5622 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.4759, allocations: 39.92 kB / 0.5622 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4759, allocations: 0 / 0.5622 GB, free: 15.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/0.476, allocations: 16 kB / 0.5622 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004491/0.4765, allocations: 33.7 kB / 0.5623 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.4785, allocations: 0.7443 MB / 0.563 GB, free: 14.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007392/0.4793, allocations: 0.8606 MB / 0.5638 GB, free: 13.91 MB / 410.7 MB Notification: Performance of SimCode: time 1.462e-06/0.4793, allocations: 3.938 kB / 0.5638 GB, free: 13.9 MB / 410.7 MB Notification: Performance of Templates: time 0.01191/0.4912, allocations: 4.254 MB / 0.568 GB, free: 9.641 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches