Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,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.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,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.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 185.3 kB / 16.41 MB, free: 5.723 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.975/1.975, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001214/0.001214, allocations: 97.28 kB / 270.9 MB, free: 8.387 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.5158/0.5158, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.0004513, allocations: 12 kB / 431.4 MB, free: 5.953 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.398/8.523, allocations: 2.782 GB / 3.26 GB, free: 27.61 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/8.523, allocations: 86.83 kB / 3.261 GB, free: 27.57 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.534/11.06, allocations: 440.7 MB / 3.691 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/11.06, allocations: 1.156 kB / 3.691 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.364e-05/11.06, allocations: 21.89 kB / 3.691 GB, free: 56.79 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.008397/11.07, allocations: 1.831 MB / 3.693 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/11.07, allocations: 8.531 kB / 3.693 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/11.07, allocations: 327 kB / 3.693 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/11.07, allocations: 0.5684 MB / 3.694 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.385e-05/11.07, allocations: 59.83 kB / 3.694 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/11.07, allocations: 57.38 kB / 3.694 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00373/11.08, allocations: 0.9985 MB / 3.695 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/11.08, allocations: 1.062 kB / 3.695 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/11.08, allocations: 23.69 kB / 3.695 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/11.08, allocations: 25.52 kB / 3.695 GB, free: 55.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003966/11.08, allocations: 0.9096 MB / 3.696 GB, free: 55.66 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.007451/11.09, allocations: 4.476 MB / 3.7 GB, free: 52.58 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003897/11.09, allocations: 0.7881 MB / 3.701 GB, free: 52.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1715/11.26, allocations: 55.55 MB / 3.755 GB, free: 34.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/11.26, allocations: 41.05 kB / 3.755 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.206e-06/11.26, allocations: 0 / 3.755 GB, free: 34.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.01237/11.27, allocations: 2.359 MB / 3.757 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/11.27, allocations: 115.9 kB / 3.757 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/11.28, allocations: 466.6 kB / 3.758 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/11.28, allocations: 36.39 kB / 3.758 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/11.28, allocations: 357.8 kB / 3.758 GB, free: 33.49 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/11.28, allocations: 184.2 kB / 3.758 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/11.28, allocations: 14.69 kB / 3.758 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001258/11.28, allocations: 333.6 kB / 3.759 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/11.28, allocations: 260.6 kB / 3.759 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/11.28, allocations: 427.7 kB / 3.759 GB, free: 32.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/11.28, allocations: 310.1 kB / 3.76 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/11.28, allocations: 1.219 kB / 3.76 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0041/11.28, allocations: 0.9375 MB / 3.761 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006777/11.29, allocations: 1.843 MB / 3.762 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/11.29, allocations: 4.375 kB / 3.762 GB, free: 30.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/11.29, allocations: 434.3 kB / 3.763 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/11.29, allocations: 135.4 kB / 3.763 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/11.29, allocations: 0.931 MB / 3.764 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/11.29, allocations: 95.89 kB / 3.764 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/11.29, allocations: 34.84 kB / 3.764 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/11.29, allocations: 7.219 kB / 3.764 GB, free: 30.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003611/11.3, allocations: 0.8546 MB / 3.765 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/11.3, allocations: 8.031 kB / 3.765 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002571/11.3, allocations: 314.5 kB / 3.765 GB, free: 30.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009696/11.3, allocations: 147.5 kB / 3.765 GB, free: 30.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/11.3, allocations: 0.8623 MB / 3.766 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/11.3, allocations: 89.16 kB / 3.766 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/11.3, allocations: 31.88 kB / 3.766 GB, free: 29.69 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006309/11.3, allocations: 286.5 kB / 3.767 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002283/11.31, allocations: 67.8 kB / 3.767 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/11.31, allocations: 2.768 MB / 3.769 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-05/11.31, allocations: 35.7 kB / 3.769 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/11.31, allocations: 0 / 3.769 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/11.31, allocations: 7.281 kB / 3.769 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007715/11.32, allocations: 3.822 MB / 3.773 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/11.32, allocations: 4 kB / 3.773 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/11.32, allocations: 143.6 kB / 3.773 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006789/11.32, allocations: 105.4 kB / 3.773 GB, free: 28.63 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/11.32, allocations: 18.8 kB / 3.773 GB, free: 28.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/11.32, allocations: 1.135 MB / 3.774 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/11.32, allocations: 0.5625 kB / 3.774 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005356/11.33, allocations: 2.301 MB / 3.777 GB, free: 27.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000897/11.33, allocations: 377 kB / 3.777 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/11.33, allocations: 12.53 kB / 3.777 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/11.33, allocations: 67.61 kB / 3.777 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/11.33, allocations: 57.41 kB / 3.777 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-05/11.33, allocations: 21.36 kB / 3.777 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001145/11.33, allocations: 0.5675 MB / 3.778 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.31e-07/11.33, allocations: 0 / 3.778 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007163/11.34, allocations: 1.418 MB / 3.779 GB, free: 26.79 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01151/11.35, allocations: 1.723 MB / 3.781 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005407/11.35, allocations: 1.41 MB / 3.782 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/11.35, allocations: 0 / 3.782 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/11.36, allocations: 0.7445 MB / 3.783 GB, free: 26.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/11.36, allocations: 334.2 kB / 3.783 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/11.37, allocations: 3.011 MB / 3.786 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/11.37, allocations: 1.157 MB / 3.787 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/11.37, allocations: 68.88 kB / 3.787 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/11.37, allocations: 2.719 kB / 3.787 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.0792/11.45, allocations: 40.91 MB / 3.827 GB, free: 20.68 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches