Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.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.Test11,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.Test11") translateModel(ModelicaTest.Tables.CombiTable1D.Test11,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.Test11") [: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.0008807/0.0008807, allocations: 187.2 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.087/1.087, 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.0007482/0.0007484, allocations: 86.05 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.1586/0.1586, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.294e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2438, allocations: 58.83 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1023/0.3462, allocations: 85.63 MB / 0.549 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001646/0.3464, allocations: 71.97 kB / 0.5491 GB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008812/0.3552, allocations: 3.258 MB / 0.5523 GB, free: 10.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3552, allocations: 4 kB / 0.5523 GB, free: 10.02 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.0002877/0.3555, allocations: 374.2 kB / 0.5526 GB, free: 9.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.3555, allocations: 8.031 kB / 0.5526 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.835e-05/0.3556, allocations: 7.906 kB / 0.5526 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.3558, allocations: 206.1 kB / 0.5528 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.3558, allocations: 0 / 0.5528 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3558, allocations: 0 / 0.5528 GB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.361e-05/0.3559, allocations: 15.98 kB / 0.5529 GB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.933e-05/0.3559, allocations: 41.64 kB / 0.5529 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.3559, allocations: 3.906 kB / 0.5529 GB, free: 9.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.356, allocations: 3.984 kB / 0.5529 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.356, allocations: 4 kB / 0.5529 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.3563, allocations: 265.4 kB / 0.5532 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3564, allocations: 33.7 kB / 0.5532 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.171e-05/0.3564, allocations: 12.8 kB / 0.5532 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3565, allocations: 0 / 0.5532 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.3565, allocations: 38.56 kB / 0.5532 GB, free: 8.875 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.094e-06/0.3565, allocations: 4 kB / 0.5532 GB, free: 8.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003136/0.3568, allocations: 105.4 kB / 0.5533 GB, free: 8.762 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.3569, allocations: 51.41 kB / 0.5534 GB, free: 8.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.357, allocations: 145 kB / 0.5535 GB, free: 8.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.357, allocations: 29.7 kB / 0.5536 GB, free: 8.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.357, allocations: 88.08 kB / 0.5536 GB, free: 8.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.3571, allocations: 23.7 kB / 0.5537 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.3571, allocations: 0 / 0.5537 GB, free: 8.402 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.3572, allocations: 318.8 kB / 0.554 GB, free: 8.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.3572, allocations: 8 kB / 0.554 GB, free: 8.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.202e-05/0.3572, allocations: 19.92 kB / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.3573, allocations: 12 kB / 0.554 GB, free: 8.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3573, allocations: 0 / 0.554 GB, free: 8.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.73e-05/0.3574, allocations: 69.78 kB / 0.5541 GB, free: 7.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.285e-06/0.3574, allocations: 4 kB / 0.5541 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3574, allocations: 4 kB / 0.5541 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.3574, allocations: 0 / 0.5541 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.926e-05/0.3575, allocations: 19.98 kB / 0.5541 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.3575, allocations: 0 / 0.5541 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.3576, allocations: 11.89 kB / 0.5541 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3576, allocations: 4 kB / 0.5541 GB, free: 7.926 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 6.059e-05/0.3576, allocations: 110.4 kB / 0.5542 GB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.3577, allocations: 7.906 kB / 0.5542 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.3578, allocations: 77.8 kB / 0.5543 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3578, allocations: 4 kB / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3578, allocations: 0 / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3578, allocations: 0 / 0.5543 GB, free: 7.715 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.3581, allocations: 319 kB / 0.5546 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3581, allocations: 0 / 0.5546 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.992e-05/0.3582, allocations: 16 kB / 0.5546 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3582, allocations: 0 / 0.5546 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.3582, allocations: 7.938 kB / 0.5546 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.3582, allocations: 0 / 0.5546 GB, free: 7.336 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3582, allocations: 7.891 kB / 0.5546 GB, free: 7.328 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001176/0.3584, allocations: 159.6 kB / 0.5548 GB, free: 7.156 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.3584, allocations: 89.02 kB / 0.5549 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3584, allocations: 0 / 0.5549 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.3585, allocations: 7.984 kB / 0.5549 GB, free: 7.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.3585, allocations: 4 kB / 0.5549 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3585, allocations: 12.03 kB / 0.5549 GB, free: 7.027 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.954e-05/0.3586, allocations: 126.3 kB / 0.555 GB, free: 6.906 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000214/0.3589, allocations: 19.94 kB / 0.555 GB, free: 6.887 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.0005747/0.3594, allocations: 306.4 kB / 0.5553 GB, free: 6.617 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.061e-05/0.3595, allocations: 36 kB / 0.5554 GB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.3595, allocations: 0 / 0.5554 GB, free: 6.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.3596, allocations: 19.98 kB / 0.5554 GB, free: 6.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.3598, allocations: 15.86 kB / 0.5554 GB, free: 6.547 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.36, allocations: 131.5 kB / 0.5555 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3603, allocations: 0.7231 MB / 0.5562 GB, free: 5.641 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3603, allocations: 0 / 0.5562 GB, free: 5.641 MB / 394.7 MB Notification: Performance of Templates: time 0.002784/0.3631, allocations: 1.128 MB / 0.5573 GB, free: 4.52 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches