Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001911/0.001911, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002474/0.002474, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.478/1.478, allocations: 230.5 MB / 258.1 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.94 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 83.86 kB / 0.4974 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3409, allocations: 66.08 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003269/0.3442, allocations: 1.645 MB / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3453, allocations: 0.5576 MB / 0.5641 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.761e-05/0.3454, allocations: 4 kB / 0.5641 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.346, allocations: 451.2 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000507/0.3465, allocations: 303.2 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.3469, allocations: 167 kB / 0.565 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.3472, allocations: 179.6 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3473, allocations: 14.8 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.3474, allocations: 111.8 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.3477, allocations: 251.4 kB / 0.5655 GB, free: 328 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3478, allocations: 8 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.213e-05/0.3479, allocations: 35.97 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.348, allocations: 79.7 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.3481, allocations: 71.23 kB / 0.5657 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.3484, allocations: 266.3 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3484, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3484, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3484, allocations: 4 kB / 0.5659 GB, free: 15.87 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007627/0.3492, allocations: 0.5815 MB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3492, allocations: 11.97 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.3493, allocations: 52.61 kB / 0.5666 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.3496, allocations: 242.8 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.3496, allocations: 384 / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.3496, allocations: 8.375 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3498, allocations: 54.17 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3498, allocations: 4.188 kB / 0.5669 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3498, allocations: 7.938 kB / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3498, allocations: 0 / 0.5669 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.3499, allocations: 23.98 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3505, allocations: 344.4 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.3507, allocations: 46.44 kB / 0.5673 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.653e-05/0.3507, allocations: 20.94 kB / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.3507, allocations: 0 / 0.5673 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.3508, allocations: 30.56 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.3508, allocations: 4 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006689/0.3514, allocations: 244.7 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.3515, allocations: 51.41 kB / 0.5676 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/0.3524, allocations: 0.8613 MB / 0.5684 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3524, allocations: 25.7 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.3526, allocations: 212 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.3527, allocations: 23.84 kB / 0.5687 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.3527, allocations: 17.72 kB / 0.5687 GB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.3529, allocations: 358.7 kB / 0.5691 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.353, allocations: 27.97 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.585e-05/0.3531, allocations: 19.98 kB / 0.5691 GB, free: 12.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3532, allocations: 60.77 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.3532, allocations: 0 / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002272/0.3534, allocations: 121.7 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3535, allocations: 4 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3535, allocations: 256 / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3535, allocations: 0 / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.3535, allocations: 23.92 kB / 0.5693 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3535, allocations: 0 / 0.5693 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.3536, allocations: 12 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3536, allocations: 3.984 kB / 0.5693 GB, free: 12.23 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 (5): * Single equations (assignments): 5 * 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.0002134/0.3538, allocations: 217.7 kB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.3539, allocations: 43.72 kB / 0.5696 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.3542, allocations: 145.1 kB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3542, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3542, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3542, allocations: 0 / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005643/0.3548, allocations: 421.9 kB / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3548, allocations: 0 / 0.5701 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.3548, allocations: 15.98 kB / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3548, allocations: 0 / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.3548, allocations: 0 / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3548, allocations: 0 / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3548, allocations: 0 / 0.5701 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.3551, allocations: 223.2 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.3552, allocations: 39.72 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.3552, allocations: 0 / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.3553, allocations: 7.984 kB / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.3553, allocations: 0 / 0.5704 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.3554, allocations: 7.938 kB / 0.5704 GB, free: 11.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006819/0.356, allocations: 0.6589 MB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.356, allocations: 0 / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.3563, allocations: 19.94 kB / 0.571 GB, free: 10.38 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 (5): * Single equations (assignments): 5 * 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.001619/0.3579, allocations: 437.6 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3581, allocations: 51.95 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3581, allocations: 0 / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.998e-05/0.3582, allocations: 27.92 kB / 0.5715 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3586, allocations: 25.95 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3598, allocations: 0.8473 MB / 0.5724 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3601, allocations: 224.1 kB / 0.5726 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.3601, allocations: 11.44 kB / 0.5726 GB, free: 8.859 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3601, allocations: 0 / 0.5726 GB, free: 8.859 MB / 414.1 MB Notification: Performance of Templates: time 0.007324/0.3674, allocations: 3.902 MB / 0.5764 GB, free: 4.949 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test4.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: 7.965940716210753]