Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.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.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|valveOpening.y|Valve.port_b.m_flow|Valve.port_b.p|Valve.port_b.h_outflow|Valve.minLimiter.y|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009223/0.0009224, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009729/0.0009729, allocations: 90.62 kB / 261.7 MB, free: 1.68 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.2128/0.2128, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.842e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1287, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.364/6.492, allocations: 2.781 GB / 3.247 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/6.493, allocations: 85.06 kB / 3.247 GB, free: 160.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.416/7.908, allocations: 435.6 MB / 3.673 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.372e-06/7.908, allocations: 0 / 3.673 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.496e-05/7.908, allocations: 16.75 kB / 3.673 GB, free: 62.34 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00536/7.914, allocations: 1.777 MB / 3.675 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/7.914, allocations: 13.5 kB / 3.675 GB, free: 61.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/7.916, allocations: 329.1 kB / 3.675 GB, free: 61.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008932/7.917, allocations: 0.5798 MB / 3.675 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/7.917, allocations: 26.59 kB / 3.675 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.961e-05/7.917, allocations: 34.62 kB / 3.675 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007913/7.918, allocations: 0.5634 MB / 3.676 GB, free: 61.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008365/7.918, allocations: 0.682 MB / 3.677 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/7.918, allocations: 2.906 kB / 3.677 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/7.919, allocations: 3.438 kB / 3.677 GB, free: 61.03 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/7.919, allocations: 24.55 kB / 3.677 GB, free: 61.03 MB / 0.4948 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.0683/7.987, allocations: 44.3 MB / 3.72 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/7.988, allocations: 467.6 kB / 3.72 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/7.988, allocations: 210.6 kB / 3.721 GB, free: 33.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04159/8.03, allocations: 24.16 MB / 3.744 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/8.03, allocations: 42.36 kB / 3.744 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=43): time 2.835e-06/8.03, allocations: 0 / 3.744 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43): time 0.002911/8.033, allocations: 0.8688 MB / 3.745 GB, free: 17.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/8.033, allocations: 106.3 kB / 3.745 GB, free: 17.69 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/8.033, allocations: 416.3 kB / 3.746 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/8.033, allocations: 25.7 kB / 3.746 GB, free: 17.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/8.033, allocations: 352.4 kB / 3.746 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/8.034, allocations: 150.5 kB / 3.746 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/8.034, allocations: 0 / 3.746 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/8.034, allocations: 371.8 kB / 3.746 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/8.034, allocations: 178 kB / 3.747 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/8.034, allocations: 358 kB / 3.747 GB, free: 16.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/8.035, allocations: 326.9 kB / 3.747 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/8.035, allocations: 0 / 3.747 GB, free: 16.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001673/8.037, allocations: 0.7812 MB / 3.748 GB, free: 16.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00137/8.038, allocations: 2.005 MB / 3.75 GB, free: 30.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/8.038, allocations: 10.8 kB / 3.75 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/8.04, allocations: 281.8 kB / 3.75 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/8.04, allocations: 140.7 kB / 3.75 GB, free: 30.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/8.041, allocations: 0.8952 MB / 3.751 GB, free: 29.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000837/8.042, allocations: 124.8 kB / 3.751 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/8.042, allocations: 36.17 kB / 3.751 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/8.042, allocations: 0 / 3.751 GB, free: 29.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001672/8.044, allocations: 0.6588 MB / 3.752 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/8.044, allocations: 7.438 kB / 3.752 GB, free: 29.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007649/8.045, allocations: 171.4 kB / 3.752 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/8.045, allocations: 158.6 kB / 3.752 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008708/8.046, allocations: 0.7405 MB / 3.753 GB, free: 29.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/8.047, allocations: 109.2 kB / 3.753 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/8.047, allocations: 32.22 kB / 3.753 GB, free: 29.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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 (59): * Single equations (assignments): 58 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001903/8.047, allocations: 125 kB / 3.753 GB, free: 29.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/8.047, allocations: 56.91 kB / 3.753 GB, free: 29.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/8.05, allocations: 2.512 MB / 3.756 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.913e-05/8.05, allocations: 38.58 kB / 3.756 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/8.05, allocations: 3.953 kB / 3.756 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/8.05, allocations: 3.422 kB / 3.756 GB, free: 28.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/8.051, allocations: 1.154 MB / 3.757 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/8.051, allocations: 4 kB / 3.757 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/8.052, allocations: 64.75 kB / 3.757 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/8.053, allocations: 1.174 MB / 3.758 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/8.053, allocations: 4 kB / 3.758 GB, free: 28.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/8.055, allocations: 1.705 MB / 3.76 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/8.055, allocations: 3.844 kB / 3.76 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/8.057, allocations: 1.839 MB / 3.762 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/8.057, allocations: 293.1 kB / 3.762 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/8.057, allocations: 0 / 3.762 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005175/8.058, allocations: 77.8 kB / 3.762 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/8.058, allocations: 44.44 kB / 3.762 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/8.058, allocations: 22.33 kB / 3.762 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004186/8.058, allocations: 378.7 kB / 3.763 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/8.058, allocations: 0 / 3.763 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005927/8.064, allocations: 1.385 MB / 3.764 GB, free: 23.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {2 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.006682/8.071, allocations: 1.808 MB / 3.766 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002087/8.073, allocations: 1.094 MB / 3.767 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/8.073, allocations: 0 / 3.767 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/8.074, allocations: 0.6325 MB / 3.767 GB, free: 20.82 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/8.075, allocations: 260.3 kB / 3.768 GB, free: 20.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/8.077, allocations: 1.52 MB / 3.769 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/8.078, allocations: 1.113 MB / 3.77 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009906/8.079, allocations: 0.7334 MB / 3.771 GB, free: 17.83 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/8.079, allocations: 55.12 kB / 3.771 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/8.079, allocations: 0 / 3.771 GB, free: 17.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.05331/8.132, allocations: 38.06 MB / 3.808 GB, free: 3 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultCV/TestWaterPumpDefaultCV.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultCV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches