Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001787/0.001787, allocations: 107.1 kB / 20.44 MB, free: 1.328 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.002155/0.002155, allocations: 205.3 kB / 23.72 MB, free: 4.5 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.581/1.581, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2567/0.2567, allocations: 44.93 MB / 358.8 MB, free: 6.078 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,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.Test12") [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.00299/0.00299, allocations: 71.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3641, allocations: 65.47 MB / 0.5575 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003393/0.3675, allocations: 1.652 MB / 0.5591 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3696, allocations: 1.263 MB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.3697, allocations: 0 / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001819/0.3699, allocations: 27.8 kB / 0.5603 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.3702, allocations: 83.61 kB / 0.5604 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004435/0.3706, allocations: 183 kB / 0.5606 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.3708, allocations: 79.77 kB / 0.5607 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.3709, allocations: 15.97 kB / 0.5607 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.3709, allocations: 31.86 kB / 0.5607 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.371, allocations: 31.84 kB / 0.5608 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.3711, allocations: 7.938 kB / 0.5608 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.3712, allocations: 95.94 kB / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.908e-05/0.3713, allocations: 19.92 kB / 0.5609 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.3713, allocations: 23.86 kB / 0.5609 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.3716, allocations: 157.8 kB / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3716, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3716, allocations: 0 / 0.561 GB, free: 3.695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.3716, allocations: 4 kB / 0.561 GB, free: 3.691 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.0005354/0.3721, allocations: 333.7 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3722, allocations: 12.03 kB / 0.5614 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.3722, allocations: 8.891 kB / 0.5614 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3724, allocations: 134.4 kB / 0.5615 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.3724, allocations: 12.36 kB / 0.5615 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.3725, allocations: 8.312 kB / 0.5615 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3727, allocations: 105.2 kB / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3727, allocations: 0 / 0.5616 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3727, allocations: 4 kB / 0.5616 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3727, allocations: 3.984 kB / 0.5616 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.3729, allocations: 39.97 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.3733, allocations: 248.4 kB / 0.5619 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.3734, allocations: 46.5 kB / 0.562 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.645e-05/0.3735, allocations: 24.94 kB / 0.562 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3735, allocations: 3.984 kB / 0.562 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3736, allocations: 34.56 kB / 0.562 GB, free: 2.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3736, allocations: 0 / 0.562 GB, free: 2.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008719/0.3744, allocations: 229.4 kB / 0.5622 GB, free: 2.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.3745, allocations: 85.09 kB / 0.5623 GB, free: 2.238 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3747, allocations: 152.2 kB / 0.5625 GB, free: 2.082 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3747, allocations: 29.64 kB / 0.5625 GB, free: 2.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.3748, allocations: 96.09 kB / 0.5626 GB, free: 1.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.034e-05/0.3748, allocations: 27.78 kB / 0.5626 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.3749, allocations: 25.72 kB / 0.5626 GB, free: 1.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3751, allocations: 322.8 kB / 0.5629 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3752, allocations: 35.97 kB / 0.563 GB, free: 1.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.3753, allocations: 83.31 kB / 0.5631 GB, free: 1.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3756, allocations: 84.8 kB / 0.5631 GB, free: 1.352 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3756, allocations: 8.031 kB / 0.5631 GB, free: 1.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000336/0.3759, allocations: 117.6 kB / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3759, allocations: 8 kB / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3759, allocations: 0 / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.376, allocations: 0 / 0.5633 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3761, allocations: 23.98 kB / 0.5633 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3761, allocations: 0 / 0.5633 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.3762, allocations: 15.92 kB / 0.5633 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3762, allocations: 7.938 kB / 0.5633 GB, free: 1.168 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.0001184/0.3763, allocations: 113.8 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.3763, allocations: 11.94 kB / 0.5634 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.3767, allocations: 142.9 kB / 0.5636 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3767, allocations: 4 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3767, allocations: 3.938 kB / 0.5636 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3768, allocations: 7.984 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.3774, allocations: 358 kB / 0.5639 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3774, allocations: 4 kB / 0.5639 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.3775, allocations: 15.98 kB / 0.5639 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3775, allocations: 0 / 0.5639 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3775, allocations: 4 kB / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3775, allocations: 0 / 0.5639 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3775, allocations: 7.938 kB / 0.564 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.3779, allocations: 219.4 kB / 0.5642 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.763e-05/0.3779, allocations: 7.953 kB / 0.5642 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.3779, allocations: 7.984 kB / 0.5642 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.378, allocations: 12 kB / 0.5642 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3781, allocations: 7.922 kB / 0.5642 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.3781, allocations: 4 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.3782, allocations: 115.2 kB / 0.5643 GB, free: 68 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3782, allocations: 4 kB / 0.5643 GB, free: 64 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003169/0.3785, allocations: 43.86 kB / 0.5644 GB, free: 20 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.00194/0.3805, allocations: 0.5254 MB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003218/0.3808, allocations: 91.86 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3808, allocations: 0 / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3809, allocations: 39.97 kB / 0.565 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.3813, allocations: 23.36 kB / 0.565 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.3818, allocations: 213.9 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.3819, allocations: 91.66 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.3821, allocations: 32.58 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.3821, allocations: 15.44 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3821, allocations: 0 / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Templates: time 0.005385/0.3875, allocations: 2.009 MB / 0.5673 GB, free: 13.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.397957237437367]