Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008395/0.0008396, allocations: 95.8 kB / 287 MB, free: 260 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1923/0.1923, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.193e-05, allocations: 4.219 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.131, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/6.626, allocations: 2.77 GB / 3.272 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/6.627, allocations: 86.08 kB / 3.272 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.405/8.031, allocations: 424.7 MB / 3.687 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/8.031, allocations: 0 / 3.687 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.851e-05/8.031, allocations: 14.84 kB / 3.687 GB, free: 67.57 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00558/8.037, allocations: 1.647 MB / 3.688 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/8.037, allocations: 15.19 kB / 3.688 GB, free: 66.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/8.039, allocations: 298 kB / 3.689 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/8.04, allocations: 0.5255 MB / 3.689 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/8.04, allocations: 45.28 kB / 3.689 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.612e-05/8.04, allocations: 51.38 kB / 3.689 GB, free: 66.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/8.042, allocations: 0.9465 MB / 3.69 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/8.042, allocations: 1.781 kB / 3.69 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/8.042, allocations: 28.22 kB / 3.69 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-05/8.042, allocations: 21.06 kB / 3.69 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/8.044, allocations: 0.7833 MB / 3.691 GB, free: 66.39 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.004075/8.048, allocations: 4.653 MB / 3.696 GB, free: 63.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/8.05, allocations: 0.6914 MB / 3.696 GB, free: 63.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/8.05, allocations: 215.7 kB / 3.696 GB, free: 63.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03919/8.089, allocations: 24.16 MB / 3.72 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/8.089, allocations: 45.36 kB / 3.72 GB, free: 48.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=43): time 2.705e-06/8.089, allocations: 0 / 3.72 GB, free: 48.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=43): time 0.002992/8.092, allocations: 0.993 MB / 3.721 GB, free: 48.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/8.092, allocations: 112.8 kB / 3.721 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/8.093, allocations: 402.3 kB / 3.722 GB, free: 48.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.594e-05/8.093, allocations: 34.73 kB / 3.722 GB, free: 48.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/8.093, allocations: 317.1 kB / 3.722 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/8.093, allocations: 154.3 kB / 3.722 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/8.093, allocations: 10.75 kB / 3.722 GB, free: 47.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/8.093, allocations: 358.8 kB / 3.722 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002348/8.093, allocations: 156.8 kB / 3.723 GB, free: 47.51 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/8.094, allocations: 329.4 kB / 3.723 GB, free: 47.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/8.094, allocations: 197.5 kB / 3.723 GB, free: 47.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/8.094, allocations: 3.312 kB / 3.723 GB, free: 47.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001153/8.095, allocations: 0.65 MB / 3.724 GB, free: 47.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003501/8.096, allocations: 1.923 MB / 3.726 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/8.096, allocations: 6.812 kB / 3.726 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006746/8.096, allocations: 169.3 kB / 3.726 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/8.097, allocations: 120.7 kB / 3.726 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/8.097, allocations: 0.7349 MB / 3.727 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/8.098, allocations: 104.3 kB / 3.727 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/8.098, allocations: 36.88 kB / 3.727 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.216e-06/8.098, allocations: 3.531 kB / 3.727 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009941/8.099, allocations: 0.5643 MB / 3.727 GB, free: 44.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/8.099, allocations: 6.109 kB / 3.727 GB, free: 44.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007498/8.1, allocations: 170.1 kB / 3.727 GB, free: 44.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003785/8.1, allocations: 129.1 kB / 3.728 GB, free: 44.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/8.101, allocations: 0.7085 MB / 3.728 GB, free: 44.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005667/8.101, allocations: 96.23 kB / 3.728 GB, free: 44.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/8.101, allocations: 28.95 kB / 3.728 GB, free: 44.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001432/8.101, allocations: 140 kB / 3.728 GB, free: 43.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/8.102, allocations: 56.47 kB / 3.729 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002735/8.104, allocations: 2.904 MB / 3.731 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/8.104, allocations: 41.16 kB / 3.731 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/8.104, allocations: 1.094 kB / 3.731 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/8.104, allocations: 3.75 kB / 3.731 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/8.106, allocations: 1.427 MB / 3.733 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/8.106, allocations: 3.953 kB / 3.733 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/8.106, allocations: 92.45 kB / 3.733 GB, free: 43.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009998/8.107, allocations: 0.7512 MB / 3.734 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-05/8.107, allocations: 15.5 kB / 3.734 GB, free: 43.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008984/8.108, allocations: 1.238 MB / 3.735 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/8.108, allocations: 0 / 3.735 GB, free: 42.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/8.11, allocations: 1.811 MB / 3.737 GB, free: 42.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/8.11, allocations: 322.4 kB / 3.737 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/8.111, allocations: 13.7 kB / 3.737 GB, free: 42.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/8.111, allocations: 77.67 kB / 3.737 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/8.111, allocations: 47.8 kB / 3.737 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/8.111, allocations: 21.67 kB / 3.737 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000592/8.112, allocations: 420.8 kB / 3.737 GB, free: 42.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/8.112, allocations: 3.75 kB / 3.737 GB, free: 42.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006511/8.119, allocations: 1.343 MB / 3.739 GB, free: 41.98 MB / 0.5261 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * 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: 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.007313/8.126, allocations: 1.673 MB / 3.74 GB, free: 41.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002078/8.128, allocations: 1.124 MB / 3.742 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/8.128, allocations: 0 / 3.742 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/8.129, allocations: 0.7243 MB / 3.742 GB, free: 41.56 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/8.13, allocations: 296 kB / 3.743 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/8.132, allocations: 1.697 MB / 3.744 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/8.133, allocations: 1.141 MB / 3.745 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001001/8.134, allocations: 0.6801 MB / 3.746 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/8.134, allocations: 53.48 kB / 3.746 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of SimCode: time 8.92e-07/8.134, allocations: 0 / 3.746 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.05054/8.185, allocations: 43.87 MB / 3.789 GB, free: 37.7 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches