Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.529/1.529, allocations: 230.6 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2647/0.2647, allocations: 44.94 MB / 359.6 MB, free: 6.027 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 67.89 kB / 0.4943 GB, free: 9.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 65.49 MB / 0.5582 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003341/0.3569, allocations: 1.664 MB / 0.5598 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.3581, allocations: 0.5583 MB / 0.5604 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/0.3582, allocations: 4 kB / 0.5604 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.3588, allocations: 459.1 kB / 0.5608 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005084/0.3593, allocations: 295.3 kB / 0.5611 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.3598, allocations: 175 kB / 0.5613 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.36, allocations: 179.6 kB / 0.5615 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.3601, allocations: 16.22 kB / 0.5615 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.3603, allocations: 115.7 kB / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.3605, allocations: 251.5 kB / 0.5618 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3606, allocations: 4 kB / 0.5618 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3607, allocations: 55.91 kB / 0.5619 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.3608, allocations: 87.62 kB / 0.562 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.617e-05/0.3609, allocations: 67.25 kB / 0.562 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.3613, allocations: 285 kB / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3613, allocations: 0 / 0.5623 GB, free: 3.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3613, allocations: 4 kB / 0.5623 GB, free: 3.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.3613, allocations: 3.938 kB / 0.5623 GB, free: 3.242 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008216/0.3621, allocations: 0.5969 MB / 0.5629 GB, free: 2.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3621, allocations: 8.031 kB / 0.5629 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.3622, allocations: 48.61 kB / 0.5629 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3625, allocations: 242.8 kB / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3625, allocations: 384 / 0.5632 GB, free: 2.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3626, allocations: 8.375 kB / 0.5632 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3627, allocations: 61.8 kB / 0.5632 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.3628, allocations: 7.938 kB / 0.5632 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.3628, allocations: 4 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3628, allocations: 0 / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.3629, allocations: 35.97 kB / 0.5633 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.3634, allocations: 344.3 kB / 0.5636 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3635, allocations: 46.59 kB / 0.5637 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.357e-05/0.3636, allocations: 20.94 kB / 0.5637 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3636, allocations: 0 / 0.5637 GB, free: 1.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3637, allocations: 34.56 kB / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.3637, allocations: 0 / 0.5637 GB, free: 1.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009961/0.3646, allocations: 332.5 kB / 0.564 GB, free: 1.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3647, allocations: 51.41 kB / 0.5641 GB, free: 1.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/0.3656, allocations: 0.8691 MB / 0.5649 GB, free: 408 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.3656, allocations: 25.7 kB / 0.565 GB, free: 376 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.3658, allocations: 223.9 kB / 0.5652 GB, free: 148 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3659, allocations: 27.8 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.353e-05/0.3659, allocations: 21.7 kB / 0.5652 GB, free: 92 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.3661, allocations: 366.7 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.3662, allocations: 31.97 kB / 0.5656 GB, free: 15.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-05/0.3663, allocations: 27.98 kB / 0.5656 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.3664, allocations: 80.8 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3664, allocations: 0 / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002667/0.3667, allocations: 145.3 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3667, allocations: 8 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3667, allocations: 0 / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3667, allocations: 0 / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.3669, allocations: 23.92 kB / 0.5659 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3669, allocations: 7.938 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.3669, allocations: 3.984 kB / 0.5659 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3669, allocations: 7.938 kB / 0.5659 GB, free: 15.38 MB / 414.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.3671, allocations: 213.8 kB / 0.5661 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.3672, allocations: 43.72 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003601/0.3676, allocations: 173.7 kB / 0.5663 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3676, allocations: 4 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3676, allocations: 3.938 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3676, allocations: 3.984 kB / 0.5663 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.3682, allocations: 470.8 kB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3682, allocations: 0 / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.3683, allocations: 15.98 kB / 0.5668 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.3683, allocations: 7.938 kB / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3683, allocations: 0 / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3683, allocations: 0 / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3683, allocations: 0 / 0.5668 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.3687, allocations: 256 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.3687, allocations: 31.72 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.3687, allocations: 7.922 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.3688, allocations: 12.03 kB / 0.5671 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3689, allocations: 7.984 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3689, allocations: 8 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006954/0.3696, allocations: 0.6472 MB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3696, allocations: 0 / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3698, allocations: 35.92 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00189/0.3717, allocations: 481.4 kB / 0.5682 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002875/0.372, allocations: 79.88 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.372, allocations: 0 / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3721, allocations: 39.97 kB / 0.5683 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.3726, allocations: 33.84 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.374, allocations: 0.8715 MB / 0.5692 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.3743, allocations: 224.1 kB / 0.5694 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.741e-05/0.3744, allocations: 19.42 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3744, allocations: 4 kB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of Templates: time 0.00809/0.3824, allocations: 4.167 MB / 0.5735 GB, free: 7.629 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.016941186971962]