Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.001809/0.001809, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002208/0.002208, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.213/0.213, allocations: 44.9 MB / 359.6 MB, free: 6.285 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,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.Test31") [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.002061/0.002061, allocations: 71.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 65.46 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.003162/0.355, allocations: 1.679 MB / 0.5599 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.357, allocations: 1.302 MB / 0.5612 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.3571, allocations: 7.938 kB / 0.5612 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.3573, allocations: 27.78 kB / 0.5612 GB, free: 4.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.3576, allocations: 79.62 kB / 0.5613 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.358, allocations: 186.9 kB / 0.5615 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3582, allocations: 71.83 kB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.3583, allocations: 12 kB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.3583, allocations: 31.84 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3585, allocations: 35.84 kB / 0.5616 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.199e-05/0.3585, allocations: 11.98 kB / 0.5616 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.3587, allocations: 95.89 kB / 0.5617 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.375e-05/0.3588, allocations: 23.91 kB / 0.5617 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.3588, allocations: 31.8 kB / 0.5618 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.3591, allocations: 157.8 kB / 0.5619 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3591, allocations: 4 kB / 0.5619 GB, free: 3.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3591, allocations: 0 / 0.5619 GB, free: 3.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3591, allocations: 4 kB / 0.5619 GB, free: 3.93 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.0005482/0.3596, allocations: 329.7 kB / 0.5622 GB, free: 3.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3597, allocations: 12.03 kB / 0.5622 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.3597, allocations: 16.89 kB / 0.5623 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3599, allocations: 134.3 kB / 0.5624 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3599, allocations: 4.375 kB / 0.5624 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3599, allocations: 4.375 kB / 0.5624 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.3601, allocations: 95.41 kB / 0.5625 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3602, allocations: 0 / 0.5625 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3602, allocations: 0 / 0.5625 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3602, allocations: 4 kB / 0.5625 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.3603, allocations: 35.97 kB / 0.5625 GB, free: 3.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.3608, allocations: 279.8 kB / 0.5628 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.3609, allocations: 50.5 kB / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.361, allocations: 24.94 kB / 0.5629 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.361, allocations: 0 / 0.5629 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.3611, allocations: 38.55 kB / 0.5629 GB, free: 2.793 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3611, allocations: 0 / 0.5629 GB, free: 2.793 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000841/0.3619, allocations: 229.3 kB / 0.5631 GB, free: 2.562 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.362, allocations: 77.11 kB / 0.5632 GB, free: 2.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.3621, allocations: 160.2 kB / 0.5633 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.3622, allocations: 25.7 kB / 0.5634 GB, free: 2.273 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.3622, allocations: 96.17 kB / 0.5635 GB, free: 2.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.3623, allocations: 35.7 kB / 0.5635 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.3623, allocations: 17.72 kB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3625, allocations: 322.8 kB / 0.5638 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.3626, allocations: 35.97 kB / 0.5639 GB, free: 1.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.3628, allocations: 57.67 kB / 0.5639 GB, free: 1.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.363, allocations: 88.73 kB / 0.564 GB, free: 1.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.363, allocations: 0 / 0.564 GB, free: 1.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003458/0.3634, allocations: 129.6 kB / 0.5641 GB, free: 1.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3634, allocations: 4 kB / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3634, allocations: 0 / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3634, allocations: 0 / 0.5641 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3636, allocations: 19.98 kB / 0.5641 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3636, allocations: 0 / 0.5641 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.026e-05/0.3636, allocations: 15.92 kB / 0.5642 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.3636, allocations: 0 / 0.5642 GB, free: 1.434 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.000125/0.3638, allocations: 125.8 kB / 0.5643 GB, free: 1.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.3638, allocations: 15.89 kB / 0.5643 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.3642, allocations: 138.6 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3642, allocations: 0 / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3642, allocations: 0 / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3642, allocations: 3.938 kB / 0.5644 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.3648, allocations: 397.5 kB / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3648, allocations: 0 / 0.5648 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.238e-05/0.3649, allocations: 19.98 kB / 0.5648 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3649, allocations: 0 / 0.5648 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3649, allocations: 3.938 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3649, allocations: 4 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3649, allocations: 0 / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3653, allocations: 227.4 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.3653, allocations: 11.94 kB / 0.5651 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.625e-05/0.3653, allocations: 7.938 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.3654, allocations: 7.984 kB / 0.5651 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3655, allocations: 4 kB / 0.5651 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3655, allocations: 4 kB / 0.5651 GB, free: 404 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.3656, allocations: 117.6 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3656, allocations: 0 / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.3659, allocations: 43.86 kB / 0.5652 GB, free: 244 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.001863/0.3677, allocations: 0.4925 MB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003325/0.3681, allocations: 87.86 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3681, allocations: 8 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3682, allocations: 48.09 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.3686, allocations: 17.86 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.3691, allocations: 239.6 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.3695, allocations: 0.7002 MB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.3696, allocations: 19.42 kB / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3696, allocations: 0 / 0.5668 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Templates: time 0.00466/0.3743, allocations: 2.19 MB / 0.5689 GB, free: 12.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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: 8.043385723838583]