Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.001362/0.001362, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001427/0.001427, allocations: 216 kB / 23.73 MB, free: 4.156 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.513/1.513, 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.223/0.223, allocations: 44.93 MB / 358.8 MB, free: 6.043 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [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.002192/0.002192, allocations: 64.19 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3549, allocations: 65.47 MB / 0.5575 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003783/0.3587, allocations: 1.986 MB / 0.5594 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.3609, allocations: 1.092 MB / 0.5605 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.361, allocations: 4 kB / 0.5605 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005496/0.3615, allocations: 263.1 kB / 0.5607 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000572/0.3621, allocations: 271 kB / 0.561 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3636, allocations: 0.6608 MB / 0.5616 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004634/0.364, allocations: 354.9 kB / 0.562 GB, free: 2.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.3642, allocations: 48.58 kB / 0.562 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.3644, allocations: 159.3 kB / 0.5622 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002806/0.3647, allocations: 231.1 kB / 0.5624 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.127e-05/0.3647, allocations: 12 kB / 0.5624 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.3649, allocations: 104 kB / 0.5625 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3651, allocations: 103.5 kB / 0.5626 GB, free: 2.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.3652, allocations: 83.23 kB / 0.5627 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.3657, allocations: 361 kB / 0.563 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3657, allocations: 0 / 0.563 GB, free: 1.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3657, allocations: 0 / 0.563 GB, free: 1.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.3657, allocations: 0 / 0.563 GB, free: 1.781 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008395/0.3665, allocations: 0.6049 MB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.3666, allocations: 11.98 kB / 0.5636 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.347e-05/0.3667, allocations: 52.61 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.3671, allocations: 264.6 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.3672, allocations: 8.375 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.3672, allocations: 12.38 kB / 0.5639 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.3675, allocations: 133.7 kB / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.3675, allocations: 0 / 0.5641 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3675, allocations: 4 kB / 0.5641 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3675, allocations: 4 kB / 0.5641 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.3677, allocations: 83.94 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006916/0.3684, allocations: 444 kB / 0.5646 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.3686, allocations: 98.58 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.3687, allocations: 44.98 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.3687, allocations: 3.938 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.3688, allocations: 38.56 kB / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.3688, allocations: 0 / 0.5648 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001112/0.3699, allocations: 466.4 kB / 0.5652 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.3699, allocations: 51.41 kB / 0.5652 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006788/0.3706, allocations: 0.5643 MB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.3706, allocations: 29.7 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.3708, allocations: 208.4 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.3709, allocations: 59.48 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.3709, allocations: 37.64 kB / 0.5661 GB, free: 14.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3711, allocations: 354.8 kB / 0.5665 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3713, allocations: 67.97 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.3714, allocations: 71.95 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3717, allocations: 155.1 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3717, allocations: 3.938 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004127/0.3721, allocations: 241.1 kB / 0.567 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3721, allocations: 8 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.3721, allocations: 4 kB / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3722, allocations: 0 / 0.567 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.3723, allocations: 31.98 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3723, allocations: 4 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.3724, allocations: 7.984 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3724, allocations: 8 kB / 0.567 GB, free: 13.48 MB / 414.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 (17): * Single equations (assignments): 17 * 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.0002263/0.3727, allocations: 177.8 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.3727, allocations: 43.66 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.3733, allocations: 283.9 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3733, allocations: 0 / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3733, allocations: 0 / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3733, allocations: 7.984 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009345/0.3743, allocations: 0.5916 MB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3743, allocations: 0 / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.3744, allocations: 35.92 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3744, allocations: 0 / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.3744, allocations: 8 kB / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3744, allocations: 0 / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3744, allocations: 0 / 0.5681 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.3749, allocations: 339 kB / 0.5685 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.375, allocations: 27.77 kB / 0.5685 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.375, allocations: 12 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.59e-05/0.3751, allocations: 4 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.3751, allocations: 23.84 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3752, allocations: 4 kB / 0.5685 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004626/0.3756, allocations: 431 kB / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3756, allocations: 0 / 0.5689 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.3759, allocations: 47.94 kB / 0.569 GB, free: 11.41 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 (17): * Single equations (assignments): 17 * 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.003174/0.3791, allocations: 0.7559 MB / 0.5697 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003866/0.3795, allocations: 166.2 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3795, allocations: 0 / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.3797, allocations: 83.89 kB / 0.57 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.3803, allocations: 89.94 kB / 0.5701 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.3816, allocations: 0.744 MB / 0.5708 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3818, allocations: 220.8 kB / 0.571 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.382, allocations: 57.91 kB / 0.571 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.883e-05/0.382, allocations: 31.42 kB / 0.5711 GB, free: 9.594 MB / 414.1 MB Notification: Performance of SimCode: time 6.12e-07/0.382, allocations: 0 / 0.5711 GB, free: 9.594 MB / 414.1 MB Notification: Performance of Templates: time 0.008649/0.3907, allocations: 3.679 MB / 0.5747 GB, free: 5.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.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.380001137033105]