Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6") translateModel(ModelicaTest.Tables.CombiTable2D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000947/0.000947, allocations: 178.6 kB / 7.8 MB, free: 2.328 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.075/1.075, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0007814/0.0007814, allocations: 83.97 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.1602/0.1602, allocations: 43.48 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.704e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2464, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0995/0.346, allocations: 85.99 MB / 0.5494 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001488/0.3461, allocations: 71.95 kB / 0.5494 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01481/0.361, allocations: 7.27 MB / 0.5565 GB, free: 5.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.361, allocations: 15.94 kB / 0.5565 GB, free: 5.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004456/0.3615, allocations: 0.552 MB / 0.5571 GB, free: 5.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3615, allocations: 11.2 kB / 0.5571 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.3616, allocations: 43.44 kB / 0.5571 GB, free: 5.035 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.362, allocations: 327.3 kB / 0.5574 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.362, allocations: 4 kB / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.362, allocations: 0 / 0.5574 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.483e-05/0.3621, allocations: 27.94 kB / 0.5575 GB, free: 4.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.589e-05/0.3621, allocations: 41.69 kB / 0.5575 GB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3622, allocations: 3.906 kB / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3622, allocations: 0 / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3622, allocations: 0 / 0.5575 GB, free: 4.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.3626, allocations: 405.3 kB / 0.5579 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.893e-05/0.3627, allocations: 42.5 kB / 0.5579 GB, free: 4.105 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.3627, allocations: 16.84 kB / 0.558 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.3628, allocations: 0 / 0.558 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3628, allocations: 34.56 kB / 0.558 GB, free: 4.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.3628, allocations: 3.938 kB / 0.558 GB, free: 4.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004712/0.3633, allocations: 212.1 kB / 0.5582 GB, free: 3.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.3633, allocations: 51.41 kB / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.3643, allocations: 0.7551 MB / 0.559 GB, free: 3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3644, allocations: 29.7 kB / 0.559 GB, free: 2.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.3644, allocations: 132 kB / 0.5591 GB, free: 2.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3645, allocations: 27.64 kB / 0.5592 GB, free: 2.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.3645, allocations: 0 / 0.5592 GB, free: 2.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.3646, allocations: 358.8 kB / 0.5595 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.885e-05/0.3646, allocations: 16 kB / 0.5595 GB, free: 2.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.3647, allocations: 12 kB / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.196e-05/0.3647, allocations: 15.98 kB / 0.5596 GB, free: 2.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.3647, allocations: 0 / 0.5596 GB, free: 2.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001393/0.3648, allocations: 101.1 kB / 0.5596 GB, free: 2.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.3649, allocations: 7.938 kB / 0.5597 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3649, allocations: 3.984 kB / 0.5597 GB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3649, allocations: 3.906 kB / 0.5597 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.365, allocations: 27.98 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-06/0.365, allocations: 0 / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.3651, allocations: 19.98 kB / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3651, allocations: 4 kB / 0.5597 GB, free: 2.23 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 (7): * Single equations (assignments): 7 * 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.104e-05/0.3652, allocations: 109.9 kB / 0.5598 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.3653, allocations: 39.44 kB / 0.5599 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.3655, allocations: 133.8 kB / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.3655, allocations: 0 / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3655, allocations: 0 / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3655, allocations: 0 / 0.56 GB, free: 1.941 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006021/0.3661, allocations: 0.5651 MB / 0.5605 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3661, allocations: 0 / 0.5605 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.3662, allocations: 23.98 kB / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3662, allocations: 0 / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.3662, allocations: 0 / 0.5606 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3662, allocations: 8 kB / 0.5606 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3663, allocations: 3.906 kB / 0.5606 GB, free: 1.297 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001719/0.3664, allocations: 207 kB / 0.5608 GB, free: 1.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3666, allocations: 160.5 kB / 0.5609 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.3667, allocations: 4 kB / 0.5609 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.3668, allocations: 15.92 kB / 0.5609 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3668, allocations: 11.98 kB / 0.5609 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3668, allocations: 0 / 0.5609 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005695/0.3674, allocations: 0.6082 MB / 0.5615 GB, free: 272 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.000278/0.3677, allocations: 56 kB / 0.5616 GB, free: 216 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 (7): * Single equations (assignments): 7 * 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.0005497/0.3683, allocations: 300.2 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.852e-05/0.3684, allocations: 39.98 kB / 0.5619 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.3684, allocations: 4 kB / 0.5619 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.65e-05/0.3684, allocations: 24.33 kB / 0.5619 GB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.3687, allocations: 29.92 kB / 0.562 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3697, allocations: 0.7124 MB / 0.5627 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.3701, allocations: 0.8606 MB / 0.5635 GB, free: 14.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3702, allocations: 0 / 0.5635 GB, free: 14.23 MB / 410.7 MB Notification: Performance of Templates: time 0.005355/0.3755, allocations: 2.305 MB / 0.5658 GB, free: 11.91 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches