Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001811/0.001811, allocations: 113.1 kB / 21.85 MB, free: 64 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.002151/0.002151, allocations: 203.5 kB / 25.13 MB, free: 3.578 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.457/1.457, allocations: 230.4 MB / 258.7 MB, free: 8.047 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.2285/0.2285, allocations: 46.94 MB / 362 MB, free: 4.242 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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21") [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.002361/0.002361, allocations: 79.86 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3347, allocations: 66.08 MB / 0.5623 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003802/0.3385, allocations: 2.056 MB / 0.5643 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3404, allocations: 1.044 MB / 0.5654 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3405, allocations: 4 kB / 0.5654 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005435/0.341, allocations: 255.2 kB / 0.5656 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005856/0.3416, allocations: 267.1 kB / 0.5659 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3427, allocations: 489.2 kB / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.3431, allocations: 334.9 kB / 0.5667 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.3433, allocations: 60.53 kB / 0.5667 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.3434, allocations: 151.3 kB / 0.5669 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.3437, allocations: 227.2 kB / 0.5671 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.3437, allocations: 12 kB / 0.5671 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.3439, allocations: 99.91 kB / 0.5672 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.344, allocations: 87.67 kB / 0.5673 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.3442, allocations: 130.9 kB / 0.5674 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.3446, allocations: 341 kB / 0.5677 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3446, allocations: 0 / 0.5677 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3446, allocations: 4 kB / 0.5677 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3446, allocations: 0 / 0.5677 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008081/0.3454, allocations: 0.5971 MB / 0.5683 GB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3454, allocations: 8.031 kB / 0.5683 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.604e-05/0.3455, allocations: 44.66 kB / 0.5683 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.3459, allocations: 256.7 kB / 0.5686 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3459, allocations: 12.38 kB / 0.5686 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.3459, allocations: 8.375 kB / 0.5686 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.3461, allocations: 119 kB / 0.5687 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3461, allocations: 192 / 0.5687 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.3462, allocations: 7.938 kB / 0.5687 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3462, allocations: 4 kB / 0.5687 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.3464, allocations: 75.83 kB / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/0.3471, allocations: 447.5 kB / 0.5692 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.3472, allocations: 90.48 kB / 0.5693 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.312e-05/0.3473, allocations: 32.84 kB / 0.5694 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.3473, allocations: 7.984 kB / 0.5694 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3474, allocations: 38.55 kB / 0.5694 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.3474, allocations: 0 / 0.5694 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009347/0.3483, allocations: 411 kB / 0.5698 GB, free: 12.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3483, allocations: 51.41 kB / 0.5698 GB, free: 12.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006423/0.349, allocations: 0.5565 MB / 0.5704 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.349, allocations: 25.7 kB / 0.5704 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3492, allocations: 212.4 kB / 0.5706 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.3492, allocations: 59.47 kB / 0.5707 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3493, allocations: 33.7 kB / 0.5707 GB, free: 11.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3494, allocations: 350.8 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3496, allocations: 59.97 kB / 0.5711 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.3497, allocations: 51.91 kB / 0.5711 GB, free: 11.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.3499, allocations: 119.2 kB / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3499, allocations: 0 / 0.5713 GB, free: 10.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003612/0.3503, allocations: 201.2 kB / 0.5714 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3503, allocations: 7.984 kB / 0.5715 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3503, allocations: 4 kB / 0.5715 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.3503, allocations: 4 kB / 0.5715 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.3505, allocations: 31.92 kB / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3505, allocations: 4 kB / 0.5715 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.3506, allocations: 11.98 kB / 0.5715 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.3506, allocations: 4 kB / 0.5715 GB, free: 10.64 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.0001658/0.3507, allocations: 165.8 kB / 0.5717 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.3508, allocations: 47.66 kB / 0.5717 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.3513, allocations: 251.2 kB / 0.572 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3513, allocations: 0 / 0.572 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3513, allocations: 3.984 kB / 0.572 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3513, allocations: 0 / 0.572 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008313/0.3521, allocations: 0.5949 MB / 0.5725 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3521, allocations: 0 / 0.5725 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3522, allocations: 31.98 kB / 0.5726 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3522, allocations: 4 kB / 0.5726 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.3522, allocations: 8 kB / 0.5726 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.3523, allocations: 0 / 0.5726 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3523, allocations: 7.938 kB / 0.5726 GB, free: 9.473 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.3527, allocations: 302 kB / 0.5729 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.481e-05/0.3527, allocations: 27.77 kB / 0.5729 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3528, allocations: 12 kB / 0.5729 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.3528, allocations: 4 kB / 0.5729 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.3529, allocations: 15.97 kB / 0.5729 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3529, allocations: 7.938 kB / 0.5729 GB, free: 9.098 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004528/0.3534, allocations: 423.1 kB / 0.5733 GB, free: 8.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3534, allocations: 0 / 0.5733 GB, free: 8.688 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.3537, allocations: 47.94 kB / 0.5734 GB, free: 8.641 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.002664/0.3563, allocations: 0.6886 MB / 0.5741 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.3566, allocations: 129.9 kB / 0.5742 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3567, allocations: 0 / 0.5742 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3568, allocations: 67.91 kB / 0.5743 GB, free: 8.035 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.3573, allocations: 72.94 kB / 0.5743 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.3584, allocations: 0.7048 MB / 0.575 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.3588, allocations: 0.8104 MB / 0.5758 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3589, allocations: 57.88 kB / 0.5759 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/0.359, allocations: 27.42 kB / 0.5759 GB, free: 6.32 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.359, allocations: 0 / 0.5759 GB, free: 6.32 MB / 414.1 MB Notification: Performance of Templates: time 0.007345/0.3663, allocations: 3.366 MB / 0.5792 GB, free: 2.965 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.997175019001588]