Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.001659/0.001659, 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.00196/0.00196, allocations: 211.4 kB / 23.73 MB, free: 4.16 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.52/1.52, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2256/0.2256, allocations: 44.94 MB / 358.8 MB, free: 6.07 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [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.00224/0.00224, allocations: 75.89 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3924, allocations: 65.48 MB / 0.5575 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003329/0.3958, allocations: 1.601 MB / 0.559 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3969, allocations: 0.5495 MB / 0.5596 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.658e-05/0.397, allocations: 4 kB / 0.5596 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.3977, allocations: 451.1 kB / 0.56 GB, free: 4.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000604/0.3983, allocations: 303.3 kB / 0.5603 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.3988, allocations: 167.2 kB / 0.5604 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.3991, allocations: 179.6 kB / 0.5606 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.3992, allocations: 8 kB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.3994, allocations: 119.7 kB / 0.5607 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.3997, allocations: 247.5 kB / 0.561 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.3997, allocations: 4 kB / 0.561 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.954e-05/0.3998, allocations: 23.98 kB / 0.561 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3999, allocations: 79.7 kB / 0.5611 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.4, allocations: 71.22 kB / 0.5611 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003797/0.4004, allocations: 261 kB / 0.5614 GB, free: 3.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4004, allocations: 4 kB / 0.5614 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4004, allocations: 0 / 0.5614 GB, free: 3.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4004, allocations: 0 / 0.5614 GB, free: 3.457 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.000931/0.4014, allocations: 0.5815 MB / 0.562 GB, free: 2.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.4014, allocations: 8.031 kB / 0.562 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.4015, allocations: 52.55 kB / 0.562 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.4018, allocations: 238.8 kB / 0.5623 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.4018, allocations: 4.375 kB / 0.5623 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.4018, allocations: 4.359 kB / 0.5623 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.402, allocations: 66.78 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.402, allocations: 0 / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.402, allocations: 0 / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.402, allocations: 0 / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4022, allocations: 39.91 kB / 0.5624 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.4028, allocations: 336.4 kB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.4029, allocations: 42.56 kB / 0.5627 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.403, allocations: 28.92 kB / 0.5628 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.403, allocations: 4 kB / 0.5628 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.403, allocations: 34.56 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.403, allocations: 0 / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004168/0.4035, allocations: 129.3 kB / 0.5629 GB, free: 1.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.4035, allocations: 51.41 kB / 0.563 GB, free: 1.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009947/0.4045, allocations: 0.8653 MB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4045, allocations: 25.7 kB / 0.5638 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4047, allocations: 212.1 kB / 0.564 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.4047, allocations: 15.89 kB / 0.5641 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.4048, allocations: 17.72 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001789/0.405, allocations: 362.8 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.113e-05/0.405, allocations: 19.92 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.4051, allocations: 19.98 kB / 0.5645 GB, free: 168 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.4052, allocations: 52.69 kB / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4052, allocations: 0 / 0.5645 GB, free: 112 kB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002379/0.4055, allocations: 113.5 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4055, allocations: 8 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4055, allocations: 0 / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.4055, allocations: 3.984 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.4056, allocations: 8 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4056, allocations: 0 / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.87e-05/0.4057, allocations: 3.984 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.4057, allocations: 4 kB / 0.5646 GB, free: 15.96 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 (3): * Single equations (assignments): 3 * 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.0002024/0.4059, allocations: 213.7 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.4059, allocations: 47.72 kB / 0.5649 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.4063, allocations: 129 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4063, allocations: 384 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.4063, allocations: 3.984 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4063, allocations: 0 / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.4065, allocations: 237.2 kB / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4065, allocations: 0 / 0.5652 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.4066, allocations: 19.97 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.4066, allocations: 0 / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4066, allocations: 8 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4066, allocations: 0 / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4066, allocations: 0 / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.4069, allocations: 215.1 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.117e-05/0.407, allocations: 39.66 kB / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.407, allocations: 0 / 0.5655 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.815e-05/0.4071, allocations: 7.984 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.4071, allocations: 0 / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.4071, allocations: 0 / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007153/0.4078, allocations: 0.655 MB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4078, allocations: 4 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.4081, allocations: 19.98 kB / 0.5662 GB, free: 14.31 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 (3): * Single equations (assignments): 3 * 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.001542/0.4096, allocations: 372.4 kB / 0.5665 GB, free: 14.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4099, allocations: 43.95 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4099, allocations: 4 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.4099, allocations: 23.92 kB / 0.5666 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.4104, allocations: 33.77 kB / 0.5666 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4117, allocations: 0.7946 MB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.412, allocations: 224.1 kB / 0.5676 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.4121, allocations: 19.72 kB / 0.5676 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.4121, allocations: 11.44 kB / 0.5677 GB, free: 12.91 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4121, allocations: 0 / 0.5677 GB, free: 12.91 MB / 414.1 MB Notification: Performance of Templates: time 0.005356/0.4175, allocations: 1.484 MB / 0.5691 GB, free: 11.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.211072305217385]