Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008245/0.0008244, allocations: 96.78 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 45.15 MB / 383.8 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.983e-05, allocations: 7.984 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1381, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.65/6.789, allocations: 2.787 GB / 3.292 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/6.789, allocations: 83.77 kB / 3.292 GB, free: 59.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.421/8.21, allocations: 439.2 MB / 3.721 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/8.21, allocations: 4 kB / 3.721 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.355e-05/8.21, allocations: 12 kB / 3.721 GB, free: 35.84 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00713/8.217, allocations: 1.752 MB / 3.723 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/8.217, allocations: 11.97 kB / 3.723 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/8.22, allocations: 326.8 kB / 3.723 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/8.221, allocations: 0.5688 MB / 3.723 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/8.221, allocations: 24 kB / 3.723 GB, free: 33.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/8.221, allocations: 32 kB / 3.723 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/8.222, allocations: 0.5382 MB / 3.724 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/8.223, allocations: 0.6627 MB / 3.725 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/8.223, allocations: 0 / 3.725 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-05/8.224, allocations: 4 kB / 3.725 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/8.224, allocations: 21.31 kB / 3.725 GB, free: 31.78 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.3908/8.614, allocations: 48.67 MB / 3.772 GB, free: 72.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006643/8.615, allocations: 345.2 kB / 3.773 GB, free: 72.55 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003039/8.615, allocations: 190.3 kB / 3.773 GB, free: 72.55 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04572/8.661, allocations: 26.72 MB / 3.799 GB, free: 55.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/8.661, allocations: 47.27 kB / 3.799 GB, free: 55.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=39): time 4.208e-06/8.661, allocations: 1.344 kB / 3.799 GB, free: 55.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=39): time 0.002957/8.664, allocations: 0.821 MB / 3.8 GB, free: 55.21 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/8.664, allocations: 107.9 kB / 3.8 GB, free: 55.09 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/8.665, allocations: 400.8 kB / 3.8 GB, free: 54.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/8.665, allocations: 26.77 kB / 3.8 GB, free: 54.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/8.665, allocations: 359.3 kB / 3.801 GB, free: 54.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/8.665, allocations: 128.7 kB / 3.801 GB, free: 54.73 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/8.665, allocations: 0 / 3.801 GB, free: 54.73 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001005/8.665, allocations: 364.9 kB / 3.801 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/8.666, allocations: 161.2 kB / 3.801 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/8.666, allocations: 335.2 kB / 3.801 GB, free: 54.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/8.667, allocations: 292.4 kB / 3.802 GB, free: 54.21 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/8.667, allocations: 4.797 kB / 3.802 GB, free: 54.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002178/8.669, allocations: 0.7072 MB / 3.802 GB, free: 54.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005765/8.67, allocations: 2.009 MB / 3.804 GB, free: 52.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/8.67, allocations: 8.875 kB / 3.804 GB, free: 52.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008912/8.671, allocations: 179.4 kB / 3.805 GB, free: 52.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/8.671, allocations: 135 kB / 3.805 GB, free: 52.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/8.673, allocations: 0.8224 MB / 3.805 GB, free: 51.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009065/8.674, allocations: 125.8 kB / 3.806 GB, free: 51.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/8.674, allocations: 39.55 kB / 3.806 GB, free: 51.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/8.674, allocations: 3.656 kB / 3.806 GB, free: 51.51 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00174/8.675, allocations: 0.601 MB / 3.806 GB, free: 51.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/8.675, allocations: 5.375 kB / 3.806 GB, free: 51.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007986/8.676, allocations: 171.5 kB / 3.806 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000553/8.677, allocations: 138 kB / 3.807 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/8.678, allocations: 0.7303 MB / 3.807 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006657/8.678, allocations: 96.36 kB / 3.807 GB, free: 50.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/8.678, allocations: 31.25 kB / 3.807 GB, free: 50.95 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 (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.0001899/8.679, allocations: 132.6 kB / 3.808 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/8.679, allocations: 54.53 kB / 3.808 GB, free: 50.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/8.681, allocations: 2.458 MB / 3.81 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.731e-05/8.681, allocations: 37.55 kB / 3.81 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/8.681, allocations: 2.219 kB / 3.81 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/8.681, allocations: 7.609 kB / 3.81 GB, free: 50.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/8.682, allocations: 1.13 MB / 3.811 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/8.682, allocations: 1.125 kB / 3.811 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/8.683, allocations: 73.53 kB / 3.811 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/8.684, allocations: 1.087 MB / 3.812 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.555e-05/8.684, allocations: 3.281 kB / 3.812 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/8.685, allocations: 1.642 MB / 3.814 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/8.685, allocations: 0 / 3.814 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/8.687, allocations: 1.793 MB / 3.816 GB, free: 49.51 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/8.687, allocations: 278.2 kB / 3.816 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.499e-05/8.687, allocations: 10.83 kB / 3.816 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/8.688, allocations: 64.48 kB / 3.816 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/8.688, allocations: 48.23 kB / 3.816 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/8.688, allocations: 17.75 kB / 3.816 GB, free: 49.35 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003566/8.688, allocations: 374 kB / 3.816 GB, free: 49.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/8.688, allocations: 0 / 3.816 GB, free: 49.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005132/8.693, allocations: 1.383 MB / 3.818 GB, free: 49.24 MB / 0.5417 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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.006484/8.7, allocations: 1.814 MB / 3.819 GB, free: 49.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002071/8.702, allocations: 1.02 MB / 3.82 GB, free: 49.07 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/8.702, allocations: 0 / 3.82 GB, free: 49.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005711/8.703, allocations: 0.6097 MB / 3.821 GB, free: 49.06 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/8.704, allocations: 265.5 kB / 3.821 GB, free: 49.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/8.706, allocations: 1.483 MB / 3.823 GB, free: 48.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/8.706, allocations: 1.107 MB / 3.824 GB, free: 48 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009656/8.707, allocations: 0.7352 MB / 3.825 GB, free: 47.99 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.621e-05/8.707, allocations: 44.28 kB / 3.825 GB, free: 47.98 MB / 0.5417 GB Notification: Performance of SimCode: time 1.213e-06/8.707, allocations: 0 / 3.825 GB, free: 47.98 MB / 0.5417 GB Notification: Performance of Templates: time 0.04799/8.755, allocations: 37.38 MB / 3.861 GB, free: 46.03 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches