Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.006588/0.006588, allocations: 106.8 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001784/0.001784, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2205/0.2205, allocations: 46.94 MB / 362.3 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 79.86 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3436, allocations: 66.08 MB / 0.5627 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003824/0.3475, allocations: 2.056 MB / 0.5647 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.3495, allocations: 1.044 MB / 0.5658 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.711e-05/0.3496, allocations: 0 / 0.5658 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005072/0.3501, allocations: 263.1 kB / 0.566 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005101/0.3506, allocations: 259.1 kB / 0.5663 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.3517, allocations: 496.5 kB / 0.5667 GB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004746/0.3522, allocations: 334.9 kB / 0.5671 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.3524, allocations: 56.55 kB / 0.5671 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.3525, allocations: 151.3 kB / 0.5673 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.3529, allocations: 227.2 kB / 0.5675 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3529, allocations: 8 kB / 0.5675 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.353, allocations: 71.97 kB / 0.5676 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3532, allocations: 99.59 kB / 0.5676 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.3533, allocations: 123 kB / 0.5678 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004212/0.3537, allocations: 313.1 kB / 0.5681 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3537, allocations: 0 / 0.5681 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3537, allocations: 4 kB / 0.5681 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.3537, allocations: 0 / 0.5681 GB, free: 14.78 MB / 414.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.0008215/0.3546, allocations: 0.5933 MB / 0.5686 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3546, allocations: 12.03 kB / 0.5687 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.3547, allocations: 44.64 kB / 0.5687 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.355, allocations: 264.6 kB / 0.569 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3551, allocations: 4.375 kB / 0.569 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.626e-05/0.3551, allocations: 12.38 kB / 0.569 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3553, allocations: 107.1 kB / 0.5691 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3554, allocations: 4.188 kB / 0.5691 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3554, allocations: 7.938 kB / 0.5691 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3554, allocations: 7.938 kB / 0.5691 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.3555, allocations: 71.83 kB / 0.5692 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.3562, allocations: 455.4 kB / 0.5696 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.3565, allocations: 94.48 kB / 0.5697 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.3565, allocations: 36.77 kB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.3566, allocations: 7.984 kB / 0.5697 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.3566, allocations: 34.56 kB / 0.5698 GB, free: 12.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.3566, allocations: 0 / 0.5698 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009599/0.3576, allocations: 392.7 kB / 0.5701 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.3576, allocations: 59.25 kB / 0.5702 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006462/0.3583, allocations: 0.5604 MB / 0.5707 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3583, allocations: 29.7 kB / 0.5708 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.3584, allocations: 204.4 kB / 0.571 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.449e-05/0.3585, allocations: 59.47 kB / 0.571 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.3586, allocations: 33.7 kB / 0.571 GB, free: 11.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3587, allocations: 350.8 kB / 0.5714 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3588, allocations: 55.97 kB / 0.5714 GB, free: 11.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.359, allocations: 51.97 kB / 0.5715 GB, free: 11.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3592, allocations: 119 kB / 0.5716 GB, free: 10.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3592, allocations: 0 / 0.5716 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003496/0.3595, allocations: 205.2 kB / 0.5718 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3596, allocations: 4 kB / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3596, allocations: 4 kB / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3596, allocations: 4 kB / 0.5718 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.3597, allocations: 31.97 kB / 0.5718 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3597, allocations: 7.938 kB / 0.5718 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.437e-05/0.3598, allocations: 8 kB / 0.5719 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.3598, allocations: 4 kB / 0.5719 GB, free: 10.7 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.0001782/0.36, allocations: 173.8 kB / 0.572 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.216e-05/0.3601, allocations: 47.66 kB / 0.5721 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004829/0.3606, allocations: 247.1 kB / 0.5723 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3606, allocations: 0 / 0.5723 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3606, allocations: 0 / 0.5723 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3606, allocations: 0 / 0.5723 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008242/0.3614, allocations: 0.5939 MB / 0.5729 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3614, allocations: 0 / 0.5729 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.3615, allocations: 39.97 kB / 0.5729 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3615, allocations: 3.938 kB / 0.5729 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3615, allocations: 4 kB / 0.5729 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3615, allocations: 4 kB / 0.5729 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3615, allocations: 0 / 0.5729 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.3619, allocations: 303 kB / 0.5732 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.362, allocations: 35.75 kB / 0.5733 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.362, allocations: 4 kB / 0.5733 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.3621, allocations: 8 kB / 0.5733 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.3622, allocations: 11.97 kB / 0.5733 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.3622, allocations: 11.92 kB / 0.5733 GB, free: 9.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000462/0.3626, allocations: 419.1 kB / 0.5737 GB, free: 8.738 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3626, allocations: 0 / 0.5737 GB, free: 8.738 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003045/0.3629, allocations: 51.92 kB / 0.5737 GB, free: 8.688 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.002744/0.3657, allocations: 0.6866 MB / 0.5744 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.366, allocations: 129.8 kB / 0.5745 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.366, allocations: 0 / 0.5745 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.3662, allocations: 71.89 kB / 0.5746 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005313/0.3667, allocations: 68.81 kB / 0.5747 GB, free: 8.016 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3678, allocations: 0.7144 MB / 0.5754 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.3683, allocations: 0.7987 MB / 0.5761 GB, free: 6.441 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.865e-05/0.3683, allocations: 39.42 kB / 0.5762 GB, free: 6.406 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3683, allocations: 0 / 0.5762 GB, free: 6.406 MB / 414.1 MB Notification: Performance of Templates: time 0.007274/0.3756, allocations: 4.543 MB / 0.5806 GB, free: 1.867 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.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.364342261105776]