Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.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.007704/0.007704, allocations: 110.6 kB / 21.98 MB, free: 5.18 MB / 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.001886/0.001886, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.46/1.46, allocations: 230.5 MB / 258.9 MB, free: 8.012 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.2321/0.2321, allocations: 46.93 MB / 362.3 MB, free: 4.211 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.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19") [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.002295/0.002295, allocations: 87.86 kB / 0.4982 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3316, allocations: 66.07 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003692/0.3353, allocations: 1.966 MB / 0.5647 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3373, allocations: 1.115 MB / 0.5657 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3374, allocations: 3.938 kB / 0.5657 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.338, allocations: 259.2 kB / 0.566 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005268/0.3385, allocations: 267.1 kB / 0.5662 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.3399, allocations: 0.6445 MB / 0.5669 GB, free: 4 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.3404, allocations: 323.1 kB / 0.5672 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3406, allocations: 40.86 kB / 0.5672 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.3408, allocations: 151.3 kB / 0.5674 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.341, allocations: 215.3 kB / 0.5676 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.3411, allocations: 11.94 kB / 0.5676 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.3412, allocations: 51.92 kB / 0.5676 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3414, allocations: 91.67 kB / 0.5677 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3415, allocations: 115 kB / 0.5678 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.3419, allocations: 296.9 kB / 0.5681 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3419, allocations: 4 kB / 0.5681 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3419, allocations: 0 / 0.5681 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3419, allocations: 0 / 0.5681 GB, free: 14.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008183/0.3427, allocations: 0.5738 MB / 0.5687 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3428, allocations: 12.03 kB / 0.5687 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.3429, allocations: 40.66 kB / 0.5687 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.3432, allocations: 264.7 kB / 0.569 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-06/0.3433, allocations: 384 / 0.569 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3433, allocations: 8.375 kB / 0.569 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002338/0.3435, allocations: 102.1 kB / 0.5691 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3435, allocations: 192 / 0.5691 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.3435, allocations: 7.938 kB / 0.5691 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3435, allocations: 0 / 0.5691 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.3437, allocations: 67.95 kB / 0.5692 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006807/0.3444, allocations: 427.6 kB / 0.5696 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.3445, allocations: 74.47 kB / 0.5696 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.53e-05/0.3446, allocations: 32.97 kB / 0.5697 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3446, allocations: 0 / 0.5697 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3447, allocations: 38.56 kB / 0.5697 GB, free: 12.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 8.82e-07/0.3447, allocations: 0 / 0.5697 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003865/0.3451, allocations: 157.3 kB / 0.5699 GB, free: 12.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.3451, allocations: 55.41 kB / 0.5699 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000693/0.3458, allocations: 0.5644 MB / 0.5705 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3458, allocations: 25.7 kB / 0.5705 GB, free: 12.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.346, allocations: 216 kB / 0.5707 GB, free: 11.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.346, allocations: 19.86 kB / 0.5707 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.3461, allocations: 17.72 kB / 0.5707 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3463, allocations: 354.8 kB / 0.5711 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.343e-05/0.3464, allocations: 24.23 kB / 0.5711 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/0.3464, allocations: 31.98 kB / 0.5711 GB, free: 11.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3466, allocations: 68.81 kB / 0.5712 GB, free: 11.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3466, allocations: 0 / 0.5712 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002284/0.3468, allocations: 133.3 kB / 0.5713 GB, free: 11.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3468, allocations: 7.938 kB / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3468, allocations: 3.984 kB / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.3468, allocations: 0 / 0.5713 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.867e-05/0.3469, allocations: 15.94 kB / 0.5713 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3469, allocations: 0 / 0.5713 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.347, allocations: 15.88 kB / 0.5714 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.347, allocations: 3.984 kB / 0.5714 GB, free: 11.21 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 (6): * Single equations (assignments): 6 * 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.0001842/0.3472, allocations: 169.8 kB / 0.5715 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.954e-05/0.3473, allocations: 43.7 kB / 0.5716 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/0.3476, allocations: 145.1 kB / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3476, allocations: 0 / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.3476, allocations: 4 kB / 0.5717 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3476, allocations: 7.938 kB / 0.5717 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.348, allocations: 268.5 kB / 0.572 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.348, allocations: 0 / 0.572 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.348, allocations: 15.98 kB / 0.572 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.348, allocations: 0 / 0.572 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.348, allocations: 4.25 kB / 0.572 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.348, allocations: 0 / 0.572 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.348, allocations: 4 kB / 0.572 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3483, allocations: 231.2 kB / 0.5722 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.3484, allocations: 31.77 kB / 0.5722 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.042e-05/0.3484, allocations: 3.984 kB / 0.5722 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.3485, allocations: 4 kB / 0.5722 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.3485, allocations: 3.938 kB / 0.5723 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3485, allocations: 4 kB / 0.5723 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004893/0.349, allocations: 431 kB / 0.5727 GB, free: 9.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.349, allocations: 0 / 0.5727 GB, free: 9.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.3493, allocations: 35.92 kB / 0.5727 GB, free: 9.762 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 (6): * Single equations (assignments): 6 * 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.002354/0.3517, allocations: 0.5883 MB / 0.5733 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.3519, allocations: 59.95 kB / 0.5733 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3519, allocations: 0 / 0.5733 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.814e-05/0.352, allocations: 35.92 kB / 0.5734 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.3525, allocations: 74.11 kB / 0.5734 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.3537, allocations: 0.6636 MB / 0.5741 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.3541, allocations: 0.8022 MB / 0.5749 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.3542, allocations: 27.42 kB / 0.5749 GB, free: 7.695 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3542, allocations: 4 kB / 0.5749 GB, free: 7.691 MB / 414.1 MB Notification: Performance of Templates: time 0.007203/0.3614, allocations: 4.003 MB / 0.5788 GB, free: 3.684 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test19.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.195795114152133]