Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") [: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.0009629/0.000963, allocations: 191.5 kB / 7.807 MB, free: 2.488 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.086/1.086, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0007578/0.0007578, allocations: 94.91 kB / 261.4 MB, free: 13.63 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.1612/0.1612, allocations: 43.48 MB / 352.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.136e-06/8.166e-06, allocations: 4 kB / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.238, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.34, allocations: 87.91 MB / 0.5512 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001536/0.3402, allocations: 71.45 kB / 0.5513 GB, free: 11.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02/0.3602, allocations: 8.441 MB / 0.5596 GB, free: 2.598 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.3603, allocations: 12 kB / 0.5596 GB, free: 2.586 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004829/0.3608, allocations: 0.5563 MB / 0.5601 GB, free: 1.984 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.3608, allocations: 8.031 kB / 0.5601 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.3609, allocations: 39.53 kB / 0.5602 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.3613, allocations: 341 kB / 0.5605 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.178e-06/0.3613, allocations: 4 kB / 0.5605 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3613, allocations: 8 kB / 0.5605 GB, free: 1.551 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001172/0.3615, allocations: 51.98 kB / 0.5605 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.3616, allocations: 84.52 kB / 0.5606 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3616, allocations: 0 / 0.5606 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3616, allocations: 0 / 0.5606 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3616, allocations: 7.906 kB / 0.5606 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.3622, allocations: 484.8 kB / 0.5611 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.3623, allocations: 77.64 kB / 0.5612 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.806e-05/0.3623, allocations: 24.86 kB / 0.5612 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.3624, allocations: 4 kB / 0.5612 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.3624, allocations: 34.56 kB / 0.5612 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.3624, allocations: 4 kB / 0.5612 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006096/0.363, allocations: 308.1 kB / 0.5615 GB, free: 436 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.3631, allocations: 55.34 kB / 0.5616 GB, free: 368 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.3635, allocations: 473 kB / 0.562 GB, free: 15.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.3636, allocations: 25.7 kB / 0.5621 GB, free: 15.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.3636, allocations: 136.4 kB / 0.5622 GB, free: 15.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.3637, allocations: 59.11 kB / 0.5622 GB, free: 15.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.3637, allocations: 0 / 0.5622 GB, free: 15.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3638, allocations: 354.8 kB / 0.5626 GB, free: 15.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.3639, allocations: 32 kB / 0.5626 GB, free: 15.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.3639, allocations: 36 kB / 0.5626 GB, free: 15.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/0.364, allocations: 43.98 kB / 0.5627 GB, free: 15.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.364, allocations: 3.906 kB / 0.5627 GB, free: 15.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002174/0.3642, allocations: 164.6 kB / 0.5628 GB, free: 15.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3643, allocations: 4 kB / 0.5628 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.3643, allocations: 4 kB / 0.5629 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3643, allocations: 4 kB / 0.5629 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.3644, allocations: 43.81 kB / 0.5629 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.3644, allocations: 0 / 0.5629 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.3645, allocations: 8 kB / 0.5629 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.3646, allocations: 7.938 kB / 0.5629 GB, free: 14.96 MB / 410.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 (17): * Single equations (assignments): 17 * 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.663e-05/0.3646, allocations: 106.4 kB / 0.563 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.826e-05/0.3647, allocations: 43.44 kB / 0.5631 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.365, allocations: 213.1 kB / 0.5633 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.365, allocations: 4 kB / 0.5633 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.365, allocations: 3.938 kB / 0.5633 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3651, allocations: 3.984 kB / 0.5633 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.3657, allocations: 0.608 MB / 0.5639 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3657, allocations: 0 / 0.5639 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.3658, allocations: 35.97 kB / 0.5639 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3659, allocations: 4 kB / 0.5639 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.3659, allocations: 0 / 0.5639 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3659, allocations: 0 / 0.5639 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3659, allocations: 7.906 kB / 0.5639 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002428/0.3661, allocations: 274.3 kB / 0.5642 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.3662, allocations: 144.6 kB / 0.5643 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.3663, allocations: 0 / 0.5643 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.3664, allocations: 7.984 kB / 0.5643 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3665, allocations: 15.98 kB / 0.5643 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.3665, allocations: 8 kB / 0.5643 GB, free: 13.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000336/0.3668, allocations: 379.1 kB / 0.5647 GB, free: 13.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002913/0.3671, allocations: 59.92 kB / 0.5648 GB, free: 12.98 MB / 410.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 (17): * Single equations (assignments): 17 * 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.000865/0.368, allocations: 0.4923 MB / 0.5652 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001695/0.3682, allocations: 108 kB / 0.5653 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3682, allocations: 3.938 kB / 0.5653 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.3683, allocations: 55.94 kB / 0.5654 GB, free: 12.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3686, allocations: 73.34 kB / 0.5655 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007799/0.3694, allocations: 0.4964 MB / 0.566 GB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.3699, allocations: 0.8642 MB / 0.5668 GB, free: 10.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3699, allocations: 0 / 0.5668 GB, free: 10.88 MB / 410.7 MB Notification: Performance of Templates: time 0.006399/0.3763, allocations: 3.556 MB / 0.5703 GB, free: 7.324 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches