Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.001366/0.001366, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001591/0.001591, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.598/1.598, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2329/0.2329, allocations: 44.93 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14") [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.002058/0.002058, allocations: 63.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3587, allocations: 65.48 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.003321/0.362, allocations: 1.652 MB / 0.5591 GB, free: 5.797 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.3641, allocations: 1.267 MB / 0.5603 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.996e-05/0.3642, allocations: 0 / 0.5603 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.3644, allocations: 31.77 kB / 0.5603 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.3648, allocations: 91.61 kB / 0.5604 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.3653, allocations: 171.2 kB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.3655, allocations: 75.77 kB / 0.5607 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3656, allocations: 15.98 kB / 0.5607 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.585e-05/0.3657, allocations: 35.84 kB / 0.5607 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3658, allocations: 39.77 kB / 0.5608 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.3658, allocations: 8 kB / 0.5608 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001744/0.366, allocations: 87.95 kB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.023e-05/0.3661, allocations: 19.92 kB / 0.5609 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.3661, allocations: 23.86 kB / 0.5609 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.3664, allocations: 157.8 kB / 0.561 GB, free: 3.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3664, allocations: 0 / 0.561 GB, free: 3.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3664, allocations: 0 / 0.561 GB, free: 3.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3664, allocations: 0 / 0.561 GB, free: 3.789 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005514/0.367, allocations: 341.6 kB / 0.5614 GB, free: 3.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.367, allocations: 8.031 kB / 0.5614 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.3671, allocations: 12.89 kB / 0.5614 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3673, allocations: 142.3 kB / 0.5615 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.3673, allocations: 384 / 0.5615 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3673, allocations: 4.375 kB / 0.5615 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3675, allocations: 105.2 kB / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3675, allocations: 0 / 0.5616 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3676, allocations: 4 kB / 0.5616 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3676, allocations: 0 / 0.5616 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.3677, allocations: 35.97 kB / 0.5617 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.3681, allocations: 260.3 kB / 0.5619 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3683, allocations: 46.55 kB / 0.562 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.3684, allocations: 24.94 kB / 0.562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.3684, allocations: 0 / 0.562 GB, free: 2.711 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3684, allocations: 34.56 kB / 0.562 GB, free: 2.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.3684, allocations: 0 / 0.562 GB, free: 2.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008765/0.3693, allocations: 229.3 kB / 0.5622 GB, free: 2.438 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.3694, allocations: 81.09 kB / 0.5623 GB, free: 2.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.3695, allocations: 151.9 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.3696, allocations: 25.7 kB / 0.5625 GB, free: 2.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.3697, allocations: 100.1 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3697, allocations: 23.73 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.3697, allocations: 25.72 kB / 0.5626 GB, free: 1.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.3699, allocations: 326.8 kB / 0.5629 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.37, allocations: 43.97 kB / 0.563 GB, free: 1.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.3702, allocations: 79.38 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.3704, allocations: 85.03 kB / 0.5631 GB, free: 1.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3704, allocations: 4.031 kB / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003228/0.3708, allocations: 129.6 kB / 0.5633 GB, free: 1.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3708, allocations: 4 kB / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3708, allocations: 0 / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3708, allocations: 0 / 0.5633 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3709, allocations: 27.86 kB / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3709, allocations: 0 / 0.5633 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.049e-05/0.371, allocations: 15.98 kB / 0.5633 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.371, allocations: 3.938 kB / 0.5633 GB, free: 1.262 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001275/0.3712, allocations: 121.8 kB / 0.5634 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.3712, allocations: 7.953 kB / 0.5634 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.3716, allocations: 134.3 kB / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3716, allocations: 0 / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3716, allocations: 0 / 0.5636 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3716, allocations: 8.219 kB / 0.5636 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/0.3722, allocations: 358 kB / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3722, allocations: 0 / 0.5639 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.397e-05/0.3723, allocations: 19.98 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3723, allocations: 3.984 kB / 0.5639 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.3723, allocations: 4 kB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3723, allocations: 0 / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3723, allocations: 3.938 kB / 0.5639 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.3727, allocations: 231.4 kB / 0.5642 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.3727, allocations: 7.938 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3727, allocations: 8 kB / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3729, allocations: 7.984 kB / 0.5642 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3729, allocations: 7.938 kB / 0.5642 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3729, allocations: 0 / 0.5642 GB, free: 288 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.373, allocations: 117.6 kB / 0.5643 GB, free: 172 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.373, allocations: 4 kB / 0.5643 GB, free: 168 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.3733, allocations: 43.86 kB / 0.5644 GB, free: 124 kB / 398.1 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 () * Number of clocked 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 (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.001979/0.3753, allocations: 0.5231 MB / 0.5649 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.3756, allocations: 91.78 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3756, allocations: 0 / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3758, allocations: 47.95 kB / 0.565 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3761, allocations: 20 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.3767, allocations: 217.8 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001174/0.3768, allocations: 87.67 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.3769, allocations: 28.94 kB / 0.5653 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.277e-05/0.377, allocations: 19.42 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.7e-07/0.377, allocations: 0 / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Templates: time 0.005507/0.3825, allocations: 2.008 MB / 0.5673 GB, free: 13.27 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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: 5.337205095216632]