Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001969/0.001969, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002399/0.002399, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.549/1.549, allocations: 230.2 MB / 257.8 MB, free: 8.5 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.2423/0.2423, allocations: 46.89 MB / 361.1 MB, free: 4.609 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.Test21,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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.002459/0.002459, allocations: 87.86 kB / 0.4968 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3252, allocations: 65.97 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.003871/0.329, allocations: 2.087 MB / 0.5632 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.3312, allocations: 1.142 MB / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.3313, allocations: 0 / 0.5644 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.3319, allocations: 271.1 kB / 0.5646 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005519/0.3324, allocations: 259.1 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.3339, allocations: 0.6562 MB / 0.5655 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004931/0.3344, allocations: 350.9 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.3346, allocations: 59.31 kB / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3348, allocations: 143.4 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003032/0.3351, allocations: 235.2 kB / 0.5663 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.084e-05/0.3351, allocations: 12 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.3353, allocations: 104 kB / 0.5664 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.3354, allocations: 111.5 kB / 0.5665 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3356, allocations: 115 kB / 0.5666 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.3361, allocations: 358.2 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3361, allocations: 0 / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3361, allocations: 4 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.3361, allocations: 0 / 0.5669 GB, free: 15.14 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.0008987/0.337, allocations: 0.6763 MB / 0.5676 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.337, allocations: 8.031 kB / 0.5676 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.3371, allocations: 48.61 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.3375, allocations: 330.5 kB / 0.568 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.3375, allocations: 12.36 kB / 0.568 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3376, allocations: 12.38 kB / 0.568 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.3378, allocations: 126.1 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.3378, allocations: 8.188 kB / 0.5681 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.3379, allocations: 11.94 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3379, allocations: 0 / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.3381, allocations: 91.88 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.3388, allocations: 0.5042 MB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.3391, allocations: 110.5 kB / 0.5688 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.3392, allocations: 40.83 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.3392, allocations: 0 / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.3392, allocations: 38.5 kB / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.3392, allocations: 0 / 0.5689 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001095/0.3403, allocations: 454.8 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3404, allocations: 59.31 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006731/0.341, allocations: 0.5721 MB / 0.5699 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3411, allocations: 25.7 kB / 0.57 GB, free: 11.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.3412, allocations: 208.4 kB / 0.5702 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.3413, allocations: 59.47 kB / 0.5702 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.3414, allocations: 33.72 kB / 0.5702 GB, free: 11.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3416, allocations: 358.8 kB / 0.5706 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.3417, allocations: 63.95 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.3418, allocations: 67.95 kB / 0.5707 GB, free: 11.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003021/0.3421, allocations: 159.2 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3421, allocations: 3.938 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004234/0.3426, allocations: 237.2 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3426, allocations: 4 kB / 0.5711 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3426, allocations: 4 kB / 0.5711 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3426, allocations: 0 / 0.5711 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.3428, allocations: 31.98 kB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3428, allocations: 0 / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.3428, allocations: 7.984 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3428, allocations: 12 kB / 0.5711 GB, free: 10.58 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.0001845/0.343, allocations: 177.7 kB / 0.5713 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.069e-05/0.3431, allocations: 47.66 kB / 0.5714 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005736/0.3437, allocations: 284.2 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.3437, allocations: 0 / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3437, allocations: 0 / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3437, allocations: 11.94 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009905/0.3447, allocations: 0.67 MB / 0.5723 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3447, allocations: 0 / 0.5723 GB, free: 9.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.3448, allocations: 39.98 kB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3448, allocations: 0 / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3448, allocations: 0 / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.3448, allocations: 7.938 kB / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3448, allocations: 0 / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.3453, allocations: 343 kB / 0.5727 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.3454, allocations: 104.9 kB / 0.5728 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.3455, allocations: 8 kB / 0.5728 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.738e-05/0.3456, allocations: 4 kB / 0.5728 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.3456, allocations: 11.98 kB / 0.5728 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3456, allocations: 11.94 kB / 0.5728 GB, free: 8.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004927/0.3461, allocations: 427.1 kB / 0.5732 GB, free: 8.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3461, allocations: 0 / 0.5732 GB, free: 8.355 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.3464, allocations: 51.92 kB / 0.5733 GB, free: 8.305 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.002833/0.3493, allocations: 0.6998 MB / 0.5739 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003908/0.3497, allocations: 163.7 kB / 0.5741 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3497, allocations: 0 / 0.5741 GB, free: 7.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.3498, allocations: 86.23 kB / 0.5742 GB, free: 7.652 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.3505, allocations: 72.72 kB / 0.5743 GB, free: 7.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.352, allocations: 0.7478 MB / 0.575 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.3525, allocations: 0.8221 MB / 0.5758 GB, free: 5.965 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000159/0.3527, allocations: 57.89 kB / 0.5758 GB, free: 5.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.3527, allocations: 27.44 kB / 0.5759 GB, free: 5.883 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3527, allocations: 0 / 0.5759 GB, free: 5.883 MB / 414.1 MB Notification: Performance of Templates: time 0.008392/0.3611, allocations: 3.442 MB / 0.5792 GB, free: 2.453 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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: 5.328226036857814]