Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001201/0.001201, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 92.81 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3425/0.3425, allocations: 43.48 MB / 358.6 MB, free: 51.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.541e-05, allocations: 7.984 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.732/5.854, allocations: 2.782 GB / 3.254 GB, free: 48.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/5.854, allocations: 83.83 kB / 3.255 GB, free: 48.21 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.315/7.169, allocations: 439.5 MB / 3.684 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.293e-06/7.169, allocations: 0 / 3.684 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.389e-05/7.169, allocations: 16 kB / 3.684 GB, free: 30.05 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005526/7.174, allocations: 1.75 MB / 3.685 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/7.175, allocations: 12.03 kB / 3.685 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/7.177, allocations: 327.2 kB / 3.686 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/7.178, allocations: 0.5712 MB / 3.686 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/7.178, allocations: 49.31 kB / 3.686 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/7.178, allocations: 52.69 kB / 3.686 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001868/7.18, allocations: 0.9846 MB / 3.687 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/7.18, allocations: 7.922 kB / 3.687 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-05/7.18, allocations: 26.19 kB / 3.687 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/7.18, allocations: 21 kB / 3.687 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/7.182, allocations: 0.8196 MB / 3.688 GB, free: 25.31 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.003743/7.186, allocations: 4.537 MB / 3.693 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/7.187, allocations: 0.7361 MB / 3.693 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/7.188, allocations: 241.7 kB / 3.694 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3404/7.528, allocations: 55.72 MB / 3.748 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/7.528, allocations: 39.72 kB / 3.748 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.655e-06/7.528, allocations: 0 / 3.748 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.00462/7.533, allocations: 1.862 MB / 3.75 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/7.533, allocations: 113.8 kB / 3.75 GB, free: 32.24 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005087/7.533, allocations: 441.6 kB / 3.75 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/7.533, allocations: 35.17 kB / 3.75 GB, free: 32.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/7.533, allocations: 329.8 kB / 3.751 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/7.534, allocations: 179.7 kB / 3.751 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/7.534, allocations: 11.69 kB / 3.751 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/7.534, allocations: 370.5 kB / 3.751 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/7.534, allocations: 198.6 kB / 3.751 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/7.534, allocations: 363.9 kB / 3.752 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/7.535, allocations: 241.4 kB / 3.752 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/7.535, allocations: 0 / 3.752 GB, free: 31.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001366/7.536, allocations: 0.8096 MB / 3.753 GB, free: 31.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000275/7.536, allocations: 1.736 MB / 3.755 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/7.536, allocations: 7.406 kB / 3.755 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001721/7.538, allocations: 393.7 kB / 3.755 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/7.539, allocations: 136.5 kB / 3.755 GB, free: 29.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009596/7.54, allocations: 0.8663 MB / 3.756 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/7.54, allocations: 96.73 kB / 3.756 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.385e-05/7.54, allocations: 34.84 kB / 3.756 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.128e-06/7.54, allocations: 5.344 kB / 3.756 GB, free: 28.94 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001724/7.542, allocations: 0.7792 MB / 3.757 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/7.542, allocations: 3.125 kB / 3.757 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/7.543, allocations: 311.3 kB / 3.757 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000464/7.544, allocations: 141.2 kB / 3.757 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008412/7.545, allocations: 0.8456 MB / 3.758 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006157/7.545, allocations: 91.73 kB / 3.758 GB, free: 28.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/7.545, allocations: 36.61 kB / 3.758 GB, free: 28.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0001626/7.546, allocations: 143.8 kB / 3.758 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-05/7.546, allocations: 68.48 kB / 3.758 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/7.548, allocations: 2.859 MB / 3.761 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.353e-05/7.548, allocations: 41.09 kB / 3.761 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/7.548, allocations: 5.562 kB / 3.761 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/7.548, allocations: 5.297 kB / 3.761 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/7.553, allocations: 4.016 MB / 3.765 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/7.553, allocations: 0 / 3.765 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/7.554, allocations: 178.3 kB / 3.765 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002819/7.554, allocations: 63.8 kB / 3.765 GB, free: 43.53 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/7.554, allocations: 20.91 kB / 3.765 GB, free: 43.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000673/7.555, allocations: 1.185 MB / 3.767 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/7.555, allocations: 0 / 3.767 GB, free: 42.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/7.557, allocations: 2.382 MB / 3.769 GB, free: 42.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/7.557, allocations: 330.2 kB / 3.769 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-05/7.558, allocations: 18.2 kB / 3.769 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/7.558, allocations: 70.78 kB / 3.769 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/7.558, allocations: 54.95 kB / 3.769 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/7.558, allocations: 27 kB / 3.769 GB, free: 41.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006037/7.559, allocations: 451.4 kB / 3.77 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/7.559, allocations: 0 / 3.77 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006037/7.565, allocations: 1.406 MB / 3.771 GB, free: 41.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008884/7.574, allocations: 1.734 MB / 3.773 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003295/7.577, allocations: 1.31 MB / 3.774 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/7.577, allocations: 0 / 3.774 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001288/7.579, allocations: 0.8149 MB / 3.775 GB, free: 41.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/7.581, allocations: 328.8 kB / 3.775 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/7.584, allocations: 1.946 MB / 3.777 GB, free: 41.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/7.585, allocations: 1.169 MB / 3.778 GB, free: 40.44 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001118/7.586, allocations: 0.6832 MB / 3.779 GB, free: 40.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/7.586, allocations: 59.52 kB / 3.779 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.903e-06/7.586, allocations: 0 / 3.779 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.05306/7.639, allocations: 46.52 MB / 3.824 GB, free: 37.72 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches