Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001574/0.001574, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001523/0.001523, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.504/1.504, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2211/0.2211, allocations: 44.94 MB / 359.6 MB, free: 6.172 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [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.002068/0.002068, allocations: 63.91 kB / 0.4943 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3352, allocations: 65.47 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003791/0.3389, allocations: 1.605 MB / 0.5598 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3402, allocations: 0.5417 MB / 0.5603 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.429e-05/0.3403, allocations: 3.938 kB / 0.5603 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.3409, allocations: 455.1 kB / 0.5607 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005724/0.3415, allocations: 291.3 kB / 0.561 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.342, allocations: 178.6 kB / 0.5612 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.3423, allocations: 171.6 kB / 0.5613 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3424, allocations: 12 kB / 0.5614 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.3426, allocations: 107.8 kB / 0.5615 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.3429, allocations: 247.5 kB / 0.5617 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.3429, allocations: 4 kB / 0.5617 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.731e-05/0.343, allocations: 24 kB / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.3431, allocations: 87.67 kB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.3432, allocations: 63.25 kB / 0.5619 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.3435, allocations: 269.1 kB / 0.5621 GB, free: 3.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3435, allocations: 4 kB / 0.5621 GB, free: 3.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3435, allocations: 0 / 0.5621 GB, free: 3.453 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3435, allocations: 3.938 kB / 0.5621 GB, free: 3.449 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.0007916/0.3443, allocations: 0.5621 MB / 0.5627 GB, free: 2.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.3444, allocations: 8.031 kB / 0.5627 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.286e-05/0.3444, allocations: 44.66 kB / 0.5627 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3447, allocations: 238.8 kB / 0.563 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3448, allocations: 8.375 kB / 0.563 GB, free: 2.539 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.3448, allocations: 4.375 kB / 0.563 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3449, allocations: 50.8 kB / 0.563 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3449, allocations: 4 kB / 0.563 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3449, allocations: 3.938 kB / 0.563 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3449, allocations: 0 / 0.563 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.345, allocations: 31.97 kB / 0.5631 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.3456, allocations: 332.4 kB / 0.5634 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.3457, allocations: 26.58 kB / 0.5634 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.3457, allocations: 24.84 kB / 0.5634 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3457, allocations: 0 / 0.5634 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.3458, allocations: 34.56 kB / 0.5635 GB, free: 1.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3458, allocations: 0 / 0.5635 GB, free: 1.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002817/0.346, allocations: 101.4 kB / 0.5635 GB, free: 1.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.3461, allocations: 51.41 kB / 0.5636 GB, free: 1.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.347, allocations: 0.8652 MB / 0.5644 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3471, allocations: 25.7 kB / 0.5645 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.3473, allocations: 216.1 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.3473, allocations: 11.95 kB / 0.5647 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3473, allocations: 13.72 kB / 0.5647 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3475, allocations: 358.7 kB / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.312e-05/0.3476, allocations: 19.92 kB / 0.5651 GB, free: 284 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.562e-05/0.3476, allocations: 15.86 kB / 0.5651 GB, free: 268 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.548e-05/0.3477, allocations: 28.84 kB / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3477, allocations: 0 / 0.5651 GB, free: 236 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001647/0.3479, allocations: 97.47 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3479, allocations: 6.812 kB / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3479, allocations: 0 / 0.5652 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3479, allocations: 4 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.348, allocations: 7.984 kB / 0.5652 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.348, allocations: 0 / 0.5652 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.334e-05/0.348, allocations: 0 / 0.5652 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.348, allocations: 4 kB / 0.5652 GB, free: 112 kB / 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 (2): * Single equations (assignments): 2 * 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.0002321/0.3483, allocations: 217.6 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.577e-05/0.3483, allocations: 39.72 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.3486, allocations: 108.8 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3486, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.3486, allocations: 4 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3486, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.3488, allocations: 237.1 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3488, allocations: 0 / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.3489, allocations: 4 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3489, allocations: 4 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3489, allocations: 0 / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3489, allocations: 4.031 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3489, allocations: 0 / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3491, allocations: 199.1 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.3492, allocations: 31.72 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.3492, allocations: 0 / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.3493, allocations: 11.98 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.3493, allocations: 0 / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3493, allocations: 0 / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000723/0.35, allocations: 0.655 MB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.35, allocations: 0 / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.3503, allocations: 19.97 kB / 0.5667 GB, free: 14.53 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 (2): * Single equations (assignments): 2 * 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.001426/0.3517, allocations: 373.4 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3519, allocations: 31.92 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3519, allocations: 0 / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.3519, allocations: 15.98 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/0.3523, allocations: 35.08 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3536, allocations: 0.816 MB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3538, allocations: 215.5 kB / 0.5681 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.3539, allocations: 11.44 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3539, allocations: 0 / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.007661/0.3615, allocations: 3.641 MB / 0.5717 GB, free: 9.488 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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: 7.832215423230082]