Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6") [: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.002362/0.002362, allocations: 170.2 kB / 8.147 MB, free: 2.223 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.729/1.729, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001304/0.001303, allocations: 89.55 kB / 261.8 MB, free: 13.63 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.2698/0.2698, allocations: 43.49 MB / 353.2 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.846e-06/8.977e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2687, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1506/0.4194, allocations: 85.78 MB / 0.5491 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4198, allocations: 75.23 kB / 0.5492 GB, free: 13.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01749/0.4373, allocations: 3.9 MB / 0.553 GB, free: 9.328 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.4373, allocations: 4 kB / 0.553 GB, free: 9.324 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005154/0.4378, allocations: 402 kB / 0.5534 GB, free: 8.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4379, allocations: 8.031 kB / 0.5534 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.438, allocations: 11.81 kB / 0.5534 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.4383, allocations: 206.9 kB / 0.5536 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.4383, allocations: 3.906 kB / 0.5536 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.4384, allocations: 4 kB / 0.5536 GB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.4385, allocations: 31.92 kB / 0.5537 GB, free: 8.586 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.4387, allocations: 71.39 kB / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.4387, allocations: 0 / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.4387, allocations: 0 / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4387, allocations: 0 / 0.5537 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.4394, allocations: 381.5 kB / 0.5541 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.4397, allocations: 67.44 kB / 0.5542 GB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.167e-05/0.4398, allocations: 25.72 kB / 0.5542 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.4398, allocations: 3.906 kB / 0.5542 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4399, allocations: 42.5 kB / 0.5542 GB, free: 7.926 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.4399, allocations: 0 / 0.5542 GB, free: 7.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007705/0.4407, allocations: 185.1 kB / 0.5544 GB, free: 7.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.4407, allocations: 81.11 kB / 0.5545 GB, free: 7.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.4411, allocations: 197.4 kB / 0.5547 GB, free: 7.438 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.4411, allocations: 29.7 kB / 0.5547 GB, free: 7.402 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.4412, allocations: 154.5 kB / 0.5548 GB, free: 7.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.4412, allocations: 27.56 kB / 0.5549 GB, free: 7.223 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.203e-06/0.4413, allocations: 0 / 0.5549 GB, free: 7.223 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4414, allocations: 318.8 kB / 0.5552 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.076e-05/0.4415, allocations: 20 kB / 0.5552 GB, free: 6.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.093e-05/0.4416, allocations: 45.64 kB / 0.5552 GB, free: 6.832 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.006e-05/0.4417, allocations: 32.11 kB / 0.5553 GB, free: 6.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.4417, allocations: 7.906 kB / 0.5553 GB, free: 6.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000272/0.442, allocations: 89.61 kB / 0.5554 GB, free: 6.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.442, allocations: 4 kB / 0.5554 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.442, allocations: 4.281 kB / 0.5554 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4421, allocations: 0 / 0.5554 GB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.4423, allocations: 23.98 kB / 0.5554 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4423, allocations: 0 / 0.5554 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.599e-05/0.4424, allocations: 8 kB / 0.5554 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4424, allocations: 7.984 kB / 0.5554 GB, free: 6.652 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.408e-05/0.4425, allocations: 34.95 kB / 0.5554 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.572e-05/0.4426, allocations: 23.8 kB / 0.5555 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.443, allocations: 110.8 kB / 0.5556 GB, free: 6.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.443, allocations: 4 kB / 0.5556 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.443, allocations: 3.938 kB / 0.5556 GB, free: 6.473 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.443, allocations: 4 kB / 0.5556 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000854/0.4439, allocations: 483 kB / 0.556 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4439, allocations: 4 kB / 0.556 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/0.4441, allocations: 20.3 kB / 0.5561 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.4441, allocations: 4 kB / 0.5561 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4441, allocations: 8.031 kB / 0.5561 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.4441, allocations: 3.938 kB / 0.5561 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.4442, allocations: 7.984 kB / 0.5561 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003507/0.4445, allocations: 298.8 kB / 0.5564 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.4446, allocations: 104.9 kB / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.4447, allocations: 0 / 0.5565 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.4449, allocations: 4 kB / 0.5565 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4449, allocations: 11.98 kB / 0.5565 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.445, allocations: 4 kB / 0.5565 GB, free: 5.438 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002313/0.4452, allocations: 164.2 kB / 0.5566 GB, free: 5.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.4456, allocations: 31.94 kB / 0.5567 GB, free: 5.246 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0008515/0.4465, allocations: 307.3 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.4467, allocations: 63.92 kB / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4467, allocations: 0 / 0.557 GB, free: 4.914 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4468, allocations: 35.92 kB / 0.5571 GB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.4472, allocations: 16.28 kB / 0.5571 GB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007341/0.448, allocations: 246.9 kB / 0.5573 GB, free: 4.586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/0.4484, allocations: 0.7394 MB / 0.558 GB, free: 3.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4485, allocations: 0 / 0.558 GB, free: 3.82 MB / 394.7 MB Notification: Performance of Templates: time 0.005326/0.4538, allocations: 1.894 MB / 0.5599 GB, free: 1.926 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches