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.001893/0.001893, 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.001712/0.001712, allocations: 214.8 kB / 24.48 MB, free: 3.934 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2509/0.2509, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.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.002003/0.002003, allocations: 67.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3647, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.004875/0.3695, allocations: 1.977 MB / 0.5638 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.3721, allocations: 0.9866 MB / 0.5647 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.3722, allocations: 4 kB / 0.5647 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006632/0.3729, allocations: 255.2 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007552/0.3737, allocations: 263.1 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.3752, allocations: 497.5 kB / 0.5657 GB, free: 220 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006363/0.3759, allocations: 338.9 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.3761, allocations: 56.53 kB / 0.5661 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003053/0.3764, allocations: 155.3 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.3768, allocations: 223.2 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.3768, allocations: 8 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.377, allocations: 75.91 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.3771, allocations: 91.67 kB / 0.5666 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.3772, allocations: 99.16 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.3777, allocations: 313.1 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3777, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3777, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3777, allocations: 7.922 kB / 0.567 GB, free: 14.88 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.0008452/0.3785, allocations: 0.5894 MB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3786, allocations: 8.031 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.3787, allocations: 44.66 kB / 0.5676 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.3791, allocations: 256.7 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3791, allocations: 8.375 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.3791, allocations: 16.38 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.3794, allocations: 109.7 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.3794, allocations: 0 / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.3794, allocations: 7.984 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3794, allocations: 4 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3796, allocations: 71.89 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006927/0.3803, allocations: 408.1 kB / 0.5685 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.3805, allocations: 90.42 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.3805, allocations: 33.06 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.3806, allocations: 11.94 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.3806, allocations: 30.56 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3806, allocations: 0 / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001005/0.3816, allocations: 396.4 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3816, allocations: 51.41 kB / 0.5691 GB, free: 12.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006775/0.3823, allocations: 0.5565 MB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3823, allocations: 29.7 kB / 0.5696 GB, free: 12.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.3825, allocations: 208.4 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.3826, allocations: 63.47 kB / 0.5699 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.3826, allocations: 33.66 kB / 0.5699 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.3828, allocations: 354.8 kB / 0.5703 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.383, allocations: 55.91 kB / 0.5703 GB, free: 11.31 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3831, allocations: 50.8 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3833, allocations: 120.8 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3833, allocations: 4 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003774/0.3837, allocations: 199.4 kB / 0.5707 GB, free: 10.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3837, allocations: 11.98 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3837, allocations: 0 / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3837, allocations: 0 / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003403/0.3841, allocations: 35.92 kB / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3841, allocations: 0 / 0.5707 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.934e-05/0.3842, allocations: 11.98 kB / 0.5707 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3842, allocations: 4 kB / 0.5707 GB, free: 10.88 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.0001835/0.3844, allocations: 177.8 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.075e-05/0.3844, allocations: 43.66 kB / 0.5709 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005025/0.385, allocations: 241.3 kB / 0.5712 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.385, allocations: 4 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.385, allocations: 0 / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.385, allocations: 3.984 kB / 0.5712 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.3858, allocations: 0.5315 MB / 0.5717 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3858, allocations: 7.984 kB / 0.5717 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3859, allocations: 35.98 kB / 0.5717 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3859, allocations: 0 / 0.5717 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3859, allocations: 4 kB / 0.5717 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3859, allocations: 0 / 0.5717 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3859, allocations: 3.938 kB / 0.5717 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.3864, allocations: 303.1 kB / 0.572 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.3864, allocations: 31.75 kB / 0.5721 GB, free: 9.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3865, allocations: 3.938 kB / 0.5721 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.3865, allocations: 12 kB / 0.5721 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3866, allocations: 15.91 kB / 0.5721 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.3866, allocations: 8 kB / 0.5721 GB, free: 9.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004771/0.3871, allocations: 423 kB / 0.5725 GB, free: 8.984 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3871, allocations: 0 / 0.5725 GB, free: 8.984 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003133/0.3874, allocations: 51.92 kB / 0.5726 GB, free: 8.934 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.00302/0.3904, allocations: 0.7534 MB / 0.5733 GB, free: 8.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3908, allocations: 131.8 kB / 0.5734 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3908, allocations: 0 / 0.5734 GB, free: 8.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.3909, allocations: 71.89 kB / 0.5735 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.3915, allocations: 71.67 kB / 0.5736 GB, free: 8.273 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.3927, allocations: 0.7143 MB / 0.5742 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.3929, allocations: 199.4 kB / 0.5744 GB, free: 7.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.393, allocations: 35.42 kB / 0.5745 GB, free: 7.281 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.393, allocations: 0 / 0.5745 GB, free: 7.281 MB / 414.1 MB Notification: Performance of Templates: time 0.007932/0.4009, allocations: 4.653 MB / 0.579 GB, free: 2.633 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/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: 8.460507897019852]