Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001055/0.001055, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.281/1.281, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.0008387/0.000839, allocations: 86.56 kB / 267 MB, free: 9.277 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.3312/0.3312, allocations: 43.46 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.299e-05, allocations: 4 kB / 425.3 MB, free: 8.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.674/5.781, allocations: 2.782 GB / 3.254 GB, free: 46.52 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/5.781, allocations: 87.81 kB / 3.254 GB, free: 46.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/7.099, allocations: 439.5 MB / 3.684 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/7.099, allocations: 0 / 3.684 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.161e-05/7.099, allocations: 12 kB / 3.684 GB, free: 13.13 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.006417/7.105, allocations: 1.759 MB / 3.685 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/7.106, allocations: 8.031 kB / 3.685 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/7.108, allocations: 328.8 kB / 3.686 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/7.109, allocations: 0.5606 MB / 3.686 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.131e-05/7.109, allocations: 53.25 kB / 3.686 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/7.109, allocations: 56.69 kB / 3.686 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/7.111, allocations: 0.9669 MB / 3.687 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/7.111, allocations: 3.938 kB / 3.687 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/7.111, allocations: 28 kB / 3.687 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/7.111, allocations: 21.31 kB / 3.687 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/7.113, allocations: 0.8091 MB / 3.688 GB, free: 8.414 MB / 0.5105 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.004834/7.118, allocations: 4.485 MB / 3.693 GB, free: 3.555 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/7.12, allocations: 0.7085 MB / 3.693 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/7.12, allocations: 227 kB / 3.693 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3738/7.494, allocations: 55.74 MB / 3.748 GB, free: 27.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/7.494, allocations: 42.8 kB / 3.748 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.625e-06/7.494, allocations: 0 / 3.748 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.005347/7.499, allocations: 1.855 MB / 3.75 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/7.499, allocations: 113.6 kB / 3.75 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006994/7.5, allocations: 466.6 kB / 3.75 GB, free: 27.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.709e-05/7.5, allocations: 34.89 kB / 3.75 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/7.5, allocations: 324.9 kB / 3.751 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/7.5, allocations: 185.2 kB / 3.751 GB, free: 27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/7.5, allocations: 7.438 kB / 3.751 GB, free: 27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/7.501, allocations: 371.1 kB / 3.751 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/7.501, allocations: 191.9 kB / 3.751 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/7.501, allocations: 359.7 kB / 3.752 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/7.502, allocations: 235 kB / 3.752 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/7.502, allocations: 3.094 kB / 3.752 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001593/7.503, allocations: 0.8125 MB / 3.753 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000474/7.504, allocations: 1.838 MB / 3.755 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/7.504, allocations: 7.094 kB / 3.755 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/7.506, allocations: 402.1 kB / 3.755 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/7.506, allocations: 131.1 kB / 3.755 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009909/7.507, allocations: 0.8854 MB / 3.756 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008489/7.508, allocations: 94.03 kB / 3.756 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-05/7.508, allocations: 33.05 kB / 3.756 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/7.508, allocations: 3.75 kB / 3.756 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001493/7.51, allocations: 0.6958 MB / 3.757 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/7.51, allocations: 4.156 kB / 3.757 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/7.511, allocations: 298.3 kB / 3.757 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/7.512, allocations: 146.6 kB / 3.757 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009546/7.513, allocations: 0.8276 MB / 3.758 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007317/7.513, allocations: 89.27 kB / 3.758 GB, free: 23.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/7.513, allocations: 32.67 kB / 3.758 GB, free: 23.33 MB / 0.5105 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 () * 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.0002064/7.514, allocations: 139 kB / 3.758 GB, free: 23.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/7.514, allocations: 67.47 kB / 3.758 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/7.517, allocations: 2.674 MB / 3.761 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/7.517, allocations: 37.06 kB / 3.761 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/7.517, allocations: 0 / 3.761 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/7.517, allocations: 3.766 kB / 3.761 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004554/7.521, allocations: 3.728 MB / 3.765 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/7.521, allocations: 0 / 3.765 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/7.522, allocations: 148.9 kB / 3.765 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003506/7.522, allocations: 102.3 kB / 3.765 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.963e-05/7.522, allocations: 19.86 kB / 3.765 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/7.524, allocations: 1.129 MB / 3.766 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/7.524, allocations: 1 kB / 3.766 GB, free: 37.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00437/7.529, allocations: 2.105 MB / 3.768 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009686/7.53, allocations: 368.1 kB / 3.768 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/7.53, allocations: 15.56 kB / 3.768 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/7.531, allocations: 72.08 kB / 3.768 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/7.531, allocations: 56.86 kB / 3.768 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/7.531, allocations: 21.08 kB / 3.768 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001225/7.533, allocations: 0.5556 MB / 3.769 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.7e-07/7.533, allocations: 0.8125 kB / 3.769 GB, free: 36.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008269/7.541, allocations: 1.417 MB / 3.77 GB, free: 36.84 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 () * 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/7.552, allocations: 1.724 MB / 3.772 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004299/7.557, allocations: 1.213 MB / 3.773 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/7.557, allocations: 3 kB / 3.773 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001463/7.558, allocations: 0.6837 MB / 3.774 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003507/7.562, allocations: 339.7 kB / 3.774 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/7.566, allocations: 1.819 MB / 3.776 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/7.567, allocations: 1.157 MB / 3.777 GB, free: 35.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002065/7.569, allocations: 0.6934 MB / 3.778 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/7.57, allocations: 55.88 kB / 3.778 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of SimCode: time 1.303e-06/7.57, allocations: 0 / 3.778 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of Templates: time 0.06219/7.632, allocations: 46.74 MB / 3.824 GB, free: 32.74 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches