Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1D.Test26,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.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.001688/0.001687, allocations: 167.8 kB / 8.142 MB, free: 2.695 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 213.7 MB, free: 2.234 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 94.34 kB / 261.8 MB, free: 1.492 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3311/0.3311, allocations: 43.49 MB / 353.2 MB, free: 5.906 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 1.085e-05/1.102e-05, allocations: 0 / 417.7 MB, free: 63.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 58.85 MB / 476.6 MB, free: 4.297 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3993/0.5153, allocations: 86.09 MB / 0.5495 GB, free: 1.398 MB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5156, allocations: 72.66 kB / 0.5495 GB, free: 1.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.01608/0.5317, allocations: 3.563 MB / 0.553 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.5318, allocations: 8 kB / 0.553 GB, free: 14.41 MB / 382.1 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.0004766/0.5323, allocations: 391.9 kB / 0.5534 GB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.5324, allocations: 8.031 kB / 0.5534 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.5324, allocations: 7.906 kB / 0.5534 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.5327, allocations: 201.4 kB / 0.5536 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.5328, allocations: 0 / 0.5536 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5328, allocations: 4 kB / 0.5536 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.603e-05/0.5329, allocations: 15.38 kB / 0.5536 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.574e-05/0.533, allocations: 40.62 kB / 0.5537 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.533, allocations: 0 / 0.5537 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.533, allocations: 4 kB / 0.5537 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.5331, allocations: 0 / 0.5537 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004844/0.5335, allocations: 277.7 kB / 0.5539 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.5338, allocations: 28.72 kB / 0.5539 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.5338, allocations: 15.11 kB / 0.554 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.5339, allocations: 4.078 kB / 0.554 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.5339, allocations: 30.56 kB / 0.554 GB, free: 13.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.5339, allocations: 0 / 0.554 GB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005598/0.5345, allocations: 119 kB / 0.5541 GB, free: 13.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.5345, allocations: 59.39 kB / 0.5542 GB, free: 13.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.5348, allocations: 178.1 kB / 0.5543 GB, free: 12.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.5349, allocations: 25.7 kB / 0.5544 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.5349, allocations: 158.5 kB / 0.5545 GB, free: 12.78 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.535, allocations: 19.48 kB / 0.5545 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.535, allocations: 0 / 0.5545 GB, free: 12.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5351, allocations: 314.8 kB / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/0.5352, allocations: 7.875 kB / 0.5548 GB, free: 12.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.5352, allocations: 11.62 kB / 0.5548 GB, free: 12.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.016e-05/0.5353, allocations: 18.8 kB / 0.5549 GB, free: 12.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5353, allocations: 0 / 0.5549 GB, free: 12.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001587/0.5355, allocations: 71.97 kB / 0.5549 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.5355, allocations: 4 kB / 0.5549 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.5355, allocations: 0 / 0.5549 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.5355, allocations: 0 / 0.5549 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.5357, allocations: 15.98 kB / 0.555 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5357, allocations: 0 / 0.555 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.5358, allocations: 12 kB / 0.555 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.5358, allocations: 0 / 0.555 GB, free: 12.32 MB / 382.1 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.421e-05/0.5359, allocations: 31.25 kB / 0.555 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.5359, allocations: 15.81 kB / 0.555 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.5362, allocations: 80.78 kB / 0.5551 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.5362, allocations: 0 / 0.5551 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.5362, allocations: 7.938 kB / 0.5551 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5362, allocations: 4 kB / 0.5551 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.5367, allocations: 324.5 kB / 0.5554 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5367, allocations: 0 / 0.5554 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.5369, allocations: 19.3 kB / 0.5554 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.5369, allocations: 0 / 0.5554 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.5369, allocations: 0 / 0.5554 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5369, allocations: 3.938 kB / 0.5554 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5369, allocations: 0 / 0.5554 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002093/0.5371, allocations: 173.7 kB / 0.5556 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.5372, allocations: 89 kB / 0.5557 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.5373, allocations: 256 / 0.5557 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.5374, allocations: 15.91 kB / 0.5557 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.5375, allocations: 7.484 kB / 0.5557 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5375, allocations: 4 kB / 0.5557 GB, free: 11.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0001881/0.5377, allocations: 155.6 kB / 0.5559 GB, free: 11.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003078/0.538, allocations: 22.62 kB / 0.5559 GB, free: 11.37 MB / 382.1 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.0008624/0.5389, allocations: 306.9 kB / 0.5562 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001484/0.5391, allocations: 37.73 kB / 0.5562 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5391, allocations: 0 / 0.5562 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.021e-05/0.5391, allocations: 15.88 kB / 0.5562 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.5394, allocations: 19.55 kB / 0.5562 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.54, allocations: 185.7 kB / 0.5564 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000418/0.5405, allocations: 0.7224 MB / 0.5571 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5405, allocations: 0 / 0.5571 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Templates: time 0.004743/0.5452, allocations: 1.601 MB / 0.5587 GB, free: 8.512 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches