Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.001675/0.001675, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001831/0.001831, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.488/1.488, 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.2229/0.2229, allocations: 44.94 MB / 359.6 MB, free: 6.066 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") [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.002161/0.002161, allocations: 67.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3368, allocations: 65.48 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003289/0.3401, allocations: 1.608 MB / 0.5598 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3412, allocations: 0.5301 MB / 0.5603 GB, free: 5.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.3413, allocations: 3.938 kB / 0.5603 GB, free: 5.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000637/0.3419, allocations: 463.1 kB / 0.5607 GB, free: 4.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.3424, allocations: 295.3 kB / 0.561 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.3429, allocations: 167 kB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.3431, allocations: 175.6 kB / 0.5613 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3432, allocations: 15.98 kB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.3433, allocations: 107.7 kB / 0.5615 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.3436, allocations: 239.5 kB / 0.5617 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.3436, allocations: 4 kB / 0.5617 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.438e-05/0.3437, allocations: 27.98 kB / 0.5617 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3438, allocations: 83.69 kB / 0.5618 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.3439, allocations: 75.23 kB / 0.5619 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003416/0.3442, allocations: 261 kB / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3442, allocations: 0 / 0.5621 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3442, allocations: 3.938 kB / 0.5621 GB, free: 3.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3443, allocations: 0 / 0.5621 GB, free: 3.461 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.0007741/0.345, allocations: 0.5621 MB / 0.5627 GB, free: 2.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3451, allocations: 8.031 kB / 0.5627 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.3451, allocations: 44.66 kB / 0.5627 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.3454, allocations: 246.8 kB / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3454, allocations: 384 / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3455, allocations: 4.375 kB / 0.563 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3456, allocations: 62.72 kB / 0.563 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3456, allocations: 0 / 0.563 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3456, allocations: 0 / 0.563 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.3456, allocations: 8 kB / 0.563 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3457, allocations: 27.97 kB / 0.5631 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.3462, allocations: 328.4 kB / 0.5634 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.294e-05/0.3463, allocations: 34.5 kB / 0.5634 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.3464, allocations: 16.91 kB / 0.5634 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3464, allocations: 4 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.3464, allocations: 34.56 kB / 0.5635 GB, free: 1.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3464, allocations: 0 / 0.5635 GB, free: 1.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002941/0.3467, allocations: 101.4 kB / 0.5636 GB, free: 1.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.3468, allocations: 51.41 kB / 0.5636 GB, free: 1.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/0.3477, allocations: 0.8652 MB / 0.5644 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3477, allocations: 29.64 kB / 0.5645 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.3479, allocations: 212 kB / 0.5647 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.348, allocations: 4.078 kB / 0.5647 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/0.348, allocations: 21.72 kB / 0.5647 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.3482, allocations: 362.7 kB / 0.565 GB, free: 304 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.3482, allocations: 15.94 kB / 0.5651 GB, free: 288 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.642e-05/0.3483, allocations: 7.984 kB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.279e-05/0.3484, allocations: 32.78 kB / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3484, allocations: 0 / 0.5651 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001567/0.3485, allocations: 93.39 kB / 0.5652 GB, free: 144 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.3485, allocations: 8.094 kB / 0.5652 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3485, allocations: 4 kB / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3486, allocations: 0 / 0.5652 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.3486, allocations: 7.938 kB / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3486, allocations: 0 / 0.5652 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.3487, allocations: 3.984 kB / 0.5652 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3487, allocations: 4 kB / 0.5652 GB, free: 116 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.000223/0.3489, allocations: 213.7 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.349, allocations: 39.72 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3492, allocations: 112.7 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3492, allocations: 4 kB / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3492, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3492, allocations: 0 / 0.5656 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.3495, allocations: 233.1 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3495, allocations: 0 / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.3495, allocations: 11.98 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3495, allocations: 0 / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.3495, allocations: 3.938 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3495, allocations: 0 / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3495, allocations: 4.031 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.3498, allocations: 195.2 kB / 0.566 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.3498, allocations: 31.72 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.3498, allocations: 4 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.3499, allocations: 4 kB / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.3499, allocations: 0 / 0.566 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.3499, allocations: 4 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006775/0.3506, allocations: 0.6511 MB / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3506, allocations: 0 / 0.5667 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3509, allocations: 23.94 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.001366/0.3522, allocations: 371.8 kB / 0.5671 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.3524, allocations: 27.92 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3524, allocations: 4.062 kB / 0.5671 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.3524, allocations: 11.98 kB / 0.5671 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.3528, allocations: 29.53 kB / 0.5671 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.354, allocations: 0.8236 MB / 0.5679 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3542, allocations: 211.5 kB / 0.5681 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.3543, allocations: 19.42 kB / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3543, allocations: 0 / 0.5681 GB, free: 13.14 MB / 414.1 MB Notification: Performance of Templates: time 0.007438/0.3617, allocations: 3.638 MB / 0.5717 GB, free: 9.492 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.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.869160646107048]