Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001667/0.001667, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001898/0.001898, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2599/0.2599, allocations: 46.93 MB / 361.6 MB, free: 4.27 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002339/0.002339, allocations: 71.89 kB / 0.4974 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4346, allocations: 66.02 MB / 0.5619 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003566/0.4381, allocations: 1.69 MB / 0.5636 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.4393, allocations: 0.5738 MB / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.4394, allocations: 0 / 0.5641 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.44, allocations: 463.1 kB / 0.5646 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.4406, allocations: 295.3 kB / 0.5648 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.4409, allocations: 131 kB / 0.565 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.4412, allocations: 175.6 kB / 0.5651 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4414, allocations: 15.98 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.4415, allocations: 119.6 kB / 0.5653 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.4418, allocations: 251.5 kB / 0.5655 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.4418, allocations: 0 / 0.5655 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.442, allocations: 51.98 kB / 0.5655 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.4421, allocations: 79.69 kB / 0.5656 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.4422, allocations: 110.9 kB / 0.5657 GB, free: 500 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003787/0.4426, allocations: 276.9 kB / 0.566 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4426, allocations: 0 / 0.566 GB, free: 228 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4426, allocations: 0 / 0.566 GB, free: 228 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.4426, allocations: 4 kB / 0.566 GB, free: 224 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008252/0.4434, allocations: 0.5894 MB / 0.5666 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4434, allocations: 8.031 kB / 0.5666 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.182e-05/0.4435, allocations: 44.66 kB / 0.5666 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.4438, allocations: 246.7 kB / 0.5669 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.4438, allocations: 384 / 0.5669 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.4439, allocations: 8.359 kB / 0.5669 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.444, allocations: 65.69 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4441, allocations: 4 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.4441, allocations: 4 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4441, allocations: 3.984 kB / 0.5669 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.4442, allocations: 31.91 kB / 0.567 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005322/0.4447, allocations: 367.8 kB / 0.5673 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.4448, allocations: 42.59 kB / 0.5674 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.222e-05/0.4449, allocations: 16.86 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.4449, allocations: 4 kB / 0.5674 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4449, allocations: 34.64 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.4449, allocations: 0 / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001021/0.4459, allocations: 316.5 kB / 0.5677 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.446, allocations: 55.34 kB / 0.5678 GB, free: 14.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009679/0.447, allocations: 0.8653 MB / 0.5686 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.447, allocations: 25.7 kB / 0.5686 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.4472, allocations: 224.1 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.4472, allocations: 27.73 kB / 0.5689 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.694e-05/0.4473, allocations: 21.72 kB / 0.5689 GB, free: 13.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.4475, allocations: 366.8 kB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.4476, allocations: 27.98 kB / 0.5693 GB, free: 12.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.4476, allocations: 20.06 kB / 0.5693 GB, free: 12.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.4478, allocations: 68.91 kB / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4478, allocations: 0 / 0.5694 GB, free: 12.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002421/0.448, allocations: 133.4 kB / 0.5695 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4481, allocations: 8 kB / 0.5695 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4481, allocations: 3.984 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4481, allocations: 0 / 0.5695 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.4482, allocations: 16 kB / 0.5695 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4482, allocations: 7.922 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.474e-05/0.4483, allocations: 4 kB / 0.5695 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4483, allocations: 0 / 0.5695 GB, free: 12.41 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 (8): * Single equations (assignments): 8 * 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.000237/0.4485, allocations: 221.7 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.4486, allocations: 47.67 kB / 0.5698 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.4489, allocations: 161.5 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4489, allocations: 0 / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.449, allocations: 11.88 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.449, allocations: 7.938 kB / 0.57 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00071/0.4497, allocations: 478.2 kB / 0.5704 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.4497, allocations: 7.938 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.38e-05/0.4497, allocations: 19.92 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4498, allocations: 0 / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4498, allocations: 4 kB / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4498, allocations: 0 / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4498, allocations: 0 / 0.5704 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003078/0.4501, allocations: 244.1 kB / 0.5707 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.4501, allocations: 39.64 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.4502, allocations: 4 kB / 0.5707 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.4503, allocations: 8 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.359e-05/0.4504, allocations: 4.406 kB / 0.5707 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.4504, allocations: 7.938 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006848/0.4511, allocations: 0.6511 MB / 0.5714 GB, free: 10.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4511, allocations: 8 kB / 0.5714 GB, free: 10.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.4513, allocations: 23.98 kB / 0.5714 GB, free: 10.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001752/0.4531, allocations: 461.1 kB / 0.5718 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.4533, allocations: 59.97 kB / 0.5719 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4533, allocations: 0 / 0.5719 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.4534, allocations: 39.91 kB / 0.5719 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.4539, allocations: 41.39 kB / 0.572 GB, free: 9.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4552, allocations: 0.8598 MB / 0.5728 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.4558, allocations: 0.8298 MB / 0.5736 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.759e-05/0.4558, allocations: 19.44 kB / 0.5736 GB, free: 8.215 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4558, allocations: 0 / 0.5736 GB, free: 8.215 MB / 414.1 MB Notification: Performance of Templates: time 0.008214/0.464, allocations: 3.945 MB / 0.5775 GB, free: 4.262 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.074027038179338]