Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.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.CombiTable1D.Test28,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.CombiTable1D.Test28") translateModel(ModelicaTest.Tables.CombiTable1D.Test28,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.CombiTable1D.Test28") [: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.001755/0.001755, allocations: 169.8 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.806/1.806, 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.001267/0.001266, allocations: 87.05 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.2614/0.2614, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.145e-06/8.286e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.29, allocations: 58.84 MB / 476.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.4518, allocations: 85.66 MB / 0.549 GB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.4521, allocations: 75.91 kB / 0.5491 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01627/0.4684, allocations: 3.681 MB / 0.5527 GB, free: 9.582 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.4685, allocations: 4 kB / 0.5527 GB, free: 9.578 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.0005422/0.4691, allocations: 390.1 kB / 0.5531 GB, free: 9.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4691, allocations: 8.031 kB / 0.5531 GB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.4692, allocations: 15.81 kB / 0.5531 GB, free: 9.129 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.4695, allocations: 206.8 kB / 0.5533 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4696, allocations: 4 kB / 0.5533 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.4696, allocations: 0 / 0.5533 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.261e-05/0.4697, allocations: 15.98 kB / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.4698, allocations: 41.64 kB / 0.5533 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4698, allocations: 0 / 0.5533 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.4699, allocations: 7.984 kB / 0.5534 GB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.4699, allocations: 3.984 kB / 0.5534 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005375/0.4704, allocations: 281.4 kB / 0.5536 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.4706, allocations: 25.72 kB / 0.5537 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.4707, allocations: 12.86 kB / 0.5537 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.4707, allocations: 8.078 kB / 0.5537 GB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4708, allocations: 34.5 kB / 0.5537 GB, free: 8.398 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.4708, allocations: 0 / 0.5537 GB, free: 8.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005693/0.4714, allocations: 117.1 kB / 0.5538 GB, free: 8.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.4714, allocations: 55.39 kB / 0.5539 GB, free: 8.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.4718, allocations: 213.9 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4718, allocations: 25.7 kB / 0.5541 GB, free: 7.961 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.4719, allocations: 150.6 kB / 0.5542 GB, free: 7.812 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.4719, allocations: 27.64 kB / 0.5543 GB, free: 7.785 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.472, allocations: 7.938 kB / 0.5543 GB, free: 7.777 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4721, allocations: 310.8 kB / 0.5546 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.233e-05/0.4722, allocations: 12 kB / 0.5546 GB, free: 7.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.4722, allocations: 11.94 kB / 0.5546 GB, free: 7.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.4723, allocations: 15.98 kB / 0.5546 GB, free: 7.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4723, allocations: 0 / 0.5546 GB, free: 7.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001552/0.4725, allocations: 61.69 kB / 0.5547 GB, free: 7.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4725, allocations: 11.44 kB / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4725, allocations: 0 / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4725, allocations: 4 kB / 0.5547 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.4727, allocations: 15.98 kB / 0.5547 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4727, allocations: 256 / 0.5547 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.4728, allocations: 11.84 kB / 0.5547 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4728, allocations: 8 kB / 0.5547 GB, free: 7.312 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.422e-05/0.4729, allocations: 27.27 kB / 0.5547 GB, free: 7.281 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.4729, allocations: 15.81 kB / 0.5548 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.4732, allocations: 90.67 kB / 0.5548 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4732, allocations: 0 / 0.5548 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4732, allocations: 4 kB / 0.5549 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4732, allocations: 0 / 0.5549 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.4738, allocations: 343 kB / 0.5552 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4738, allocations: 4 kB / 0.5552 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.4739, allocations: 23.92 kB / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.474, allocations: 0 / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.474, allocations: 0 / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.474, allocations: 0 / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.474, allocations: 0 / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002111/0.4742, allocations: 163.4 kB / 0.5554 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.414e-05/0.4743, allocations: 100.9 kB / 0.5555 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.4744, allocations: 0 / 0.5555 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4745, allocations: 8 kB / 0.5555 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.4746, allocations: 7.984 kB / 0.5555 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4746, allocations: 4 kB / 0.5555 GB, free: 6.453 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002532/0.4748, allocations: 175.2 kB / 0.5556 GB, free: 6.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003102/0.4752, allocations: 23.94 kB / 0.5557 GB, free: 6.258 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.0008693/0.476, allocations: 312.4 kB / 0.556 GB, free: 5.988 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.4762, allocations: 32 kB / 0.556 GB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4762, allocations: 0 / 0.556 GB, free: 5.957 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.399e-05/0.4763, allocations: 16 kB / 0.556 GB, free: 5.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.4766, allocations: 12.17 kB / 0.556 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.4773, allocations: 225.2 kB / 0.5562 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/0.4778, allocations: 0.7309 MB / 0.5569 GB, free: 4.918 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4778, allocations: 0 / 0.5569 GB, free: 4.918 MB / 394.7 MB Notification: Performance of Templates: time 0.004966/0.4827, allocations: 1.703 MB / 0.5586 GB, free: 3.215 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches