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.001019/0.001019, allocations: 179.9 kB / 16.77 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.9 MB, free: 8.953 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.001015/0.001016, allocations: 90.39 kB / 271.3 MB, free: 8.25 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.3817/0.3817, allocations: 43.55 MB / 363.1 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004079/0.0004079, allocations: 8 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.356/6.518, allocations: 2.783 GB / 3.263 GB, free: 87.01 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/6.519, allocations: 85.2 kB / 3.263 GB, free: 86.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.427/7.946, allocations: 421.3 MB / 3.674 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.095e-06/7.946, allocations: 3.469 kB / 3.674 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.905e-05/7.946, allocations: 21.56 kB / 3.674 GB, free: 32.04 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.007308/7.953, allocations: 1.855 MB / 3.676 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/7.953, allocations: 7.188 kB / 3.676 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002672/7.956, allocations: 337.8 kB / 3.676 GB, free: 30.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/7.957, allocations: 0.5976 MB / 3.677 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/7.958, allocations: 47.31 kB / 3.677 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/7.958, allocations: 59.34 kB / 3.677 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/7.96, allocations: 1.022 MB / 3.678 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/7.96, allocations: 3.938 kB / 3.678 GB, free: 29.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/7.96, allocations: 27.69 kB / 3.678 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/7.96, allocations: 23.19 kB / 3.678 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/7.963, allocations: 0.929 MB / 3.679 GB, free: 29.7 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.005113/7.968, allocations: 4.85 MB / 3.684 GB, free: 25.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/7.97, allocations: 0.8337 MB / 3.684 GB, free: 25.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005506/7.971, allocations: 294.2 kB / 3.685 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03797/8.009, allocations: 24.08 MB / 3.708 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/8.009, allocations: 39 kB / 3.708 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.746e-06/8.009, allocations: 0 / 3.708 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.00722/8.016, allocations: 1.995 MB / 3.71 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/8.016, allocations: 111.2 kB / 3.71 GB, free: 6.414 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/8.017, allocations: 0.534 MB / 3.711 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/8.017, allocations: 33.7 kB / 3.711 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/8.017, allocations: 347 kB / 3.711 GB, free: 5.488 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/8.017, allocations: 156.7 kB / 3.711 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/8.017, allocations: 16 kB / 3.711 GB, free: 5.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.815e-05/8.017, allocations: 366.8 kB / 3.712 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/8.018, allocations: 265.1 kB / 3.712 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005927/8.018, allocations: 453 kB / 3.712 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/8.019, allocations: 0.6797 MB / 3.713 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/8.019, allocations: 0 / 3.713 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001722/8.021, allocations: 0.8941 MB / 3.714 GB, free: 2.516 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.121e-05/8.021, allocations: 246 kB / 3.714 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/8.021, allocations: 7.984 kB / 3.714 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002493/8.024, allocations: 0.5196 MB / 3.715 GB, free: 1.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/8.024, allocations: 147.8 kB / 3.715 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/8.025, allocations: 0.8475 MB / 3.716 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008222/8.026, allocations: 131.2 kB / 3.716 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/8.026, allocations: 39.97 kB / 3.716 GB, free: 500 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/8.026, allocations: 7.938 kB / 3.716 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001929/8.028, allocations: 0.8196 MB / 3.717 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/8.028, allocations: 8 kB / 3.717 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/8.029, allocations: 217 kB / 3.717 GB, free: 15.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/8.03, allocations: 151.8 kB / 3.717 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/8.031, allocations: 0.7741 MB / 3.718 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/8.032, allocations: 111.4 kB / 3.718 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/8.032, allocations: 35.98 kB / 3.718 GB, free: 14.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 (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 () * Number of clocked 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.0005506/8.032, allocations: 292.9 kB / 3.718 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/8.032, allocations: 63.25 kB / 3.718 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/8.037, allocations: 3.084 MB / 3.721 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/8.037, allocations: 43.92 kB / 3.721 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/8.037, allocations: 0 / 3.721 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/8.037, allocations: 0 / 3.721 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001821/8.038, allocations: 1.486 MB / 3.723 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/8.039, allocations: 4 kB / 3.723 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003428/8.039, allocations: 91.88 kB / 3.723 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00287/8.042, allocations: 1.243 MB / 3.724 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.308e-05/8.042, allocations: 15.98 kB / 3.724 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/8.044, allocations: 1.501 MB / 3.725 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/8.044, allocations: 0 / 3.725 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/8.047, allocations: 2.083 MB / 3.728 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006527/8.047, allocations: 338.6 kB / 3.728 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/8.047, allocations: 8 kB / 3.728 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/8.048, allocations: 95.7 kB / 3.728 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/8.048, allocations: 48.48 kB / 3.728 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/8.048, allocations: 23.98 kB / 3.728 GB, free: 3.801 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006918/8.049, allocations: 479 kB / 3.728 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/8.049, allocations: 0 / 3.728 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006271/8.055, allocations: 1.44 MB / 3.73 GB, free: 1.895 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,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.007779/8.063, allocations: 1.71 MB / 3.732 GB, free: 380 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.228/8.291, allocations: 1.415 MB / 3.733 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/8.291, allocations: 7.062 kB / 3.733 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/8.292, allocations: 0.8072 MB / 3.734 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/8.294, allocations: 331 kB / 3.734 GB, free: 59.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003563/8.298, allocations: 2.92 MB / 3.737 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/8.298, allocations: 1.144 MB / 3.738 GB, free: 57.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00123/8.3, allocations: 0.6542 MB / 3.739 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/8.3, allocations: 57.2 kB / 3.739 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/8.3, allocations: 1.312 kB / 3.739 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of Templates: time 0.06008/8.36, allocations: 45.79 MB / 3.783 GB, free: 56.47 MB / 0.5105 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/jenkins1/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