Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.000836/0.0008362, allocations: 184.3 kB / 7.801 MB, free: 2.496 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.068/1.068, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008294/0.0008293, allocations: 90.3 kB / 261.4 MB, free: 13.54 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.1536/0.1536, allocations: 43.5 MB / 352.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.531e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2379, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1057/0.3436, allocations: 86.31 MB / 0.5497 GB, free: 12.71 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3439, allocations: 67.97 kB / 0.5497 GB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0148/0.3587, allocations: 7.404 MB / 0.557 GB, free: 5.223 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3587, allocations: 4 kB / 0.557 GB, free: 5.219 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.000399/0.3591, allocations: 0.5407 MB / 0.5575 GB, free: 4.633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.3592, allocations: 8.031 kB / 0.5575 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.3592, allocations: 43.44 kB / 0.5576 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.3596, allocations: 331.3 kB / 0.5579 GB, free: 4.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.3596, allocations: 4 kB / 0.5579 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.3596, allocations: 0 / 0.5579 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.498e-05/0.3597, allocations: 23.92 kB / 0.5579 GB, free: 4.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.446e-05/0.3598, allocations: 41.7 kB / 0.5579 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.3598, allocations: 0 / 0.5579 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.3598, allocations: 3.984 kB / 0.5579 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3598, allocations: 0 / 0.5579 GB, free: 4.137 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.3603, allocations: 413.3 kB / 0.5583 GB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.3604, allocations: 38.41 kB / 0.5584 GB, free: 3.648 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.354e-05/0.3604, allocations: 8.922 kB / 0.5584 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.3605, allocations: 0 / 0.5584 GB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.8e-05/0.3605, allocations: 38.17 kB / 0.5584 GB, free: 3.594 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.3605, allocations: 4 kB / 0.5584 GB, free: 3.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001617/0.3606, allocations: 73.23 kB / 0.5585 GB, free: 3.512 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.3607, allocations: 51.41 kB / 0.5585 GB, free: 3.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009824/0.3617, allocations: 0.7589 MB / 0.5593 GB, free: 2.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.3617, allocations: 25.7 kB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.3618, allocations: 132.1 kB / 0.5594 GB, free: 2.516 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.3618, allocations: 3.906 kB / 0.5594 GB, free: 2.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/0.3618, allocations: 0 / 0.5594 GB, free: 2.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3619, allocations: 370.8 kB / 0.5598 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.3619, allocations: 4 kB / 0.5598 GB, free: 2.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.3619, allocations: 8 kB / 0.5598 GB, free: 2.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.869e-05/0.362, allocations: 7.938 kB / 0.5598 GB, free: 2.121 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.362, allocations: 0 / 0.5598 GB, free: 2.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/0.3621, allocations: 89.06 kB / 0.5599 GB, free: 2.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.3621, allocations: 4 kB / 0.5599 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3621, allocations: 0 / 0.5599 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.3621, allocations: 4 kB / 0.5599 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.45e-05/0.3622, allocations: 12.08 kB / 0.5599 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.3622, allocations: 0 / 0.5599 GB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.871e-05/0.3623, allocations: 4 kB / 0.5599 GB, free: 2.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3623, allocations: 0 / 0.5599 GB, free: 2.004 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 (2): * Single equations (assignments): 2 * 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.662e-05/0.3623, allocations: 108.8 kB / 0.56 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.3624, allocations: 39.53 kB / 0.5601 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.3626, allocations: 112.7 kB / 0.5602 GB, free: 1.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3626, allocations: 3.906 kB / 0.5602 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3626, allocations: 0 / 0.5602 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3626, allocations: 0 / 0.5602 GB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3628, allocations: 298 kB / 0.5604 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3628, allocations: 4 kB / 0.5605 GB, free: 1.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.3629, allocations: 4 kB / 0.5605 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3629, allocations: 0 / 0.5605 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.3629, allocations: 0 / 0.5605 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3629, allocations: 3.938 kB / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3629, allocations: 4.031 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000136/0.3631, allocations: 179 kB / 0.5606 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.3632, allocations: 160.5 kB / 0.5608 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.3633, allocations: 0 / 0.5608 GB, free: 1.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.3634, allocations: 4 kB / 0.5608 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.3634, allocations: 7.984 kB / 0.5608 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.3634, allocations: 0 / 0.5608 GB, free: 1.004 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005386/0.364, allocations: 0.6198 MB / 0.5614 GB, free: 396 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.3642, allocations: 44 kB / 0.5614 GB, free: 352 kB / 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 (2): * Single equations (assignments): 2 * 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.0004941/0.3647, allocations: 266 kB / 0.5617 GB, free: 116 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.3648, allocations: 19.98 kB / 0.5617 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3648, allocations: 0 / 0.5617 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.643e-05/0.3648, allocations: 4 kB / 0.5617 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3651, allocations: 29.81 kB / 0.5618 GB, free: 64 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3661, allocations: 0.684 MB / 0.5624 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.3665, allocations: 0.8528 MB / 0.5633 GB, free: 14.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3665, allocations: 0 / 0.5633 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Templates: time 0.004747/0.3713, allocations: 1.965 MB / 0.5652 GB, free: 12.49 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches