Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.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.CombiTable2D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26") translateModel(ModelicaTest.Tables.CombiTable2D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26") [: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.001732/0.001732, allocations: 176 kB / 8.15 MB, free: 2.184 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.734/1.734, 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.00124/0.00124, allocations: 92.8 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.257/0.257, allocations: 43.49 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.157e-06/9.258e-06, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2706, allocations: 58.85 MB / 476.5 MB, free: 5.066 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.4232, allocations: 86.01 MB / 0.5494 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003569/0.4236, allocations: 75.95 kB / 0.5494 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02382/0.4475, allocations: 3.792 MB / 0.5531 GB, free: 9.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.862e-05/0.4476, allocations: 0 / 0.5531 GB, free: 9.195 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.0007455/0.4483, allocations: 398 kB / 0.5535 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.4484, allocations: 8.031 kB / 0.5535 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.162e-05/0.4485, allocations: 7.906 kB / 0.5535 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.4489, allocations: 198.8 kB / 0.5537 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.449, allocations: 11.84 kB / 0.5537 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.449, allocations: 3.984 kB / 0.5537 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001427/0.4492, allocations: 19.98 kB / 0.5538 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.4493, allocations: 41.64 kB / 0.5538 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4494, allocations: 4 kB / 0.5538 GB, free: 8.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.4494, allocations: 3.984 kB / 0.5538 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4494, allocations: 0 / 0.5538 GB, free: 8.422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000622/0.4501, allocations: 269.4 kB / 0.5541 GB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.4502, allocations: 26.58 kB / 0.5541 GB, free: 8.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.243e-05/0.4503, allocations: 16.86 kB / 0.5541 GB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.4503, allocations: 4 kB / 0.5541 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4504, allocations: 34.5 kB / 0.5541 GB, free: 8.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 3.316e-06/0.4504, allocations: 0 / 0.5541 GB, free: 8.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009452/0.4514, allocations: 145.3 kB / 0.5543 GB, free: 7.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.4514, allocations: 55.39 kB / 0.5543 GB, free: 7.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.4518, allocations: 157.4 kB / 0.5545 GB, free: 7.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4518, allocations: 25.7 kB / 0.5545 GB, free: 7.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.4519, allocations: 158.5 kB / 0.5547 GB, free: 7.457 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.563e-05/0.452, allocations: 23.7 kB / 0.5547 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-06/0.452, allocations: 3.938 kB / 0.5547 GB, free: 7.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4522, allocations: 310.8 kB / 0.555 GB, free: 7.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.4523, allocations: 16 kB / 0.555 GB, free: 7.102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.4523, allocations: 19.94 kB / 0.555 GB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.949e-05/0.4524, allocations: 16.22 kB / 0.555 GB, free: 7.066 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4525, allocations: 0 / 0.555 GB, free: 7.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002658/0.4527, allocations: 69.59 kB / 0.5551 GB, free: 6.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.4528, allocations: 7.438 kB / 0.5551 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.4528, allocations: 4 kB / 0.5551 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4528, allocations: 0 / 0.5551 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.4532, allocations: 35.97 kB / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.4532, allocations: 0 / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.4533, allocations: 8 kB / 0.5552 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.4534, allocations: 4 kB / 0.5552 GB, free: 6.938 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 (7): * Single equations (assignments): 7 * 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 8.209e-05/0.4535, allocations: 42.94 kB / 0.5552 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.4536, allocations: 7.906 kB / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.4539, allocations: 82.17 kB / 0.5553 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.4539, allocations: 4 kB / 0.5553 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.454, allocations: 0 / 0.5553 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.454, allocations: 144 / 0.5553 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007583/0.4548, allocations: 342.9 kB / 0.5556 GB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.4548, allocations: 3.984 kB / 0.5556 GB, free: 6.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.455, allocations: 31.97 kB / 0.5556 GB, free: 6.383 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4551, allocations: 3.938 kB / 0.5557 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4551, allocations: 0 / 0.5557 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4551, allocations: 0 / 0.5557 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/0.4551, allocations: 7.906 kB / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003095/0.4554, allocations: 171.8 kB / 0.5558 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.4556, allocations: 96.91 kB / 0.5559 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.4556, allocations: 0 / 0.5559 GB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.4559, allocations: 15.98 kB / 0.5559 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.456, allocations: 0 / 0.5559 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.456, allocations: 4 kB / 0.5559 GB, free: 6.055 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002279/0.4563, allocations: 136.1 kB / 0.5561 GB, free: 5.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005415/0.4568, allocations: 27.94 kB / 0.5561 GB, free: 5.895 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 (7): * Single equations (assignments): 7 * 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.001183/0.458, allocations: 299.8 kB / 0.5564 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.4583, allocations: 40 kB / 0.5564 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4583, allocations: 0 / 0.5564 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/0.4584, allocations: 23.94 kB / 0.5564 GB, free: 5.566 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.4589, allocations: 20.53 kB / 0.5565 GB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.4596, allocations: 180.8 kB / 0.5566 GB, free: 5.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/0.4602, allocations: 0.727 MB / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4602, allocations: 0 / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of Templates: time 0.006572/0.4668, allocations: 1.689 MB / 0.559 GB, free: 2.898 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches