Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29") [: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.001615/0.001615, allocations: 172 kB / 8.149 MB, free: 2.191 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.655/1.655, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001316/0.001316, allocations: 91.94 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.3441/0.3441, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.186e-05/1.213e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2883, allocations: 58.85 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.446, allocations: 85.59 MB / 0.549 GB, free: 13.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.4464, allocations: 75.95 kB / 0.549 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01679/0.4632, allocations: 3.547 MB / 0.5525 GB, free: 9.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.4633, allocations: 0 / 0.5525 GB, free: 9.859 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005013/0.4638, allocations: 382.1 kB / 0.5529 GB, free: 9.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4638, allocations: 8.031 kB / 0.5529 GB, free: 9.434 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.4639, allocations: 7.906 kB / 0.5529 GB, free: 9.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.4642, allocations: 202.2 kB / 0.5531 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.4642, allocations: 0 / 0.5531 GB, free: 9.191 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.4643, allocations: 4 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001088/0.4644, allocations: 23.98 kB / 0.5531 GB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.4645, allocations: 49.59 kB / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.4645, allocations: 0 / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.4646, allocations: 0 / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.4646, allocations: 0 / 0.5531 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.465, allocations: 285.2 kB / 0.5534 GB, free: 8.793 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.4652, allocations: 29.72 kB / 0.5534 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.4652, allocations: 16.92 kB / 0.5535 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.4653, allocations: 0 / 0.5535 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.4653, allocations: 38.56 kB / 0.5535 GB, free: 8.691 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.4653, allocations: 0 / 0.5535 GB, free: 8.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006604/0.466, allocations: 133.4 kB / 0.5536 GB, free: 8.555 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.466, allocations: 51.41 kB / 0.5537 GB, free: 8.492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.4662, allocations: 133.2 kB / 0.5538 GB, free: 8.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.4663, allocations: 25.7 kB / 0.5538 GB, free: 8.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.4664, allocations: 158.6 kB / 0.554 GB, free: 8.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.4664, allocations: 23.55 kB / 0.554 GB, free: 8.141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.4664, allocations: 4 kB / 0.554 GB, free: 8.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4666, allocations: 319 kB / 0.5543 GB, free: 7.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.4666, allocations: 12 kB / 0.5543 GB, free: 7.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-05/0.4667, allocations: 12 kB / 0.5543 GB, free: 7.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.483e-05/0.4668, allocations: 20.22 kB / 0.5544 GB, free: 7.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4668, allocations: 0 / 0.5544 GB, free: 7.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001901/0.467, allocations: 81.56 kB / 0.5544 GB, free: 7.688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.467, allocations: 4 kB / 0.5544 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.467, allocations: 4 kB / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.467, allocations: 0 / 0.5544 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.4672, allocations: 23.98 kB / 0.5545 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.4672, allocations: 0 / 0.5545 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.754e-05/0.4673, allocations: 8 kB / 0.5545 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4673, allocations: 0 / 0.5545 GB, free: 7.648 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 (8): * Single equations (assignments): 8 * 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.702e-05/0.4674, allocations: 35.11 kB / 0.5545 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.4675, allocations: 7.906 kB / 0.5545 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4678, allocations: 102.1 kB / 0.5546 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.4678, allocations: 0 / 0.5546 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.4678, allocations: 0 / 0.5546 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4678, allocations: 0 / 0.5546 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005545/0.4684, allocations: 343 kB / 0.5549 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4684, allocations: 0 / 0.5549 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.4686, allocations: 31.86 kB / 0.555 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4686, allocations: 0 / 0.555 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4686, allocations: 0 / 0.555 GB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4686, allocations: 3.938 kB / 0.555 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4686, allocations: 4 kB / 0.555 GB, free: 7.074 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002373/0.4689, allocations: 175.3 kB / 0.5551 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.4689, allocations: 85.02 kB / 0.5552 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.469, allocations: 0 / 0.5552 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4691, allocations: 15.98 kB / 0.5552 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.4692, allocations: 0 / 0.5552 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4692, allocations: 7.984 kB / 0.5552 GB, free: 6.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000127/0.4693, allocations: 114.1 kB / 0.5553 GB, free: 6.652 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.4696, allocations: 23.94 kB / 0.5554 GB, free: 6.629 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 (8): * Single equations (assignments): 8 * 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.0008495/0.4705, allocations: 323.7 kB / 0.5557 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.4707, allocations: 32 kB / 0.5557 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4707, allocations: 4 kB / 0.5557 GB, free: 6.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.199e-05/0.4708, allocations: 28.33 kB / 0.5557 GB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.4711, allocations: 19.78 kB / 0.5558 GB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.4717, allocations: 149.3 kB / 0.5559 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004383/0.4721, allocations: 0.7231 MB / 0.5566 GB, free: 5.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4721, allocations: 0 / 0.5566 GB, free: 5.34 MB / 394.7 MB Notification: Performance of Templates: time 0.004869/0.477, allocations: 1.579 MB / 0.5582 GB, free: 3.762 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches