Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001883/0.001883, allocations: 113.1 kB / 21.85 MB, free: 68 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.002087/0.002087, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.43/1.43, allocations: 230.4 MB / 258.7 MB, free: 8.039 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.2277/0.2277, allocations: 46.94 MB / 362.1 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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.002351/0.002351, allocations: 79.86 kB / 0.4978 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3337, allocations: 66.08 MB / 0.5623 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003751/0.3375, allocations: 2.068 MB / 0.5644 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002158/0.3396, allocations: 1.142 MB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3397, allocations: 3.938 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005303/0.3403, allocations: 263.1 kB / 0.5657 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005728/0.3408, allocations: 267.1 kB / 0.566 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.3424, allocations: 0.6602 MB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005019/0.3429, allocations: 362.8 kB / 0.567 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.343, allocations: 56.56 kB / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3432, allocations: 151.4 kB / 0.5672 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3435, allocations: 235.2 kB / 0.5674 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.3435, allocations: 12 kB / 0.5674 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.3437, allocations: 75.91 kB / 0.5675 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001448/0.3439, allocations: 99.67 kB / 0.5676 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.344, allocations: 122.9 kB / 0.5677 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.3445, allocations: 349.1 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3445, allocations: 0 / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3445, allocations: 0 / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3445, allocations: 0 / 0.568 GB, free: 14.41 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.0008621/0.3454, allocations: 0.5971 MB / 0.5686 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3454, allocations: 16.03 kB / 0.5686 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.279e-05/0.3455, allocations: 48.61 kB / 0.5687 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.3459, allocations: 264.7 kB / 0.5689 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.3459, allocations: 8.359 kB / 0.5689 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.855e-05/0.346, allocations: 16.31 kB / 0.5689 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.3462, allocations: 119.1 kB / 0.5691 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.3462, allocations: 192 / 0.5691 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.3463, allocations: 15.92 kB / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3463, allocations: 0 / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.3465, allocations: 107.8 kB / 0.5692 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.3473, allocations: 471.4 kB / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3475, allocations: 114.4 kB / 0.5697 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.3476, allocations: 32.84 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.3476, allocations: 4 kB / 0.5698 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.3476, allocations: 38.55 kB / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3476, allocations: 0 / 0.5698 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001146/0.3488, allocations: 458.6 kB / 0.5702 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.3489, allocations: 59.39 kB / 0.5703 GB, free: 11.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.3496, allocations: 0.5605 MB / 0.5709 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.3496, allocations: 29.7 kB / 0.5709 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.3498, allocations: 220.3 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.3498, allocations: 51.48 kB / 0.5711 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.3499, allocations: 37.7 kB / 0.5712 GB, free: 11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.3501, allocations: 354.7 kB / 0.5715 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.3502, allocations: 67.95 kB / 0.5716 GB, free: 10.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.3504, allocations: 67.95 kB / 0.5716 GB, free: 10.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.3507, allocations: 159.3 kB / 0.5718 GB, free: 10.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3507, allocations: 0 / 0.5718 GB, free: 10.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004141/0.3511, allocations: 237.2 kB / 0.572 GB, free: 10.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3511, allocations: 4 kB / 0.572 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3511, allocations: 0 / 0.572 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3511, allocations: 0 / 0.572 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3513, allocations: 39.91 kB / 0.5721 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3513, allocations: 7.875 kB / 0.5721 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.971e-05/0.3513, allocations: 16 kB / 0.5721 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3514, allocations: 4 kB / 0.5721 GB, free: 10.05 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.0002112/0.3516, allocations: 181.8 kB / 0.5723 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.3516, allocations: 43.66 kB / 0.5723 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005826/0.3522, allocations: 285.4 kB / 0.5726 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3522, allocations: 0 / 0.5726 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3522, allocations: 0 / 0.5726 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3522, allocations: 4 kB / 0.5726 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009795/0.3532, allocations: 0.6476 MB / 0.5732 GB, free: 8.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3532, allocations: 3.984 kB / 0.5732 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.3533, allocations: 31.98 kB / 0.5732 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.3533, allocations: 0 / 0.5732 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3534, allocations: 11.94 kB / 0.5733 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3534, allocations: 0 / 0.5733 GB, free: 8.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3534, allocations: 4 kB / 0.5733 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004838/0.3538, allocations: 338 kB / 0.5736 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.3539, allocations: 31.75 kB / 0.5736 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.3539, allocations: 0 / 0.5736 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.354, allocations: 8 kB / 0.5736 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3541, allocations: 15.97 kB / 0.5736 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3541, allocations: 11.94 kB / 0.5736 GB, free: 8.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00046/0.3546, allocations: 431.1 kB / 0.5741 GB, free: 7.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3546, allocations: 0 / 0.5741 GB, free: 7.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000312/0.3549, allocations: 47.94 kB / 0.5741 GB, free: 7.906 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.002724/0.3576, allocations: 0.685 MB / 0.5748 GB, free: 7.492 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.358, allocations: 163.8 kB / 0.5749 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.358, allocations: 0 / 0.5749 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.3582, allocations: 86.08 kB / 0.575 GB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.3587, allocations: 81.02 kB / 0.5751 GB, free: 7.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.3599, allocations: 0.7361 MB / 0.5758 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.3604, allocations: 0.8298 MB / 0.5766 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.3606, allocations: 53.89 kB / 0.5767 GB, free: 5.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.3607, allocations: 35.42 kB / 0.5767 GB, free: 5.473 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3607, allocations: 0 / 0.5767 GB, free: 5.473 MB / 414.1 MB Notification: Performance of Templates: time 0.007976/0.3686, allocations: 3.476 MB / 0.5801 GB, free: 2.004 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.013049204135314]