Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.001801/0.001801, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002178/0.002178, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.455/1.455, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.2176/0.2176, allocations: 44.9 MB / 359.6 MB, free: 6.281 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.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.0.0_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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [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.002019/0.002019, allocations: 67.84 kB / 0.4943 GB, free: 10.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3402, allocations: 65.47 MB / 0.5583 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003783/0.344, allocations: 2.057 MB / 0.5603 GB, free: 5.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.346, allocations: 1.045 MB / 0.5613 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3461, allocations: 4 kB / 0.5613 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005219/0.3466, allocations: 255.2 kB / 0.5615 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.3471, allocations: 267 kB / 0.5618 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.3482, allocations: 489.8 kB / 0.5623 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.3487, allocations: 334.8 kB / 0.5626 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.3488, allocations: 60.55 kB / 0.5626 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.349, allocations: 147.4 kB / 0.5628 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.3494, allocations: 219.2 kB / 0.563 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3494, allocations: 12 kB / 0.563 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.3495, allocations: 83.89 kB / 0.5631 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.3497, allocations: 91.67 kB / 0.5632 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3498, allocations: 118.9 kB / 0.5633 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.3502, allocations: 321.1 kB / 0.5636 GB, free: 2.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3503, allocations: 3.984 kB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3503, allocations: 3.938 kB / 0.5636 GB, free: 2.246 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3503, allocations: 0 / 0.5636 GB, free: 2.246 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008565/0.3511, allocations: 0.5855 MB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3512, allocations: 11.98 kB / 0.5642 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.627e-05/0.3513, allocations: 48.66 kB / 0.5642 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.3516, allocations: 256.7 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.3517, allocations: 8.375 kB / 0.5645 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3517, allocations: 16.31 kB / 0.5645 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3519, allocations: 109.7 kB / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.352, allocations: 0 / 0.5646 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.352, allocations: 8 kB / 0.5646 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.352, allocations: 3.938 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.3522, allocations: 71.89 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006971/0.3529, allocations: 463.5 kB / 0.5651 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.3531, allocations: 86.48 kB / 0.5652 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.853e-05/0.3531, allocations: 32.84 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.3532, allocations: 7.984 kB / 0.5652 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3532, allocations: 38.56 kB / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.3532, allocations: 0 / 0.5653 GB, free: 404 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009526/0.3542, allocations: 388.7 kB / 0.5656 GB, free: 8 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.3542, allocations: 59.31 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006706/0.3549, allocations: 0.5565 MB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.3549, allocations: 25.7 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.3551, allocations: 212.4 kB / 0.5665 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.3552, allocations: 63.47 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.619e-05/0.3552, allocations: 33.7 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.3554, allocations: 354.7 kB / 0.5669 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.3555, allocations: 51.97 kB / 0.567 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.3556, allocations: 46.62 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.3559, allocations: 124.8 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3559, allocations: 3.938 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003648/0.3563, allocations: 203.3 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3563, allocations: 4 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3563, allocations: 0 / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3563, allocations: 0 / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.3565, allocations: 35.92 kB / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.3565, allocations: 0 / 0.5674 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.3565, allocations: 15.98 kB / 0.5674 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.3565, allocations: 7.938 kB / 0.5674 GB, free: 14.18 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.0001788/0.3567, allocations: 173.8 kB / 0.5675 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.565e-05/0.3568, allocations: 39.72 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.3573, allocations: 245.3 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.3573, allocations: 7.984 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3573, allocations: 0 / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3573, allocations: 0 / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008568/0.3582, allocations: 0.5929 MB / 0.5684 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3582, allocations: 7.938 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3583, allocations: 31.98 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3583, allocations: 0 / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3583, allocations: 11.94 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3583, allocations: 0 / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3583, allocations: 7.922 kB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.3587, allocations: 299.1 kB / 0.5687 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3588, allocations: 27.77 kB / 0.5688 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.3588, allocations: 4 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.281e-05/0.3589, allocations: 4 kB / 0.5688 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.359, allocations: 19.91 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.359, allocations: 8 kB / 0.5688 GB, free: 12.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004804/0.3594, allocations: 427.1 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3594, allocations: 0 / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000323/0.3598, allocations: 47.94 kB / 0.5693 GB, free: 12.17 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.002883/0.3627, allocations: 0.704 MB / 0.5699 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.363, allocations: 123.8 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.363, allocations: 4 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3631, allocations: 67.91 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.3637, allocations: 82.55 kB / 0.5702 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3648, allocations: 0.7066 MB / 0.5709 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.3653, allocations: 0.8065 MB / 0.5717 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.3654, allocations: 35.42 kB / 0.5717 GB, free: 9.91 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3654, allocations: 0 / 0.5717 GB, free: 9.91 MB / 414.1 MB Notification: Performance of Templates: time 0.00753/0.3729, allocations: 4.543 MB / 0.5762 GB, free: 5.375 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.271494026994333]