Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001859/0.001859, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002426/0.002426, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2272/0.2272, allocations: 46.96 MB / 360.9 MB, free: 4.039 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+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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 67.89 kB / 0.4966 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.35, allocations: 66.03 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003576/0.3536, allocations: 1.977 MB / 0.563 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3556, allocations: 0.9906 MB / 0.564 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.3556, allocations: 4 kB / 0.564 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004739/0.3561, allocations: 255.2 kB / 0.5642 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.3566, allocations: 275 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3577, allocations: 485.3 kB / 0.565 GB, free: 224 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.3581, allocations: 330.9 kB / 0.5653 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.3583, allocations: 56.48 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.3585, allocations: 151.3 kB / 0.5655 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.3587, allocations: 227.2 kB / 0.5657 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.268e-05/0.3588, allocations: 12 kB / 0.5657 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3589, allocations: 75.89 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.3591, allocations: 91.67 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.202e-05/0.3592, allocations: 87.23 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.3596, allocations: 317.1 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3596, allocations: 4 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3596, allocations: 0 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3596, allocations: 0 / 0.5662 GB, free: 14.89 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.0008324/0.3604, allocations: 0.5932 MB / 0.5668 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3605, allocations: 12.03 kB / 0.5668 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.3606, allocations: 44.66 kB / 0.5669 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.3609, allocations: 260.7 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3609, allocations: 8.375 kB / 0.5671 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.361, allocations: 12.38 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.3612, allocations: 113.6 kB / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3612, allocations: 0 / 0.5673 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3613, allocations: 8 kB / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3613, allocations: 0 / 0.5673 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3614, allocations: 67.95 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.3621, allocations: 404.1 kB / 0.5677 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3622, allocations: 90.48 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.656e-05/0.3623, allocations: 36.83 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.3623, allocations: 0 / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.3624, allocations: 38.56 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.3624, allocations: 0 / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009615/0.3633, allocations: 403 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.3634, allocations: 59.39 kB / 0.5683 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006618/0.364, allocations: 0.5526 MB / 0.5689 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3641, allocations: 29.7 kB / 0.5689 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3642, allocations: 204.4 kB / 0.5691 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.3643, allocations: 63.47 kB / 0.5691 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.824e-05/0.3644, allocations: 33.7 kB / 0.5692 GB, free: 11.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.3645, allocations: 350.8 kB / 0.5695 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.3647, allocations: 55.91 kB / 0.5696 GB, free: 11.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.3648, allocations: 51.97 kB / 0.5696 GB, free: 11.28 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.365, allocations: 123.1 kB / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.365, allocations: 0 / 0.5697 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003698/0.3654, allocations: 205.2 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3654, allocations: 4 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3654, allocations: 0 / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.3654, allocations: 0 / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3656, allocations: 47.84 kB / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3656, allocations: 0 / 0.57 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.826e-05/0.3657, allocations: 8 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3657, allocations: 4 kB / 0.57 GB, free: 10.89 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.0001757/0.3659, allocations: 173.8 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.3659, allocations: 47.66 kB / 0.5702 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004881/0.3664, allocations: 245.3 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3664, allocations: 0 / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3664, allocations: 0 / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3664, allocations: 4 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008111/0.3672, allocations: 0.5355 MB / 0.571 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3672, allocations: 4 kB / 0.571 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.3674, allocations: 35.97 kB / 0.571 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3674, allocations: 0 / 0.571 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3674, allocations: 8 kB / 0.571 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3674, allocations: 3.938 kB / 0.571 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3674, allocations: 0 / 0.571 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004135/0.3678, allocations: 307.1 kB / 0.5713 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.484e-05/0.3679, allocations: 27.77 kB / 0.5713 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.3679, allocations: 0 / 0.5713 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.368, allocations: 11.98 kB / 0.5713 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.368, allocations: 11.98 kB / 0.5713 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.368, allocations: 4 kB / 0.5713 GB, free: 9.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004702/0.3685, allocations: 427 kB / 0.5718 GB, free: 9.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3685, allocations: 0 / 0.5718 GB, free: 9.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.3688, allocations: 51.92 kB / 0.5718 GB, free: 8.953 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.003037/0.3718, allocations: 0.7569 MB / 0.5725 GB, free: 8.543 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003145/0.3722, allocations: 119.8 kB / 0.5727 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3722, allocations: 0 / 0.5727 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.3723, allocations: 67.91 kB / 0.5727 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.3728, allocations: 83.39 kB / 0.5728 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.3739, allocations: 0.719 MB / 0.5735 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.3741, allocations: 208.2 kB / 0.5737 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.3743, allocations: 45.91 kB / 0.5737 GB, free: 7.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.3743, allocations: 35.42 kB / 0.5738 GB, free: 7.246 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3743, allocations: 0 / 0.5738 GB, free: 7.246 MB / 414.1 MB Notification: Performance of Templates: time 0.00803/0.3824, allocations: 3.557 MB / 0.5773 GB, free: 3.719 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.388183308765292]