Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") [: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.001756/0.001756, allocations: 171.5 kB / 8.146 MB, free: 2.211 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.673/1.673, 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.001269/0.001269, allocations: 88.33 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.2798/0.2798, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.335e-06/8.436e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.28, allocations: 58.83 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.4544, allocations: 85.67 MB / 0.549 GB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4547, allocations: 71.95 kB / 0.5491 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01687/0.4716, allocations: 3.685 MB / 0.5527 GB, free: 9.637 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.4716, allocations: 4 kB / 0.5527 GB, free: 9.633 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.0004871/0.4721, allocations: 390.2 kB / 0.5531 GB, free: 9.207 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4722, allocations: 8.031 kB / 0.5531 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.4723, allocations: 15.81 kB / 0.5531 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.4726, allocations: 206.8 kB / 0.5533 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.4726, allocations: 4 kB / 0.5533 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.4726, allocations: 0 / 0.5533 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.761e-05/0.4728, allocations: 15.94 kB / 0.5533 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.4729, allocations: 41.69 kB / 0.5534 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4729, allocations: 0 / 0.5534 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4729, allocations: 4 kB / 0.5534 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.4729, allocations: 0 / 0.5534 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.4734, allocations: 281.4 kB / 0.5536 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.4737, allocations: 29.7 kB / 0.5537 GB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.4737, allocations: 12.8 kB / 0.5537 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.4738, allocations: 4 kB / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4738, allocations: 34.56 kB / 0.5537 GB, free: 8.461 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.744e-06/0.4738, allocations: 0 / 0.5537 GB, free: 8.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005505/0.4744, allocations: 121.2 kB / 0.5538 GB, free: 8.336 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4744, allocations: 51.41 kB / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003462/0.4748, allocations: 217.9 kB / 0.5541 GB, free: 8.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.4748, allocations: 25.7 kB / 0.5541 GB, free: 8.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.4749, allocations: 150.6 kB / 0.5542 GB, free: 7.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.4749, allocations: 23.66 kB / 0.5543 GB, free: 7.848 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.4749, allocations: 11.88 kB / 0.5543 GB, free: 7.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4751, allocations: 310.8 kB / 0.5546 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.4751, allocations: 15.98 kB / 0.5546 GB, free: 7.508 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-05/0.4752, allocations: 8 kB / 0.5546 GB, free: 7.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.4753, allocations: 12 kB / 0.5546 GB, free: 7.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4753, allocations: 0 / 0.5546 GB, free: 7.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001557/0.4754, allocations: 57.69 kB / 0.5547 GB, free: 7.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.4755, allocations: 8 kB / 0.5547 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4755, allocations: 3.984 kB / 0.5547 GB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4755, allocations: 4 kB / 0.5547 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4757, allocations: 12 kB / 0.5547 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.4757, allocations: 0 / 0.5547 GB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.4758, allocations: 11.89 kB / 0.5547 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.4758, allocations: 4 kB / 0.5547 GB, free: 7.383 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.434e-05/0.4758, allocations: 35.14 kB / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.4759, allocations: 15.81 kB / 0.5548 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.4762, allocations: 91 kB / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4762, allocations: 0 / 0.5548 GB, free: 7.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.4762, allocations: 4 kB / 0.5548 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4762, allocations: 144 / 0.5548 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005306/0.4768, allocations: 343 kB / 0.5552 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4768, allocations: 7.984 kB / 0.5552 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.4769, allocations: 19.98 kB / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.4769, allocations: 0 / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.4769, allocations: 0 / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.477, allocations: 0 / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.477, allocations: 0 / 0.5552 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002084/0.4772, allocations: 167.3 kB / 0.5554 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.4773, allocations: 100.9 kB / 0.5555 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4774, allocations: 0 / 0.5555 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4775, allocations: 11.98 kB / 0.5555 GB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.4775, allocations: 4 kB / 0.5555 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.4776, allocations: 0 / 0.5555 GB, free: 6.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002431/0.4778, allocations: 175.2 kB / 0.5556 GB, free: 6.344 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.4781, allocations: 27.94 kB / 0.5557 GB, free: 6.316 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.0008196/0.479, allocations: 303.1 kB / 0.556 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.4791, allocations: 31.98 kB / 0.556 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4791, allocations: 0 / 0.556 GB, free: 6.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.564e-05/0.4792, allocations: 19.94 kB / 0.556 GB, free: 6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.4795, allocations: 16.03 kB / 0.556 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.4801, allocations: 217.3 kB / 0.5562 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004246/0.4806, allocations: 0.7309 MB / 0.5569 GB, free: 4.98 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4806, allocations: 4 kB / 0.5569 GB, free: 4.977 MB / 394.7 MB Notification: Performance of Templates: time 0.004812/0.4854, allocations: 1.707 MB / 0.5586 GB, free: 3.27 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches