Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.001381/0.001381, allocations: 107.1 kB / 20.44 MB, free: 1.195 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.001467/0.001467, allocations: 205.8 kB / 23.73 MB, free: 4.402 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.82 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.264/0.264, allocations: 44.93 MB / 358.8 MB, free: 6.184 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") [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.002024/0.002024, allocations: 59.91 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 65.48 MB / 0.5575 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.003162/0.3611, allocations: 1.666 MB / 0.5591 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3622, allocations: 0.5583 MB / 0.5596 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.3622, allocations: 4 kB / 0.5597 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.3624, allocations: 59.73 kB / 0.5597 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.3627, allocations: 91.59 kB / 0.5598 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.3632, allocations: 186.9 kB / 0.56 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.3633, allocations: 95.8 kB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.3634, allocations: 12.22 kB / 0.5601 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.751e-05/0.3635, allocations: 43.78 kB / 0.5601 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.76e-05/0.3636, allocations: 51.7 kB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3636, allocations: 4 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.3637, allocations: 55.95 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.3638, allocations: 23.92 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.3638, allocations: 27.81 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.364, allocations: 117.9 kB / 0.5604 GB, free: 4.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.364, allocations: 4 kB / 0.5604 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.364, allocations: 0 / 0.5604 GB, free: 4.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.364, allocations: 0 / 0.5604 GB, free: 4.375 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.0004857/0.3645, allocations: 353.5 kB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3646, allocations: 12.02 kB / 0.5607 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3646, allocations: 12.84 kB / 0.5608 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.3648, allocations: 138.4 kB / 0.5609 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3648, allocations: 4.375 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3648, allocations: 12.31 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.365, allocations: 69.78 kB / 0.561 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.365, allocations: 4 kB / 0.561 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.365, allocations: 0 / 0.561 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.365, allocations: 0 / 0.561 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.3652, allocations: 43.95 kB / 0.561 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.3656, allocations: 260.4 kB / 0.5613 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3658, allocations: 62.55 kB / 0.5613 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.707e-05/0.3659, allocations: 24.97 kB / 0.5613 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.3659, allocations: 0 / 0.5613 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3659, allocations: 42.59 kB / 0.5614 GB, free: 3.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3659, allocations: 0 / 0.5614 GB, free: 3.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001485/0.3674, allocations: 436.9 kB / 0.5618 GB, free: 2.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.3675, allocations: 51.41 kB / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.3677, allocations: 199.2 kB / 0.562 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.3677, allocations: 29.7 kB / 0.5621 GB, free: 2.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.3678, allocations: 104.1 kB / 0.5622 GB, free: 2.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.3678, allocations: 39.62 kB / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.3679, allocations: 25.72 kB / 0.5622 GB, free: 2.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.368, allocations: 322.8 kB / 0.5625 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3682, allocations: 55.95 kB / 0.5626 GB, free: 1.953 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.3683, allocations: 59.95 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.3686, allocations: 128.7 kB / 0.5628 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3686, allocations: 0 / 0.5628 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003662/0.369, allocations: 169.5 kB / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.369, allocations: 8 kB / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.369, allocations: 0 / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.369, allocations: 0 / 0.5629 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.3691, allocations: 27.98 kB / 0.563 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.3691, allocations: 7.938 kB / 0.563 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.245e-05/0.3692, allocations: 7.984 kB / 0.563 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3692, allocations: 4 kB / 0.563 GB, free: 1.539 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.0001212/0.3693, allocations: 133.8 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.3694, allocations: 11.91 kB / 0.5631 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004565/0.3698, allocations: 195.5 kB / 0.5633 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3698, allocations: 4 kB / 0.5633 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3698, allocations: 3.938 kB / 0.5633 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3698, allocations: 0 / 0.5633 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007178/0.3705, allocations: 439.7 kB / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.3705, allocations: 0 / 0.5637 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.3707, allocations: 31.91 kB / 0.5638 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.3707, allocations: 3.938 kB / 0.5638 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.3707, allocations: 8 kB / 0.5638 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3707, allocations: 0 / 0.5638 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3707, allocations: 0 / 0.5638 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004151/0.3711, allocations: 281.6 kB / 0.564 GB, free: 368 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.999e-05/0.3711, allocations: 15.84 kB / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3711, allocations: 0 / 0.5641 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3712, allocations: 15.98 kB / 0.5641 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.3713, allocations: 11.92 kB / 0.5641 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.3713, allocations: 4 kB / 0.5641 GB, free: 320 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.3714, allocations: 149.8 kB / 0.5642 GB, free: 172 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3714, allocations: 0 / 0.5642 GB, free: 172 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000268/0.3717, allocations: 27.94 kB / 0.5643 GB, free: 144 kB / 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.001849/0.3735, allocations: 492.2 kB / 0.5647 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.3739, allocations: 131.8 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3739, allocations: 0 / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3741, allocations: 63.89 kB / 0.5649 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.0003748/0.3744, allocations: 24.14 kB / 0.5649 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.3751, allocations: 320 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.3752, allocations: 108.8 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.532e-05/0.3753, allocations: 36.3 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3753, allocations: 19.44 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3753, allocations: 0 / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of Templates: time 0.004812/0.3801, allocations: 1.694 MB / 0.5671 GB, free: 13.46 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.2660630121827126]