Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 118.8 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001802, allocations: 202 kB / 18.78 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.55/1.55, allocations: 230.4 MB / 250 MB, free: 9.012 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001892/0.001892, allocations: 71.83 kB / 367.3 MB, free: 7.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2289, allocations: 53.3 MB / 420.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00595/0.2349, allocations: 4.871 MB / 425.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2371, allocations: 1.386 MB / 426.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.2373, allocations: 8 kB / 426.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.2376, allocations: 154.7 kB / 427.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.2383, allocations: 345.4 kB / 427.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004082/0.2387, allocations: 219.6 kB / 427.6 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.2397, allocations: 1.023 MB / 428.6 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.24, allocations: 202 kB / 428.8 MB, free: 124 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005073/0.2405, allocations: 414.5 kB / 429.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.241, allocations: 446.1 kB / 429.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.2412, allocations: 88 kB / 429.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.2413, allocations: 96 kB / 429.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.2415, allocations: 199.3 kB / 430 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004558/0.2419, allocations: 473.8 kB / 430.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.243, allocations: 1.078 MB / 431.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.243, allocations: 3.938 kB / 431.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.243, allocations: 0 / 431.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.2431, allocations: 0 / 431.6 MB, free: 13.36 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002199/0.2453, allocations: 1.247 MB / 432.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2453, allocations: 12.03 kB / 432.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.2455, allocations: 100.4 kB / 432.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.2463, allocations: 0.5242 MB / 433.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.2464, allocations: 101.3 kB / 433.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.2465, allocations: 48.38 kB / 433.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.2479, allocations: 0.8044 MB / 434.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.2479, allocations: 0 / 434.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.303e-05/0.2479, allocations: 24 kB / 434.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.248, allocations: 12 kB / 434.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2492, allocations: 0.5074 MB / 435 MB, free: 9.758 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003346/0.2525, allocations: 2.154 MB / 437.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2538, allocations: 0.4901 MB / 437.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/0.2544, allocations: 230.4 kB / 437.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.2544, allocations: 9.641 kB / 437.8 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007392/0.2551, allocations: 331 kB / 438.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.814e-06/0.2551, allocations: 0 / 438.2 MB, free: 6.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004931/0.2601, allocations: 1.482 MB / 439.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004307/0.2605, allocations: 0.8233 MB / 440.5 MB, free: 3.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007107/0.2612, allocations: 0.5862 MB / 441.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.2613, allocations: 41.7 kB / 441.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.2616, allocations: 337.2 kB / 441.4 MB, free: 2.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.2617, allocations: 202.3 kB / 441.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.2619, allocations: 134.2 kB / 441.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2621, allocations: 378.8 kB / 442.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.2627, allocations: 205 kB / 442.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.2636, allocations: 0.5208 MB / 442.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2647, allocations: 0.5615 MB / 443.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2647, allocations: 0 / 443.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002275/0.267, allocations: 0.9015 MB / 444.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.908e-05/0.2671, allocations: 63.39 kB / 444.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2671, allocations: 0 / 444.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007152/0.2678, allocations: 221.6 kB / 444.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/0.2684, allocations: 115.8 kB / 444.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006919/0.2753, allocations: 4.596 MB / 449.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.2761, allocations: 87.56 kB / 449.4 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.2761, allocations: 24 kB / 449.4 MB, free: 10.38 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003529/0.2765, allocations: 221.1 kB / 449.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.2766, allocations: 79.53 kB / 449.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2768, allocations: 78.84 kB / 449.8 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.2768, allocations: 12.12 kB / 449.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2768, allocations: 0 / 449.8 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002169/0.2789, allocations: 1.046 MB / 450.8 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002793/0.2817, allocations: 1.536 MB / 452.4 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2817, allocations: 0 / 452.4 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.2824, allocations: 115.8 kB / 452.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/0.2829, allocations: 169.5 kB / 452.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.2829, allocations: 8 kB / 452.7 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005513/0.2885, allocations: 3.948 MB / 456.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2885, allocations: 0 / 456.6 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.2908, allocations: 1.028 MB / 457.6 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.2911, allocations: 220.4 kB / 457.9 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.2912, allocations: 16 kB / 457.9 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005616/0.2918, allocations: 43.95 kB / 457.9 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.2919, allocations: 52.48 kB / 458 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.292, allocations: 12.06 kB / 458 MB, free: 1.289 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005497/0.2925, allocations: 427.1 kB / 458.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2925, allocations: 0 / 458.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008006/0.2933, allocations: 247.8 kB / 458.6 MB, free: 0.6328 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.2935, allocations: 123.1 kB / 458.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.2955, allocations: 0.9918 MB / 459.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.2955, allocations: 4 kB / 459.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009761/0.2965, allocations: 0.516 MB / 460.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.2974, allocations: 215 kB / 460.5 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.2998, allocations: 1.306 MB / 461.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.3004, allocations: 0.9122 MB / 462.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003104/0.3007, allocations: 85.2 kB / 462.8 MB, free: 12.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3008, allocations: 59.42 kB / 462.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3008, allocations: 0 / 462.8 MB, free: 12.29 MB / 382.1 MB Notification: Performance of Templates: time 0.02718/0.328, allocations: 16.49 MB / 479.3 MB, free: 12.07 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches