Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008674/0.0008675, allocations: 187.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.083/1.083, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007565/0.0007565, allocations: 89.95 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.161/0.161, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.753e-06/6.773e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2418, allocations: 58.83 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1056/0.3474, allocations: 85.63 MB / 0.549 GB, free: 13.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.3476, allocations: 63.97 kB / 0.5491 GB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008324/0.356, allocations: 3.212 MB / 0.5522 GB, free: 10.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.356, allocations: 4 kB / 0.5522 GB, free: 10.05 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.0003109/0.3563, allocations: 378.1 kB / 0.5526 GB, free: 9.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3563, allocations: 8.031 kB / 0.5526 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3564, allocations: 11.81 kB / 0.5526 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.3566, allocations: 191 kB / 0.5528 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.69e-06/0.3566, allocations: 0 / 0.5528 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.3566, allocations: 0 / 0.5528 GB, free: 9.387 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.542e-05/0.3567, allocations: 20 kB / 0.5528 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.716e-05/0.3568, allocations: 41.69 kB / 0.5528 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3568, allocations: 0 / 0.5528 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.3568, allocations: 0 / 0.5528 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.3568, allocations: 0 / 0.5528 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.3571, allocations: 265.4 kB / 0.5531 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3572, allocations: 37.64 kB / 0.5531 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.3573, allocations: 12.86 kB / 0.5531 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3573, allocations: 4 kB / 0.5531 GB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.3573, allocations: 38.55 kB / 0.5532 GB, free: 8.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.3573, allocations: 0 / 0.5532 GB, free: 8.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003412/0.3577, allocations: 109.3 kB / 0.5533 GB, free: 8.801 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.3577, allocations: 55.39 kB / 0.5533 GB, free: 8.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3578, allocations: 137.2 kB / 0.5535 GB, free: 8.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.3578, allocations: 25.7 kB / 0.5535 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/0.3579, allocations: 84.12 kB / 0.5536 GB, free: 8.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.3579, allocations: 19.75 kB / 0.5536 GB, free: 8.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.3579, allocations: 3.938 kB / 0.5536 GB, free: 8.449 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.358, allocations: 330.7 kB / 0.5539 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.358, allocations: 8 kB / 0.5539 GB, free: 8.109 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.931e-05/0.358, allocations: 12 kB / 0.5539 GB, free: 8.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.3581, allocations: 16.17 kB / 0.5539 GB, free: 8.082 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.3581, allocations: 0 / 0.5539 GB, free: 8.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.413e-05/0.3582, allocations: 73.53 kB / 0.554 GB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.3582, allocations: 4 kB / 0.554 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3582, allocations: 0 / 0.554 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.3582, allocations: 0 / 0.554 GB, free: 8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.3583, allocations: 16 kB / 0.554 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3583, allocations: 3.984 kB / 0.554 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.3584, allocations: 4 kB / 0.554 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.3584, allocations: 4 kB / 0.554 GB, free: 7.973 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.189e-05/0.3584, allocations: 101 kB / 0.5541 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.3585, allocations: 11.81 kB / 0.5542 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.3586, allocations: 85.8 kB / 0.5542 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.3586, allocations: 0 / 0.5542 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3586, allocations: 4 kB / 0.5542 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3586, allocations: 0 / 0.5542 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.3589, allocations: 319 kB / 0.5545 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3589, allocations: 0 / 0.5545 GB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.167e-05/0.359, allocations: 12 kB / 0.5546 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.359, allocations: 4 kB / 0.5546 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.359, allocations: 0 / 0.5546 GB, free: 7.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.359, allocations: 3.984 kB / 0.5546 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.359, allocations: 0 / 0.5546 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000111/0.3591, allocations: 163.7 kB / 0.5547 GB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.3592, allocations: 88.92 kB / 0.5548 GB, free: 7.102 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.3592, allocations: 4.062 kB / 0.5548 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3593, allocations: 11.98 kB / 0.5548 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.3593, allocations: 7.938 kB / 0.5548 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.3593, allocations: 0 / 0.5548 GB, free: 7.078 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.907e-05/0.3594, allocations: 122.7 kB / 0.5549 GB, free: 6.961 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.3596, allocations: 19.94 kB / 0.555 GB, free: 6.941 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.0005019/0.3601, allocations: 302 kB / 0.5553 GB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.959e-05/0.3602, allocations: 39.94 kB / 0.5553 GB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.3602, allocations: 0 / 0.5553 GB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.3602, allocations: 16 kB / 0.5553 GB, free: 6.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.3604, allocations: 15.84 kB / 0.5553 GB, free: 6.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.3607, allocations: 127.5 kB / 0.5554 GB, free: 6.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.3609, allocations: 0.7146 MB / 0.5561 GB, free: 5.719 MB / 394.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3609, allocations: 7.938 kB / 0.5561 GB, free: 5.711 MB / 394.7 MB Notification: Performance of Templates: time 0.002712/0.3637, allocations: 1.113 MB / 0.5572 GB, free: 4.605 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches