Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH,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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 96.33 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2054/0.2054, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.165e-05/2.169e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1508, allocations: 61.92 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.134/8.285, allocations: 2.791 GB / 3.286 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/8.286, allocations: 86.98 kB / 3.286 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.693/9.979, allocations: 440.2 MB / 3.716 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.355e-06/9.979, allocations: 0 / 3.716 GB, free: 65.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001217/9.979, allocations: 18.81 kB / 3.716 GB, free: 65.97 MB / 0.5261 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.008012/9.987, allocations: 1.759 MB / 3.718 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/9.987, allocations: 14.92 kB / 3.718 GB, free: 64.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/9.99, allocations: 350.9 kB / 3.718 GB, free: 64.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/9.992, allocations: 0.5735 MB / 3.719 GB, free: 64.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.257e-05/9.992, allocations: 25.25 kB / 3.719 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/9.992, allocations: 32.06 kB / 3.719 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001226/9.993, allocations: 0.5593 MB / 3.719 GB, free: 64.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/9.994, allocations: 0.6715 MB / 3.72 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/9.995, allocations: 10.78 kB / 3.72 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.203e-05/9.995, allocations: 0 / 3.72 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/9.995, allocations: 30.58 kB / 3.72 GB, free: 63.95 MB / 0.5261 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.08007/10.07, allocations: 44.37 MB / 3.763 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007518/10.08, allocations: 371.6 kB / 3.764 GB, free: 34.29 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/10.08, allocations: 199.7 kB / 3.764 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0439/10.12, allocations: 24.3 MB / 3.788 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.817e-05/10.12, allocations: 34.56 kB / 3.788 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.376e-06/10.12, allocations: 3.938 kB / 3.788 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=42): time 0.003293/10.12, allocations: 0.8479 MB / 3.789 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/10.12, allocations: 114.8 kB / 3.789 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/10.12, allocations: 399.8 kB / 3.789 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.741e-05/10.12, allocations: 29.7 kB / 3.789 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/10.12, allocations: 353.7 kB / 3.789 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/10.12, allocations: 140.1 kB / 3.789 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/10.12, allocations: 0 / 3.789 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001128/10.12, allocations: 362.8 kB / 3.79 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/10.13, allocations: 167.6 kB / 3.79 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/10.13, allocations: 350.8 kB / 3.79 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/10.13, allocations: 309.5 kB / 3.791 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/10.13, allocations: 4 kB / 3.791 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002049/10.13, allocations: 0.7282 MB / 3.791 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001189/10.13, allocations: 2.006 MB / 3.793 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/10.13, allocations: 4 kB / 3.793 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007969/10.13, allocations: 181.7 kB / 3.793 GB, free: 24.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/10.13, allocations: 141 kB / 3.794 GB, free: 24.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/10.13, allocations: 0.8349 MB / 3.794 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/10.13, allocations: 122 kB / 3.795 GB, free: 23.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/10.13, allocations: 31.75 kB / 3.795 GB, free: 23.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/10.13, allocations: 4 kB / 3.795 GB, free: 23.5 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002042/10.14, allocations: 0.6317 MB / 3.795 GB, free: 22.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/10.14, allocations: 4 kB / 3.795 GB, free: 22.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007593/10.14, allocations: 175.3 kB / 3.795 GB, free: 22.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004749/10.14, allocations: 144.7 kB / 3.796 GB, free: 22.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006857/10.14, allocations: 0.719 MB / 3.796 GB, free: 21.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/10.14, allocations: 95.44 kB / 3.796 GB, free: 21.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/10.14, allocations: 39.17 kB / 3.796 GB, free: 21.88 MB / 0.5417 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 (58): * Single equations (assignments): 57 * 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.0002275/10.14, allocations: 129.1 kB / 3.796 GB, free: 21.75 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/10.14, allocations: 55.34 kB / 3.797 GB, free: 21.69 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/10.14, allocations: 2.537 MB / 3.799 GB, free: 19.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/10.14, allocations: 38.34 kB / 3.799 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/10.14, allocations: 0 / 3.799 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/10.14, allocations: 3.703 kB / 3.799 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/10.15, allocations: 3.39 MB / 3.802 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/10.15, allocations: 4.031 kB / 3.802 GB, free: 16.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/10.15, allocations: 70.05 kB / 3.802 GB, free: 16.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/10.15, allocations: 1.119 MB / 3.804 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/10.15, allocations: 4 kB / 3.804 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/10.15, allocations: 1.646 MB / 3.805 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/10.15, allocations: 0 / 3.805 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/10.15, allocations: 1.807 MB / 3.807 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/10.15, allocations: 296 kB / 3.807 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/10.15, allocations: 7.031 kB / 3.807 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006537/10.15, allocations: 67.31 kB / 3.807 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/10.15, allocations: 43.5 kB / 3.807 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/10.15, allocations: 22.22 kB / 3.807 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005644/10.15, allocations: 374.3 kB / 3.808 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.064e-06/10.15, allocations: 0 / 3.808 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007096/10.16, allocations: 1.402 MB / 3.809 GB, free: 10.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.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 (37): * Single equations (assignments): 29 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/10.17, allocations: 1.793 MB / 3.811 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002789/10.18, allocations: 1.057 MB / 3.812 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/10.18, allocations: 3.234 kB / 3.812 GB, free: 7.609 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/10.18, allocations: 0.6209 MB / 3.812 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/10.18, allocations: 275.5 kB / 3.813 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/10.18, allocations: 1.514 MB / 3.814 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/10.18, allocations: 1.11 MB / 3.815 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001461/10.19, allocations: 0.7427 MB / 3.816 GB, free: 4.008 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/10.19, allocations: 55 kB / 3.816 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of SimCode: time 1.112e-06/10.19, allocations: 0 / 3.816 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of Templates: time 0.4032/10.59, allocations: 37.91 MB / 3.853 GB, free: 80.61 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpNPSH/TestWaterPumpNPSH.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpNPSH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches