Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002116/0.002115, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 98.14 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3769/0.3769, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.802e-05/1.816e-05, allocations: 8.203 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3986, allocations: 58.86 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.081/8.479, allocations: 2.781 GB / 3.247 GB, free: 7.961 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/8.48, allocations: 87.45 kB / 3.247 GB, free: 7.914 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.531/11.01, allocations: 435.2 MB / 3.672 GB, free: 57.36 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.515e-06/11.01, allocations: 0 / 3.672 GB, free: 57.36 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 7.276e-05/11.01, allocations: 18.91 kB / 3.672 GB, free: 57.36 MB / 0.4952 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.008028/11.02, allocations: 1.757 MB / 3.674 GB, free: 56.64 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/11.02, allocations: 7.438 kB / 3.674 GB, free: 56.64 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003648/11.02, allocations: 326.3 kB / 3.674 GB, free: 56.61 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/11.02, allocations: 0.5729 MB / 3.675 GB, free: 56.38 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.913e-05/11.02, allocations: 25.36 kB / 3.675 GB, free: 56.38 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/11.03, allocations: 37.94 kB / 3.675 GB, free: 56.38 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001427/11.03, allocations: 0.5433 MB / 3.675 GB, free: 56.37 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/11.03, allocations: 0.6693 MB / 3.676 GB, free: 56.17 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/11.03, allocations: 1.875 kB / 3.676 GB, free: 56.17 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/11.03, allocations: 6.266 kB / 3.676 GB, free: 56.17 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/11.03, allocations: 26.66 kB / 3.676 GB, free: 56.17 MB / 0.4952 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.03124/11.06, allocations: 12.01 MB / 3.688 GB, free: 48.47 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001408/11.06, allocations: 476.3 kB / 3.688 GB, free: 48.45 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/11.06, allocations: 225.2 kB / 3.688 GB, free: 48.44 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1761/11.24, allocations: 55.76 MB / 3.743 GB, free: 29.79 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/11.24, allocations: 39.91 kB / 3.743 GB, free: 29.75 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/11.24, allocations: 0 / 3.743 GB, free: 29.75 MB / 0.5108 GB Notification: Performance of matching and sorting (n=51): time 0.009483/11.25, allocations: 1.83 MB / 3.745 GB, free: 29.36 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/11.25, allocations: 111.1 kB / 3.745 GB, free: 29.23 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/11.25, allocations: 384 kB / 3.745 GB, free: 29.11 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/11.25, allocations: 25.7 kB / 3.745 GB, free: 29.08 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/11.25, allocations: 373.5 kB / 3.745 GB, free: 28.83 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/11.25, allocations: 168.4 kB / 3.746 GB, free: 28.72 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/11.25, allocations: 0 / 3.746 GB, free: 28.72 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001624/11.25, allocations: 334.9 kB / 3.746 GB, free: 28.41 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/11.25, allocations: 195.9 kB / 3.746 GB, free: 28.41 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/11.25, allocations: 352.2 kB / 3.746 GB, free: 28.23 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/11.25, allocations: 333.7 kB / 3.747 GB, free: 28.21 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/11.25, allocations: 0 / 3.747 GB, free: 28.21 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003291/11.25, allocations: 0.7999 MB / 3.747 GB, free: 28.15 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007769/11.26, allocations: 1.755 MB / 3.749 GB, free: 26.32 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/11.26, allocations: 6.594 kB / 3.749 GB, free: 26.32 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/11.26, allocations: 304.8 kB / 3.75 GB, free: 26.3 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/11.26, allocations: 137.6 kB / 3.75 GB, free: 26.3 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/11.26, allocations: 0.9601 MB / 3.751 GB, free: 25.76 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/11.26, allocations: 80.08 kB / 3.751 GB, free: 25.75 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/11.26, allocations: 38.81 kB / 3.751 GB, free: 25.75 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/11.26, allocations: 3.969 kB / 3.751 GB, free: 25.75 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002822/11.27, allocations: 0.6945 MB / 3.751 GB, free: 25.72 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/11.27, allocations: 6.422 kB / 3.751 GB, free: 25.72 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/11.27, allocations: 279.4 kB / 3.752 GB, free: 25.7 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009792/11.27, allocations: 136.4 kB / 3.752 GB, free: 25.7 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/11.27, allocations: 0.8544 MB / 3.753 GB, free: 25.17 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/11.27, allocations: 85.81 kB / 3.753 GB, free: 25.16 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.742e-05/11.27, allocations: 37.2 kB / 3.753 GB, free: 25.15 MB / 0.5108 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.0003269/11.27, allocations: 115.2 kB / 3.753 GB, free: 25.05 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/11.27, allocations: 56.81 kB / 3.753 GB, free: 25.02 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/11.28, allocations: 2.643 MB / 3.755 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/11.28, allocations: 39.05 kB / 3.756 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/11.28, allocations: 0 / 3.756 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-05/11.28, allocations: 8.906 kB / 3.756 GB, free: 24.7 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/11.28, allocations: 3.618 MB / 3.759 GB, free: 24.29 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/11.28, allocations: 0 / 3.759 GB, free: 24.29 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/11.29, allocations: 170.1 kB / 3.759 GB, free: 24.29 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/11.29, allocations: 68.58 kB / 3.759 GB, free: 24.27 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.17e-05/11.29, allocations: 6.75 kB / 3.759 GB, free: 24.27 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/11.29, allocations: 1.208 MB / 3.76 GB, free: 23.16 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/11.29, allocations: 0 / 3.76 GB, free: 23.16 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/11.29, allocations: 2.272 MB / 3.763 GB, free: 22.9 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007686/11.29, allocations: 325.1 kB / 3.763 GB, free: 22.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/11.29, allocations: 0 / 3.763 GB, free: 22.71 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009673/11.29, allocations: 64.5 kB / 3.763 GB, free: 22.7 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/11.29, allocations: 63.77 kB / 3.763 GB, free: 22.7 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.071e-05/11.29, allocations: 22.58 kB / 3.763 GB, free: 22.7 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006668/11.29, allocations: 388.8 kB / 3.764 GB, free: 22.59 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.41e-07/11.29, allocations: 0 / 3.764 GB, free: 22.59 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007103/11.3, allocations: 1.357 MB / 3.765 GB, free: 22.4 MB / 0.5108 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse17.phase,$cse17.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 (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.01151/11.31, allocations: 1.818 MB / 3.767 GB, free: 22 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.003847/11.32, allocations: 1.198 MB / 3.768 GB, free: 21.98 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/11.32, allocations: 0 / 3.768 GB, free: 21.98 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/11.32, allocations: 0.7518 MB / 3.769 GB, free: 21.98 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002831/11.32, allocations: 274 kB / 3.769 GB, free: 21.96 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/11.33, allocations: 1.853 MB / 3.771 GB, free: 21.45 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008439/11.33, allocations: 1.149 MB / 3.772 GB, free: 20.72 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/11.33, allocations: 62.22 kB / 3.772 GB, free: 20.71 MB / 0.5108 GB Notification: Performance of SimCode: time 2.625e-06/11.33, allocations: 0 / 3.772 GB, free: 20.71 MB / 0.5108 GB Notification: Performance of Templates: time 0.08326/11.41, allocations: 40.61 MB / 3.811 GB, free: 8.246 MB / 0.5108 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches