Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001652/0.001652, 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.00159/0.00159, allocations: 215.6 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.472/1.472, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2298/0.2298, allocations: 44.94 MB / 359.6 MB, free: 6.078 MB / 286.1 MB " [Timeout remaining time 179] 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,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.Test21") [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.002097/0.002097, allocations: 63.91 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3515, allocations: 65.47 MB / 0.5582 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003922/0.3554, allocations: 1.971 MB / 0.5601 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3575, allocations: 0.9984 MB / 0.5611 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.612e-05/0.3576, allocations: 4 kB / 0.5611 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004946/0.3581, allocations: 251.2 kB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.3587, allocations: 271 kB / 0.5616 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3598, allocations: 493.7 kB / 0.5621 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.3602, allocations: 338.8 kB / 0.5624 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.3603, allocations: 56.55 kB / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.3605, allocations: 143.4 kB / 0.5626 GB, free: 3.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.3608, allocations: 227.1 kB / 0.5628 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.3608, allocations: 12 kB / 0.5628 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001768/0.361, allocations: 95.95 kB / 0.5629 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3611, allocations: 95.67 kB / 0.563 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.3612, allocations: 87.22 kB / 0.5631 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.3617, allocations: 341 kB / 0.5634 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3617, allocations: 0 / 0.5634 GB, free: 2.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3617, allocations: 4 kB / 0.5634 GB, free: 2.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3617, allocations: 4 kB / 0.5634 GB, free: 2.176 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.000777/0.3625, allocations: 0.597 MB / 0.564 GB, free: 1.547 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3625, allocations: 11.98 kB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.3626, allocations: 44.66 kB / 0.564 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3629, allocations: 256.7 kB / 0.5643 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.363, allocations: 8.375 kB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.363, allocations: 16.36 kB / 0.5643 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.3632, allocations: 105.7 kB / 0.5644 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3632, allocations: 3.984 kB / 0.5644 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.083e-05/0.3632, allocations: 12 kB / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.3633, allocations: 0 / 0.5644 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.3635, allocations: 67.95 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.3641, allocations: 408.1 kB / 0.5649 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3643, allocations: 86.48 kB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.979e-05/0.3643, allocations: 32.84 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.3644, allocations: 3.984 kB / 0.565 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3644, allocations: 38.78 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.396e-06/0.3644, allocations: 7.938 kB / 0.565 GB, free: 392 kB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009372/0.3653, allocations: 395.4 kB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.3654, allocations: 55.41 kB / 0.5655 GB, free: 15.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006483/0.366, allocations: 0.5643 MB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.3661, allocations: 25.7 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.3662, allocations: 204.2 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.3663, allocations: 59.48 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.3663, allocations: 33.7 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3665, allocations: 354.8 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3666, allocations: 51.97 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.3667, allocations: 47.97 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.367, allocations: 123.1 kB / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.367, allocations: 0 / 0.5669 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003655/0.3674, allocations: 209.1 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3674, allocations: 4 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3674, allocations: 4 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.3674, allocations: 3.938 kB / 0.5671 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3675, allocations: 35.97 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.3675, allocations: 0 / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.3676, allocations: 8 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.3676, allocations: 8 kB / 0.5671 GB, free: 14.17 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.0001871/0.3678, allocations: 169.8 kB / 0.5673 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.3679, allocations: 47.66 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004827/0.3684, allocations: 253.4 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3684, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3684, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3684, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008049/0.3692, allocations: 0.5432 MB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3692, allocations: 0 / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.3693, allocations: 31.92 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3693, allocations: 0 / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3693, allocations: 15.98 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3693, allocations: 0 / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3693, allocations: 0 / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.3697, allocations: 303.1 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.3698, allocations: 27.77 kB / 0.5685 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.3698, allocations: 4 kB / 0.5685 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.3699, allocations: 11.98 kB / 0.5685 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3699, allocations: 7.984 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3699, allocations: 4 kB / 0.5685 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004676/0.3704, allocations: 431 kB / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3704, allocations: 0 / 0.5689 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003023/0.3707, allocations: 51.88 kB / 0.569 GB, free: 12.23 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.002969/0.3737, allocations: 0.7583 MB / 0.5697 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.374, allocations: 126 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.374, allocations: 4 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3741, allocations: 71.91 kB / 0.5699 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.3747, allocations: 71.19 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3758, allocations: 0.7028 MB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.376, allocations: 199.5 kB / 0.5709 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.497e-05/0.3761, allocations: 35.42 kB / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3761, allocations: 0 / 0.5709 GB, free: 10.59 MB / 414.1 MB Notification: Performance of Templates: time 0.007487/0.3836, allocations: 4.655 MB / 0.5754 GB, free: 5.93 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.394142993725836]