Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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.001089/0.001089, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.005203/0.005203, allocations: 160.9 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8826/0.8826, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 325.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.581e-05, allocations: 2.281 kB / 325.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004073/0.004099, allocations: 4.287 MB / 330 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.00533, allocations: 1.607 MB / 331.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.947e-05/0.005389, allocations: 8 kB / 331.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.00563, allocations: 43.62 kB / 331.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.005913, allocations: 131.1 kB / 331.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.006359, allocations: 257.2 kB / 332.1 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.006606, allocations: 298.7 kB / 332.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.00665, allocations: 21.19 kB / 332.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.006897, allocations: 167.5 kB / 332.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.027e-05/0.006987, allocations: 71.78 kB / 332.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.007007, allocations: 8 kB / 332.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.007167, allocations: 91.86 kB / 332.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.007233, allocations: 51.88 kB / 332.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.007286, allocations: 59.84 kB / 332.8 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.007561, allocations: 235.3 kB / 333 MB, free: 7.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.007566, allocations: 4 kB / 333 MB, free: 7.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.007567, allocations: 0 / 333 MB, free: 7.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.007572, allocations: 0 / 333 MB, free: 7.902 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000668/0.00824, allocations: 425.8 kB / 333.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.008276, allocations: 11.98 kB / 333.5 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.008395, allocations: 24.88 kB / 333.5 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.008626, allocations: 141.6 kB / 333.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.00864, allocations: 12.66 kB / 333.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.008673, allocations: 16.38 kB / 333.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.009013, allocations: 375.9 kB / 334 MB, free: 6.801 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.009027, allocations: 4.188 kB / 334 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.009048, allocations: 12.12 kB / 334.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.009054, allocations: 8 kB / 334.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.009264, allocations: 147.8 kB / 334.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008483/0.01011, allocations: 0.8367 MB / 335 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.01036, allocations: 146.7 kB / 335.2 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.037e-05/0.01044, allocations: 52.83 kB / 335.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/0.01078, allocations: 328.2 kB / 335.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.0108, allocations: 30.56 kB / 335.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.01081, allocations: 0 / 335.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001484/0.01229, allocations: 0.7097 MB / 336.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.01233, allocations: 55.41 kB / 336.3 MB, free: 4.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.01244, allocations: 170.9 kB / 336.5 MB, free: 4.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.01247, allocations: 29.7 kB / 336.5 MB, free: 4.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.01253, allocations: 140.1 kB / 336.7 MB, free: 4.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.276e-05/0.01257, allocations: 79.36 kB / 336.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.78e-05/0.01264, allocations: 61.66 kB / 336.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.114e-05/0.01272, allocations: 322.8 kB / 337.1 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.01287, allocations: 87.69 kB / 337.2 MB, free: 3.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.01305, allocations: 197.4 kB / 337.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.01338, allocations: 289.5 kB / 337.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01338, allocations: 0 / 337.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0004065/0.01378, allocations: 328.5 kB / 338 MB, free: 2.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.0138, allocations: 4 kB / 338 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.01381, allocations: 11.88 kB / 338 MB, free: 2.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.01383, allocations: 11.94 kB / 338 MB, free: 2.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.01401, allocations: 79.88 kB / 338.1 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01402, allocations: 4 kB / 338.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.01412, allocations: 19.98 kB / 338.1 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.01414, allocations: 15.98 kB / 338.2 MB, free: 2.406 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 9.291e-05/0.01424, allocations: 145.7 kB / 338.3 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.01426, allocations: 15.91 kB / 338.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003779/0.01464, allocations: 234.6 kB / 338.5 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.01465, allocations: 7.938 kB / 338.6 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.01465, allocations: 0 / 338.6 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.01466, allocations: 3.984 kB / 338.6 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.01534, allocations: 0.5171 MB / 339.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01534, allocations: 0 / 339.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.01547, allocations: 56.03 kB / 339.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01548, allocations: 7.984 kB / 339.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.01549, allocations: 4 kB / 339.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01549, allocations: 0 / 339.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01549, allocations: 3.938 kB / 339.1 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.01597, allocations: 419.1 kB / 339.6 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.01602, allocations: 27.89 kB / 339.6 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.01604, allocations: 3.984 kB / 339.6 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.01615, allocations: 15.98 kB / 339.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.01617, allocations: 11.98 kB / 339.6 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.01618, allocations: 11.98 kB / 339.6 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.2e-05/0.01624, allocations: 115.2 kB / 339.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01624, allocations: 64 / 339.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002563/0.01649, allocations: 71.88 kB / 339.8 MB, free: 0.6562 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0001783/0.01667, allocations: 127.1 kB / 339.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.017, allocations: 207.8 kB / 340.1 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.017, allocations: 0 / 340.1 MB, free: 328 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.01712, allocations: 93.66 kB / 340.2 MB, free: 236 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01739, allocations: 39.97 kB / 340.3 MB, free: 196 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006632/0.01805, allocations: 453 kB / 340.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.822e-05/0.01812, allocations: 103.8 kB / 340.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.0182, allocations: 32.48 kB / 340.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0182, allocations: 0 / 340.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of Templates: time 0.003155/0.02135, allocations: 2.706 MB / 343.5 MB, free: 12.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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.398090980947018]