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.001465/0.001465, allocations: 183.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001077/0.001077, allocations: 74.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2733/0.2733, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003327/0.0003327, allocations: 19.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1616, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.651/5.813, allocations: 2.782 GB / 3.26 GB, free: 127 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/5.813, allocations: 88.39 kB / 3.261 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/7.231, allocations: 440.7 MB / 3.691 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.815e-06/7.231, allocations: 6.406 kB / 3.691 GB, free: 55.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.721e-05/7.231, allocations: 15.59 kB / 3.691 GB, free: 55.71 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.007494/7.239, allocations: 1.838 MB / 3.693 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/7.239, allocations: 7.781 kB / 3.693 GB, free: 54.61 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002355/7.241, allocations: 336.3 kB / 3.693 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/7.242, allocations: 0.5652 MB / 3.694 GB, free: 54.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/7.242, allocations: 47.69 kB / 3.694 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/7.242, allocations: 61.61 kB / 3.694 GB, free: 54.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/7.245, allocations: 1.004 MB / 3.695 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/7.245, allocations: 3.812 kB / 3.695 GB, free: 53.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.298e-05/7.245, allocations: 27.84 kB / 3.695 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/7.245, allocations: 23.25 kB / 3.695 GB, free: 53.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/7.247, allocations: 0.9086 MB / 3.696 GB, free: 53.46 MB / 0.5105 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.004201/7.251, allocations: 4.539 MB / 3.7 GB, free: 49.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/7.254, allocations: 0.811 MB / 3.701 GB, free: 49.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.086/7.34, allocations: 55.55 MB / 3.755 GB, free: 10.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/7.34, allocations: 42.94 kB / 3.755 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.677e-06/7.34, allocations: 0 / 3.755 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006834/7.347, allocations: 2.268 MB / 3.757 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/7.347, allocations: 107.2 kB / 3.758 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/7.347, allocations: 456.6 kB / 3.758 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/7.347, allocations: 37.7 kB / 3.758 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/7.348, allocations: 328.8 kB / 3.758 GB, free: 7.605 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/7.348, allocations: 183 kB / 3.758 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/7.348, allocations: 12 kB / 3.758 GB, free: 7.434 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.899e-05/7.348, allocations: 369.7 kB / 3.759 GB, free: 7.082 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005952/7.349, allocations: 268.8 kB / 3.759 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/7.349, allocations: 439.1 kB / 3.76 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/7.35, allocations: 315.9 kB / 3.76 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/7.35, allocations: 0 / 3.76 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002114/7.352, allocations: 0.9607 MB / 3.761 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008228/7.353, allocations: 1.744 MB / 3.762 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/7.353, allocations: 7.328 kB / 3.762 GB, free: 19.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002039/7.355, allocations: 429.5 kB / 3.763 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/7.355, allocations: 136.5 kB / 3.763 GB, free: 18.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/7.357, allocations: 0.9133 MB / 3.764 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/7.358, allocations: 93.66 kB / 3.764 GB, free: 18.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.889e-05/7.358, allocations: 39.41 kB / 3.764 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/7.358, allocations: 4 kB / 3.764 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002536/7.36, allocations: 0.9316 MB / 3.765 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/7.36, allocations: 8.062 kB / 3.765 GB, free: 17.19 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/7.362, allocations: 350.6 kB / 3.765 GB, free: 16.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/7.362, allocations: 140.3 kB / 3.765 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/7.364, allocations: 0.9008 MB / 3.766 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007331/7.365, allocations: 94.78 kB / 3.766 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/7.365, allocations: 31.89 kB / 3.766 GB, free: 15.85 MB / 0.5261 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.0004673/7.365, allocations: 292.5 kB / 3.767 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/7.365, allocations: 67.25 kB / 3.767 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/7.369, allocations: 2.913 MB / 3.77 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.434e-05/7.369, allocations: 42.94 kB / 3.77 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/7.369, allocations: 3.938 kB / 3.77 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/7.369, allocations: 11.3 kB / 3.77 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/7.374, allocations: 4.094 MB / 3.774 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/7.374, allocations: 0 / 3.774 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/7.375, allocations: 169.7 kB / 3.774 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003724/7.375, allocations: 79.14 kB / 3.774 GB, free: 9.082 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/7.375, allocations: 19.95 kB / 3.774 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007144/7.376, allocations: 1.172 MB / 3.775 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/7.376, allocations: 4.062 kB / 3.775 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/7.379, allocations: 2.585 MB / 3.778 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005105/7.38, allocations: 331.4 kB / 3.778 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/7.38, allocations: 12 kB / 3.778 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006377/7.381, allocations: 79.23 kB / 3.778 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/7.381, allocations: 53.98 kB / 3.778 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/7.381, allocations: 23.8 kB / 3.778 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006369/7.382, allocations: 468.1 kB / 3.778 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/7.382, allocations: 0 / 3.778 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006455/7.388, allocations: 1.406 MB / 3.78 GB, free: 3.301 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 () * 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.009717/7.398, allocations: 1.735 MB / 3.782 GB, free: 1.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00443/7.402, allocations: 1.494 MB / 3.783 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/7.402, allocations: 0 / 3.783 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.2933/7.696, allocations: 0.8785 MB / 3.784 GB, free: 75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/7.698, allocations: 314.6 kB / 3.784 GB, free: 75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/7.702, allocations: 3.135 MB / 3.787 GB, free: 73.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/7.703, allocations: 1.161 MB / 3.788 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001227/7.704, allocations: 0.6653 MB / 3.789 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/7.704, allocations: 67.53 kB / 3.789 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.694e-06/7.704, allocations: 0 / 3.789 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of Templates: time 0.06422/7.768, allocations: 43.96 MB / 3.832 GB, free: 71.84 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