Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001834/0.001834, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002404/0.002404, allocations: 218.2 kB / 23.73 MB, free: 4.16 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.579/1.579, allocations: 230.6 MB / 257.5 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.2427/0.2427, allocations: 44.93 MB / 358.8 MB, free: 6.035 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.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.002289/0.002289, allocations: 59.91 kB / 0.4935 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3319, allocations: 65.48 MB / 0.5575 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003607/0.3355, allocations: 1.981 MB / 0.5594 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.3377, allocations: 1.092 MB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3378, allocations: 8 kB / 0.5605 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.3384, allocations: 259.1 kB / 0.5607 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.3389, allocations: 271 kB / 0.561 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.3405, allocations: 0.6534 MB / 0.5616 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.341, allocations: 366.8 kB / 0.562 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.3412, allocations: 55.58 kB / 0.562 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.3414, allocations: 151.4 kB / 0.5622 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003037/0.3417, allocations: 223.1 kB / 0.5624 GB, free: 2.406 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.3417, allocations: 12 kB / 0.5624 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.3419, allocations: 75.95 kB / 0.5625 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.342, allocations: 99.61 kB / 0.5626 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.599e-05/0.3421, allocations: 91.23 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.3426, allocations: 346 kB / 0.563 GB, free: 1.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3426, allocations: 7.875 kB / 0.563 GB, free: 1.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3426, allocations: 4 kB / 0.563 GB, free: 1.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.3426, allocations: 0 / 0.563 GB, free: 1.785 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.0008489/0.3435, allocations: 0.5894 MB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3435, allocations: 11.98 kB / 0.5636 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.3436, allocations: 52.59 kB / 0.5636 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.3441, allocations: 264.6 kB / 0.5639 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3441, allocations: 8.375 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.998e-05/0.3441, allocations: 12.38 kB / 0.5639 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002983/0.3444, allocations: 141.7 kB / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.3444, allocations: 0 / 0.564 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.3444, allocations: 4 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3444, allocations: 4 kB / 0.564 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.3447, allocations: 91.86 kB / 0.5641 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007542/0.3454, allocations: 432 kB / 0.5645 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3456, allocations: 102.5 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/0.3457, allocations: 36.84 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.3458, allocations: 4 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.3458, allocations: 38.56 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.3458, allocations: 3.938 kB / 0.5647 GB, free: 15.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001115/0.3469, allocations: 454.8 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.347, allocations: 51.41 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.3476, allocations: 0.5643 MB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.3477, allocations: 33.7 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.3478, allocations: 216.3 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.883e-05/0.3479, allocations: 59.48 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.3479, allocations: 33.7 kB / 0.5661 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3481, allocations: 350.8 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.3483, allocations: 71.95 kB / 0.5665 GB, free: 14.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3484, allocations: 67.95 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.3487, allocations: 151.1 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3487, allocations: 4 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004187/0.3491, allocations: 241.1 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3491, allocations: 8 kB / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3492, allocations: 0 / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3492, allocations: 0 / 0.5669 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.3493, allocations: 35.97 kB / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3493, allocations: 0 / 0.567 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.3494, allocations: 7.938 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3494, allocations: 8 kB / 0.567 GB, free: 13.52 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.0001932/0.3496, allocations: 185.7 kB / 0.5672 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.3497, allocations: 43.66 kB / 0.5672 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005529/0.3502, allocations: 281.5 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3502, allocations: 0 / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3502, allocations: 3.938 kB / 0.5675 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.3502, allocations: 0 / 0.5675 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00092/0.3512, allocations: 0.5977 MB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3512, allocations: 8 kB / 0.5681 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.3513, allocations: 35.92 kB / 0.5681 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3513, allocations: 3.984 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3513, allocations: 4 kB / 0.5681 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.3513, allocations: 4 kB / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3513, allocations: 0 / 0.5681 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004782/0.3518, allocations: 331 kB / 0.5684 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.3518, allocations: 27.77 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.3519, allocations: 7.938 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.352, allocations: 15.98 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.352, allocations: 7.984 kB / 0.5685 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.352, allocations: 8 kB / 0.5685 GB, free: 11.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004825/0.3525, allocations: 431 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3525, allocations: 0 / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003251/0.3529, allocations: 51.92 kB / 0.5689 GB, free: 11.43 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.003186/0.356, allocations: 0.7532 MB / 0.5697 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004026/0.3564, allocations: 166.6 kB / 0.5698 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3564, allocations: 4 kB / 0.5698 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3566, allocations: 87.88 kB / 0.5699 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.3572, allocations: 70.86 kB / 0.57 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.3584, allocations: 0.7362 MB / 0.5707 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.3586, allocations: 232.8 kB / 0.5709 GB, free: 9.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.3588, allocations: 57.88 kB / 0.571 GB, free: 9.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.592e-05/0.3588, allocations: 23.44 kB / 0.571 GB, free: 9.629 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3588, allocations: 4 kB / 0.571 GB, free: 9.625 MB / 414.1 MB Notification: Performance of Templates: time 0.00829/0.3671, allocations: 3.688 MB / 0.5746 GB, free: 5.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.477681873366237]