Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.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.TestWaterPumpDefault,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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002389/0.002389, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.045/2.045, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001086/0.001085, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.2744/0.2744, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.11e-05, allocations: 0 / 425.3 MB, free: 23.35 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 58.86 MB / 484.1 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.493/8.612, allocations: 2.782 GB / 3.254 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/8.613, allocations: 96.72 kB / 3.254 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.125/10.74, allocations: 438.8 MB / 3.683 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/10.74, allocations: 0 / 3.683 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.741e-05/10.74, allocations: 22.19 kB / 3.683 GB, free: 44.16 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.007426/10.75, allocations: 1.738 MB / 3.685 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/10.75, allocations: 12.03 kB / 3.685 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003595/10.75, allocations: 325.9 kB / 3.685 GB, free: 42.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/10.75, allocations: 0.5707 MB / 3.685 GB, free: 41.46 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.396e-05/10.75, allocations: 49.25 kB / 3.686 GB, free: 41.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/10.75, allocations: 56 kB / 3.686 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002983/10.75, allocations: 0.977 MB / 3.687 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/10.75, allocations: 3.938 kB / 3.687 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/10.75, allocations: 24 kB / 3.687 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/10.75, allocations: 21 kB / 3.687 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/10.76, allocations: 0.804 MB / 3.687 GB, free: 39.46 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.007269/10.76, allocations: 4.807 MB / 3.692 GB, free: 34.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002509/10.77, allocations: 0.635 MB / 3.693 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004716/10.77, allocations: 221.5 kB / 3.693 GB, free: 33.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07233/10.84, allocations: 24.16 MB / 3.716 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/10.84, allocations: 42.52 kB / 3.717 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.296e-06/10.84, allocations: 0 / 3.717 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.004477/10.84, allocations: 1.013 MB / 3.718 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/10.84, allocations: 110.8 kB / 3.718 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000743/10.85, allocations: 452.7 kB / 3.718 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/10.85, allocations: 33.7 kB / 3.718 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/10.85, allocations: 378 kB / 3.718 GB, free: 4.297 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/10.85, allocations: 148.8 kB / 3.719 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/10.85, allocations: 8 kB / 3.719 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/10.85, allocations: 334.8 kB / 3.719 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004273/10.85, allocations: 165.1 kB / 3.719 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005194/10.85, allocations: 347.3 kB / 3.719 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/10.85, allocations: 205.5 kB / 3.72 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/10.85, allocations: 0 / 3.72 GB, free: 3.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001557/10.85, allocations: 0.616 MB / 3.72 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003984/10.85, allocations: 2.011 MB / 3.722 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/10.85, allocations: 8 kB / 3.722 GB, free: 236 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3987/11.25, allocations: 261.4 kB / 3.722 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/11.25, allocations: 130 kB / 3.723 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/11.25, allocations: 0.7454 MB / 3.723 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/11.25, allocations: 122.8 kB / 3.723 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/11.25, allocations: 34.36 kB / 3.723 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/11.25, allocations: 4.094 kB / 3.723 GB, free: 64.94 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/11.25, allocations: 0.6039 MB / 3.724 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/11.25, allocations: 7.781 kB / 3.724 GB, free: 64.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/11.26, allocations: 159.4 kB / 3.724 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/11.26, allocations: 138.8 kB / 3.724 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008139/11.26, allocations: 0.6947 MB / 3.725 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/11.26, allocations: 106.3 kB / 3.725 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-05/11.26, allocations: 29.17 kB / 3.725 GB, free: 64.4 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 (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 (55): * Single equations (assignments): 54 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002823/11.26, allocations: 146.8 kB / 3.725 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/11.26, allocations: 59.5 kB / 3.725 GB, free: 64.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004998/11.26, allocations: 2.993 MB / 3.728 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.457e-05/11.26, allocations: 44.41 kB / 3.728 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/11.26, allocations: 2.219 kB / 3.728 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/11.26, allocations: 3.516 kB / 3.728 GB, free: 64.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/11.27, allocations: 1.448 MB / 3.73 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/11.27, allocations: 3.953 kB / 3.73 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000667/11.27, allocations: 91 kB / 3.73 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/11.27, allocations: 1.215 MB / 3.731 GB, free: 63.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/11.27, allocations: 13.66 kB / 3.731 GB, free: 63.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/11.27, allocations: 1.479 MB / 3.732 GB, free: 63.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/11.27, allocations: 1.469 kB / 3.732 GB, free: 63.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/11.28, allocations: 1.961 MB / 3.734 GB, free: 62.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007796/11.28, allocations: 328.8 kB / 3.735 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/11.28, allocations: 12.16 kB / 3.735 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/11.28, allocations: 79.34 kB / 3.735 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/11.28, allocations: 50.86 kB / 3.735 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/11.28, allocations: 27.48 kB / 3.735 GB, free: 62.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008644/11.28, allocations: 450.8 kB / 3.735 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/11.28, allocations: 0 / 3.735 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007105/11.29, allocations: 1.422 MB / 3.737 GB, free: 62.59 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: 25 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01097/11.3, allocations: 1.7 MB / 3.738 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003087/11.3, allocations: 1.113 MB / 3.739 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/11.3, allocations: 0 / 3.739 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/11.3, allocations: 0.7208 MB / 3.74 GB, free: 62.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/11.31, allocations: 314.7 kB / 3.74 GB, free: 62.44 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/11.31, allocations: 1.782 MB / 3.742 GB, free: 62.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/11.31, allocations: 1.155 MB / 3.743 GB, free: 61.31 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003267/11.31, allocations: 60.64 kB / 3.743 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.044e-06/11.31, allocations: 3.781 kB / 3.743 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.07594/11.39, allocations: 37.6 MB / 3.78 GB, free: 59.3 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches