Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 211.2 kB / 25.13 MB, free: 3.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2342/0.2342, allocations: 46.94 MB / 362 MB, free: 4.246 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 79.86 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3271, allocations: 66.09 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.003577/0.3307, allocations: 2.052 MB / 0.5643 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.3326, allocations: 1.045 MB / 0.5654 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.3326, allocations: 0 / 0.5654 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005076/0.3332, allocations: 255.2 kB / 0.5656 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005251/0.3337, allocations: 267 kB / 0.5659 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.3347, allocations: 493 kB / 0.5663 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.3352, allocations: 338.8 kB / 0.5667 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.3353, allocations: 60.48 kB / 0.5667 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.3355, allocations: 151.4 kB / 0.5669 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.3358, allocations: 219.2 kB / 0.5671 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.188e-05/0.3358, allocations: 12 kB / 0.5671 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.336, allocations: 75.91 kB / 0.5672 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.3361, allocations: 91.67 kB / 0.5672 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3362, allocations: 126.9 kB / 0.5674 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.3366, allocations: 321.2 kB / 0.5677 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3366, allocations: 0 / 0.5677 GB, free: 14.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3366, allocations: 0 / 0.5677 GB, free: 14.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3366, allocations: 3.938 kB / 0.5677 GB, free: 14.8 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.0007748/0.3374, allocations: 0.5933 MB / 0.5682 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.3375, allocations: 12.03 kB / 0.5683 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.3375, allocations: 40.66 kB / 0.5683 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.3379, allocations: 256.7 kB / 0.5685 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3379, allocations: 8.375 kB / 0.5686 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.3379, allocations: 12.38 kB / 0.5686 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3382, allocations: 107 kB / 0.5687 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3382, allocations: 4.188 kB / 0.5687 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3382, allocations: 7.938 kB / 0.5687 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3382, allocations: 0 / 0.5687 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.3384, allocations: 83.77 kB / 0.5688 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.3391, allocations: 451.5 kB / 0.5692 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3392, allocations: 94.41 kB / 0.5693 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/0.3393, allocations: 32.84 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3393, allocations: 4 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3394, allocations: 38.56 kB / 0.5693 GB, free: 12.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3394, allocations: 0 / 0.5693 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009333/0.3403, allocations: 396.6 kB / 0.5697 GB, free: 12.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.3403, allocations: 55.41 kB / 0.5698 GB, free: 12.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006372/0.341, allocations: 0.5526 MB / 0.5703 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.341, allocations: 33.7 kB / 0.5704 GB, free: 11.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.3412, allocations: 204.4 kB / 0.5705 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.3412, allocations: 63.47 kB / 0.5706 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.3413, allocations: 29.72 kB / 0.5706 GB, free: 11.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3415, allocations: 354.8 kB / 0.571 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3416, allocations: 51.91 kB / 0.571 GB, free: 11.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.3417, allocations: 46.64 kB / 0.5711 GB, free: 11.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.3419, allocations: 128.8 kB / 0.5712 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3419, allocations: 0 / 0.5712 GB, free: 11 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000343/0.3423, allocations: 199.6 kB / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3423, allocations: 8 kB / 0.5714 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3423, allocations: 0 / 0.5714 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3423, allocations: 3.984 kB / 0.5714 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3425, allocations: 39.92 kB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3425, allocations: 4 kB / 0.5714 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.645e-05/0.3425, allocations: 8 kB / 0.5714 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3425, allocations: 7.984 kB / 0.5714 GB, free: 10.73 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.0001736/0.3427, allocations: 173.8 kB / 0.5716 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.369e-05/0.3428, allocations: 43.66 kB / 0.5717 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/0.3433, allocations: 245.3 kB / 0.5719 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3433, allocations: 4 kB / 0.5719 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3433, allocations: 4 kB / 0.5719 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.3433, allocations: 7.969 kB / 0.5719 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008698/0.3442, allocations: 0.5928 MB / 0.5725 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3442, allocations: 0 / 0.5725 GB, free: 9.602 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.3443, allocations: 35.92 kB / 0.5725 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3443, allocations: 0 / 0.5725 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3443, allocations: 8 kB / 0.5725 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3443, allocations: 7.938 kB / 0.5725 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3443, allocations: 0 / 0.5725 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003991/0.3447, allocations: 299 kB / 0.5728 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.3447, allocations: 31.77 kB / 0.5729 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.3448, allocations: 4 kB / 0.5729 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.3449, allocations: 4 kB / 0.5729 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.3449, allocations: 19.97 kB / 0.5729 GB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3449, allocations: 7.938 kB / 0.5729 GB, free: 9.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004649/0.3454, allocations: 419.1 kB / 0.5733 GB, free: 8.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 4 kB / 0.5733 GB, free: 8.766 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.3457, allocations: 47.92 kB / 0.5733 GB, free: 8.719 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.002716/0.3484, allocations: 0.6796 MB / 0.574 GB, free: 8.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3487, allocations: 134 kB / 0.5741 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3487, allocations: 0 / 0.5741 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.3489, allocations: 67.91 kB / 0.5742 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.3495, allocations: 76.23 kB / 0.5743 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.3506, allocations: 0.697 MB / 0.5749 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.351, allocations: 0.8181 MB / 0.5757 GB, free: 6.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3512, allocations: 45.89 kB / 0.5758 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.3512, allocations: 27.44 kB / 0.5758 GB, free: 6.41 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3512, allocations: 4 kB / 0.5758 GB, free: 6.406 MB / 414.1 MB Notification: Performance of Templates: time 0.007906/0.3591, allocations: 3.37 MB / 0.5791 GB, free: 3.051 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.066604187013581]