Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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.001345/0.001345, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00153/0.00153, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.548/1.548, allocations: 230.6 MB / 258.3 MB, free: 7.977 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.2343/0.2343, allocations: 44.91 MB / 359.6 MB, free: 6.273 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.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27") [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.002042/0.002042, allocations: 71.88 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3511, allocations: 65.46 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003629/0.3547, allocations: 1.697 MB / 0.5599 GB, free: 5.988 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.3562, allocations: 0.5698 MB / 0.5605 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.3563, allocations: 8 kB / 0.5605 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.3567, allocations: 59.8 kB / 0.5606 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.3571, allocations: 99.59 kB / 0.5606 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000502/0.3576, allocations: 131.6 kB / 0.5608 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.3578, allocations: 83.77 kB / 0.5609 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.3579, allocations: 24.2 kB / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.94e-05/0.358, allocations: 35.86 kB / 0.5609 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.3581, allocations: 47.81 kB / 0.561 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3581, allocations: 4 kB / 0.561 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.3583, allocations: 59.91 kB / 0.561 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.738e-05/0.3584, allocations: 27.91 kB / 0.561 GB, free: 4.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.026e-05/0.3584, allocations: 27.75 kB / 0.5611 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.3586, allocations: 110 kB / 0.5612 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3587, allocations: 0 / 0.5612 GB, free: 4.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3587, allocations: 0 / 0.5612 GB, free: 4.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3587, allocations: 7.938 kB / 0.5612 GB, free: 4.703 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.0005624/0.3592, allocations: 345.6 kB / 0.5615 GB, free: 4.336 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.3593, allocations: 8.031 kB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.596e-05/0.3593, allocations: 12.89 kB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.3595, allocations: 138.4 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3595, allocations: 384 / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3595, allocations: 8.328 kB / 0.5617 GB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3597, allocations: 65.8 kB / 0.5617 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3597, allocations: 4 kB / 0.5617 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3598, allocations: 7.938 kB / 0.5617 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3598, allocations: 0 / 0.5617 GB, free: 4.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.3599, allocations: 39.95 kB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.3603, allocations: 271.8 kB / 0.562 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3606, allocations: 70.56 kB / 0.5621 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.57e-05/0.3606, allocations: 24.97 kB / 0.5621 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.3607, allocations: 0 / 0.5621 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.3607, allocations: 34.56 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.3607, allocations: 0 / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001413/0.3621, allocations: 393 kB / 0.5625 GB, free: 3.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.3622, allocations: 67.22 kB / 0.5626 GB, free: 3.102 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.3624, allocations: 194.1 kB / 0.5628 GB, free: 2.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3624, allocations: 25.7 kB / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.3625, allocations: 104.1 kB / 0.5629 GB, free: 2.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.031e-05/0.3625, allocations: 35.69 kB / 0.5629 GB, free: 2.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.3626, allocations: 25.72 kB / 0.563 GB, free: 2.695 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.3628, allocations: 322.8 kB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.3629, allocations: 43.97 kB / 0.5633 GB, free: 2.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.363, allocations: 39.97 kB / 0.5634 GB, free: 2.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3633, allocations: 104.8 kB / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3633, allocations: 0 / 0.5635 GB, free: 2.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003161/0.3636, allocations: 141.8 kB / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.3636, allocations: 4 kB / 0.5636 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3636, allocations: 3.938 kB / 0.5636 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3636, allocations: 4 kB / 0.5636 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3637, allocations: 35.91 kB / 0.5636 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3637, allocations: 4 kB / 0.5636 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.047e-05/0.3638, allocations: 7.984 kB / 0.5637 GB, free: 1.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3638, allocations: 7.984 kB / 0.5637 GB, free: 1.973 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 (11): * Single equations (assignments): 11 * 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.0001179/0.3639, allocations: 121.8 kB / 0.5638 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.364, allocations: 16.47 kB / 0.5638 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003971/0.3644, allocations: 174.2 kB / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3644, allocations: 3.938 kB / 0.564 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.3644, allocations: 4 kB / 0.564 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3644, allocations: 0 / 0.564 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006973/0.3651, allocations: 443.1 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3651, allocations: 4.062 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.3652, allocations: 23.98 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.3652, allocations: 7.984 kB / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3652, allocations: 0 / 0.5644 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3652, allocations: 4 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3652, allocations: 0 / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.3656, allocations: 260.9 kB / 0.5647 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.3656, allocations: 7.953 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.3656, allocations: 8.094 kB / 0.5647 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.3657, allocations: 11.92 kB / 0.5647 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3658, allocations: 7.984 kB / 0.5647 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3658, allocations: 4 kB / 0.5647 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001315/0.3659, allocations: 148.1 kB / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3659, allocations: 0 / 0.5649 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3662, allocations: 31.92 kB / 0.5649 GB, free: 0.6211 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001743/0.3679, allocations: 457.8 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.3683, allocations: 103.8 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3683, allocations: 7.938 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.3684, allocations: 55.89 kB / 0.5655 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.3688, allocations: 28.05 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.3694, allocations: 298 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3698, allocations: 0.7119 MB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.3698, allocations: 19.44 kB / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3698, allocations: 0 / 0.5665 GB, free: 15.08 MB / 414.1 MB Notification: Performance of Templates: time 0.004076/0.3739, allocations: 1.944 MB / 0.5684 GB, free: 13.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.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: 7.899628219893202]