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.001464/0.001464, allocations: 174.3 kB / 16.76 MB, free: 5.047 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.702/1.702, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008262/0.0008262, allocations: 82.41 kB / 271.3 MB, free: 8.25 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.3701/0.3701, allocations: 43.57 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.569/5.689, allocations: 2.782 GB / 3.262 GB, free: 87.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/5.689, allocations: 89.23 kB / 3.262 GB, free: 87.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.339/7.028, allocations: 420.9 MB / 3.673 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/7.028, allocations: 0 / 3.673 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.899e-05/7.028, allocations: 11.12 kB / 3.673 GB, free: 32.02 MB / 0.4948 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.008538/7.037, allocations: 1.834 MB / 3.675 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/7.037, allocations: 7.375 kB / 3.675 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/7.04, allocations: 331.5 kB / 3.675 GB, free: 30.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/7.042, allocations: 0.5911 MB / 3.676 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.046e-05/7.042, allocations: 52.66 kB / 3.676 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/7.042, allocations: 59.81 kB / 3.676 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002556/7.045, allocations: 1.011 MB / 3.677 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/7.045, allocations: 0 / 3.677 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.43e-05/7.045, allocations: 27.31 kB / 3.677 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/7.045, allocations: 22.81 kB / 3.677 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/7.047, allocations: 0.9083 MB / 3.678 GB, free: 29.71 MB / 0.4948 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.005165/7.052, allocations: 4.545 MB / 3.682 GB, free: 25.91 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/7.055, allocations: 0.8092 MB / 3.683 GB, free: 25.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/7.055, allocations: 301.9 kB / 3.683 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4738/7.529, allocations: 55.54 MB / 3.738 GB, free: 56.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/7.529, allocations: 35.94 kB / 3.738 GB, free: 56.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.667e-06/7.529, allocations: 0 / 3.738 GB, free: 56.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.009198/7.539, allocations: 2.272 MB / 3.74 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/7.539, allocations: 108.9 kB / 3.74 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/7.54, allocations: 0.5042 MB / 3.741 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/7.54, allocations: 39.61 kB / 3.741 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/7.54, allocations: 331.4 kB / 3.741 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/7.54, allocations: 175.2 kB / 3.741 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/7.54, allocations: 12.66 kB / 3.741 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001437/7.54, allocations: 371.9 kB / 3.741 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/7.541, allocations: 270 kB / 3.742 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00067/7.542, allocations: 438.1 kB / 3.742 GB, free: 54.99 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/7.543, allocations: 0.6867 MB / 3.743 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/7.543, allocations: 0 / 3.743 GB, free: 54.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002266/7.545, allocations: 0.9631 MB / 3.744 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/7.545, allocations: 222.4 kB / 3.744 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/7.545, allocations: 7.75 kB / 3.744 GB, free: 54.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/7.548, allocations: 458.7 kB / 3.744 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/7.548, allocations: 134.1 kB / 3.745 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/7.549, allocations: 0.9103 MB / 3.745 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000865/7.55, allocations: 100.9 kB / 3.746 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.165e-05/7.55, allocations: 39.53 kB / 3.746 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/7.55, allocations: 3.344 kB / 3.746 GB, free: 53.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002919/7.553, allocations: 0.9346 MB / 3.746 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/7.553, allocations: 7.312 kB / 3.746 GB, free: 53.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/7.555, allocations: 345.3 kB / 3.747 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004964/7.556, allocations: 138.9 kB / 3.747 GB, free: 53.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/7.557, allocations: 0.8902 MB / 3.748 GB, free: 53.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007811/7.558, allocations: 95.3 kB / 3.748 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/7.558, allocations: 39.62 kB / 3.748 GB, free: 53.39 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 () * 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.0005632/7.558, allocations: 278.3 kB / 3.748 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/7.559, allocations: 64.47 kB / 3.748 GB, free: 53.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/7.562, allocations: 2.916 MB / 3.751 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-05/7.562, allocations: 49.27 kB / 3.751 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/7.562, allocations: 0 / 3.751 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/7.562, allocations: 3.891 kB / 3.751 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/7.567, allocations: 4.093 MB / 3.755 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/7.567, allocations: 0 / 3.755 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007294/7.568, allocations: 171.5 kB / 3.755 GB, free: 52.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000352/7.568, allocations: 78.62 kB / 3.755 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-05/7.568, allocations: 17.3 kB / 3.755 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004888/7.569, allocations: 1.177 MB / 3.757 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/7.569, allocations: 0 / 3.757 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/7.572, allocations: 2.586 MB / 3.759 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/7.573, allocations: 333.8 kB / 3.759 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/7.573, allocations: 12.53 kB / 3.759 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/7.574, allocations: 79.67 kB / 3.76 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/7.574, allocations: 57.48 kB / 3.76 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/7.574, allocations: 24.3 kB / 3.76 GB, free: 50.94 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006617/7.575, allocations: 462 kB / 3.76 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/7.575, allocations: 0 / 3.76 GB, free: 50.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006912/7.582, allocations: 1.409 MB / 3.761 GB, free: 50.84 MB / 0.5105 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.009926/7.592, allocations: 1.742 MB / 3.763 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004121/7.596, allocations: 1.496 MB / 3.765 GB, free: 50.65 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/7.596, allocations: 3.375 kB / 3.765 GB, free: 50.65 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001499/7.597, allocations: 0.8678 MB / 3.765 GB, free: 50.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/7.6, allocations: 329.5 kB / 3.766 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004611/7.604, allocations: 3.134 MB / 3.769 GB, free: 49.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/7.605, allocations: 1.139 MB / 3.77 GB, free: 48.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00118/7.606, allocations: 0.6607 MB / 3.771 GB, free: 48.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/7.606, allocations: 69.12 kB / 3.771 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.031e-06/7.606, allocations: 0 / 3.771 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.06999/7.676, allocations: 46.37 MB / 3.816 GB, free: 46.86 MB / 0.5105 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/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches