Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.00145/0.00145, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001818/0.001818, allocations: 206.8 kB / 23.72 MB, free: 4.391 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.504/1.504, 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.2261/0.2261, allocations: 44.93 MB / 358.8 MB, free: 6.051 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [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.002186/0.002186, allocations: 71.89 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003323/0.3468, allocations: 1.605 MB / 0.559 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3479, allocations: 0.5378 MB / 0.5596 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.348, allocations: 4 kB / 0.5596 GB, free: 5.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006516/0.3486, allocations: 459.1 kB / 0.56 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.3491, allocations: 287.3 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.3496, allocations: 175.3 kB / 0.5604 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.3498, allocations: 171.6 kB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3499, allocations: 15.98 kB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.3501, allocations: 103.8 kB / 0.5607 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.3504, allocations: 251.5 kB / 0.561 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3504, allocations: 4 kB / 0.561 GB, free: 3.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.496e-05/0.3505, allocations: 27.98 kB / 0.561 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3506, allocations: 87.61 kB / 0.5611 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.3507, allocations: 59.31 kB / 0.5611 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.351, allocations: 268.9 kB / 0.5614 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.351, allocations: 0 / 0.5614 GB, free: 3.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.351, allocations: 0 / 0.5614 GB, free: 3.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.351, allocations: 0 / 0.5614 GB, free: 3.449 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007942/0.3518, allocations: 0.566 MB / 0.5619 GB, free: 2.852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.3519, allocations: 12.03 kB / 0.5619 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.333e-05/0.3519, allocations: 48.64 kB / 0.562 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.3522, allocations: 234.8 kB / 0.5622 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3523, allocations: 8.375 kB / 0.5622 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.3523, allocations: 4.359 kB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3524, allocations: 58.78 kB / 0.5623 GB, free: 2.465 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.3524, allocations: 3.938 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3524, allocations: 0 / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.3524, allocations: 0 / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.3525, allocations: 27.98 kB / 0.5623 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.353, allocations: 332.4 kB / 0.5626 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.487e-05/0.3531, allocations: 30.56 kB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.129e-05/0.3532, allocations: 20.84 kB / 0.5627 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.3532, allocations: 0 / 0.5627 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3532, allocations: 34.5 kB / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3532, allocations: 0 / 0.5627 GB, free: 1.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002971/0.3535, allocations: 105.4 kB / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.3536, allocations: 55.53 kB / 0.5629 GB, free: 1.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009697/0.3545, allocations: 0.8691 MB / 0.5637 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3546, allocations: 25.7 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.3547, allocations: 216 kB / 0.5639 GB, free: 0.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3548, allocations: 7.953 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.3548, allocations: 13.72 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.355, allocations: 362.7 kB / 0.5643 GB, free: 284 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.87e-05/0.3551, allocations: 15.94 kB / 0.5643 GB, free: 268 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.3551, allocations: 7.984 kB / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.674e-05/0.3552, allocations: 32.91 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3552, allocations: 0 / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001648/0.3553, allocations: 97.39 kB / 0.5645 GB, free: 120 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3554, allocations: 6.969 kB / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3554, allocations: 0 / 0.5645 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3554, allocations: 4 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.3555, allocations: 4 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3555, allocations: 0 / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.3555, allocations: 7.922 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3555, allocations: 8.031 kB / 0.5645 GB, free: 92 kB / 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 (2): * Single equations (assignments): 2 * 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.0002348/0.3558, allocations: 209.7 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.3558, allocations: 39.72 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.356, allocations: 108.7 kB / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3561, allocations: 0 / 0.5648 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3561, allocations: 4 kB / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3561, allocations: 0 / 0.5648 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.3563, allocations: 233.1 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3563, allocations: 0 / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.114e-05/0.3564, allocations: 12.02 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3564, allocations: 4 kB / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3564, allocations: 0 / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3564, allocations: 0 / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3564, allocations: 0 / 0.5651 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3566, allocations: 203.1 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.3567, allocations: 31.72 kB / 0.5653 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3567, allocations: 4 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.3568, allocations: 0 / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.3568, allocations: 4.031 kB / 0.5653 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.3568, allocations: 3.938 kB / 0.5653 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.3575, allocations: 0.6589 MB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3575, allocations: 3.938 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000256/0.3578, allocations: 15.94 kB / 0.566 GB, free: 14.51 MB / 414.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 (2): * Single equations (assignments): 2 * 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.001429/0.3592, allocations: 374.8 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.3593, allocations: 27.92 kB / 0.5664 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3593, allocations: 0 / 0.5664 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.672e-05/0.3594, allocations: 15.98 kB / 0.5664 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.3598, allocations: 25.89 kB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.361, allocations: 0.7791 MB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.3612, allocations: 220.2 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.259e-05/0.3612, allocations: 7.984 kB / 0.5674 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.3613, allocations: 11.44 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3613, allocations: 0 / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of Templates: time 0.005249/0.3665, allocations: 1.452 MB / 0.5688 GB, free: 11.71 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.170167738571763]