Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 178.3 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000927/0.000927, allocations: 102.7 kB / 293.3 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3388/0.3388, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003974/0.0003975, allocations: 8 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3527, allocations: 61.87 MB / 0.5107 GB, free: 38.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.905/5.258, allocations: 2.788 GB / 3.298 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.258, allocations: 95.88 kB / 3.298 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.471/6.729, allocations: 425.5 MB / 3.714 GB, free: 45.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.374e-06/6.729, allocations: 0 / 3.714 GB, free: 45.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.616e-05/6.729, allocations: 15.56 kB / 3.714 GB, free: 45.3 MB / 0.5261 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.007401/6.737, allocations: 1.841 MB / 3.716 GB, free: 44.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/6.737, allocations: 10.66 kB / 3.716 GB, free: 44.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/6.739, allocations: 329 kB / 3.716 GB, free: 44.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/6.741, allocations: 0.5847 MB / 3.717 GB, free: 43.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.589e-05/6.741, allocations: 51.25 kB / 3.717 GB, free: 43.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/6.741, allocations: 54.25 kB / 3.717 GB, free: 43.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/6.743, allocations: 1.016 MB / 3.718 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/6.743, allocations: 0 / 3.718 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.447e-05/6.743, allocations: 23.84 kB / 3.718 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/6.743, allocations: 27.22 kB / 3.718 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/6.746, allocations: 0.9183 MB / 3.719 GB, free: 42.98 MB / 0.5261 GB 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.004562/6.75, allocations: 4.543 MB / 3.723 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/6.752, allocations: 0.8206 MB / 3.724 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/6.753, allocations: 301.1 kB / 3.724 GB, free: 38.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4937/7.247, allocations: 55.55 MB / 3.779 GB, free: 76.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.451e-05/7.247, allocations: 41.66 kB / 3.779 GB, free: 76.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.966e-06/7.247, allocations: 0 / 3.779 GB, free: 76.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006929/7.254, allocations: 2.262 MB / 3.781 GB, free: 76.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/7.254, allocations: 112.3 kB / 3.781 GB, free: 76.12 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006762/7.255, allocations: 0.5084 MB / 3.781 GB, free: 76 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.938e-05/7.255, allocations: 32.2 kB / 3.781 GB, free: 75.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/7.255, allocations: 327.1 kB / 3.782 GB, free: 75.83 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/7.255, allocations: 183.1 kB / 3.782 GB, free: 75.74 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.335e-05/7.255, allocations: 12.41 kB / 3.782 GB, free: 75.74 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001127/7.255, allocations: 372.2 kB / 3.782 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/7.256, allocations: 268.8 kB / 3.783 GB, free: 75.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/7.256, allocations: 438.8 kB / 3.783 GB, free: 75.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/7.258, allocations: 0.6785 MB / 3.784 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/7.258, allocations: 3.312 kB / 3.784 GB, free: 75.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002117/7.26, allocations: 0.9675 MB / 3.785 GB, free: 75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/7.26, allocations: 223.7 kB / 3.785 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/7.26, allocations: 5.312 kB / 3.785 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/7.262, allocations: 459.5 kB / 3.785 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/7.262, allocations: 129.1 kB / 3.785 GB, free: 74.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/7.264, allocations: 0.9165 MB / 3.786 GB, free: 74.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007631/7.265, allocations: 95.27 kB / 3.786 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.34e-05/7.265, allocations: 39.44 kB / 3.786 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/7.265, allocations: 4.156 kB / 3.786 GB, free: 74.22 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002422/7.267, allocations: 0.9323 MB / 3.787 GB, free: 74.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/7.267, allocations: 5.094 kB / 3.787 GB, free: 74.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/7.269, allocations: 344.5 kB / 3.788 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/7.269, allocations: 143.6 kB / 3.788 GB, free: 74.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/7.27, allocations: 0.8966 MB / 3.789 GB, free: 73.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000712/7.271, allocations: 91.56 kB / 3.789 GB, free: 73.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/7.271, allocations: 35.39 kB / 3.789 GB, free: 73.65 MB / 0.5417 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 () * Number of clocked 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.0004712/7.272, allocations: 287.6 kB / 3.789 GB, free: 73.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/7.272, allocations: 63.56 kB / 3.789 GB, free: 73.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/7.275, allocations: 2.92 MB / 3.792 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-05/7.275, allocations: 48.89 kB / 3.792 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/7.275, allocations: 0 / 3.792 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/7.275, allocations: 2.859 kB / 3.792 GB, free: 73.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/7.28, allocations: 4.093 MB / 3.796 GB, free: 72.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/7.28, allocations: 0 / 3.796 GB, free: 72.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/7.281, allocations: 172.1 kB / 3.796 GB, free: 72.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003255/7.281, allocations: 76.73 kB / 3.796 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/7.281, allocations: 16 kB / 3.796 GB, free: 72.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004971/7.282, allocations: 1.186 MB / 3.797 GB, free: 71.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/7.282, allocations: 3.719 kB / 3.797 GB, free: 71.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/7.285, allocations: 2.573 MB / 3.8 GB, free: 71.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/7.286, allocations: 335.4 kB / 3.8 GB, free: 71.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/7.286, allocations: 13.31 kB / 3.8 GB, free: 71.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/7.286, allocations: 76.39 kB / 3.8 GB, free: 71.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/7.286, allocations: 60.84 kB / 3.8 GB, free: 71.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.54e-05/7.286, allocations: 22.09 kB / 3.8 GB, free: 71.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005773/7.287, allocations: 462.6 kB / 3.801 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/7.287, allocations: 3.656 kB / 3.801 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006515/7.293, allocations: 1.407 MB / 3.802 GB, free: 71.11 MB / 0.5417 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 () * Number of clocked 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.008529/7.302, allocations: 1.739 MB / 3.804 GB, free: 70.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003803/7.306, allocations: 1.499 MB / 3.805 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/7.306, allocations: 0 / 3.805 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001419/7.307, allocations: 0.8663 MB / 3.806 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/7.31, allocations: 329 kB / 3.807 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/7.315, allocations: 3.14 MB / 3.81 GB, free: 69.63 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/7.316, allocations: 1.142 MB / 3.811 GB, free: 68.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001584/7.318, allocations: 0.6574 MB / 3.811 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/7.318, allocations: 67.78 kB / 3.811 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/7.318, allocations: 0 / 3.811 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.07316/7.391, allocations: 46.47 MB / 3.857 GB, free: 67.41 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches