Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001088/0.001088, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.402/1.402, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008653/0.0008653, allocations: 90.64 kB / 267.1 MB, free: 9.273 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.3413/0.3413, allocations: 43.47 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.911e-05, allocations: 8 kB / 425.3 MB, free: 8.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.158/5.27, allocations: 2.782 GB / 3.254 GB, free: 47.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/5.27, allocations: 91.02 kB / 3.254 GB, free: 46.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.274/6.544, allocations: 438.8 MB / 3.683 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/6.544, allocations: 0 / 3.683 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.874e-05/6.544, allocations: 22.11 kB / 3.683 GB, free: 14.24 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.006323/6.551, allocations: 1.75 MB / 3.685 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/6.551, allocations: 8.031 kB / 3.685 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002224/6.553, allocations: 328 kB / 3.685 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/6.554, allocations: 0.5695 MB / 3.685 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/6.554, allocations: 49.31 kB / 3.686 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/6.554, allocations: 52.69 kB / 3.686 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/6.556, allocations: 0.9729 MB / 3.687 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/6.556, allocations: 3.938 kB / 3.687 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/6.556, allocations: 28 kB / 3.687 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/6.556, allocations: 21 kB / 3.687 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/6.558, allocations: 0.7962 MB / 3.687 GB, free: 9.543 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.004857/6.563, allocations: 4.823 MB / 3.692 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/6.564, allocations: 0.6375 MB / 3.693 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/6.565, allocations: 216.8 kB / 3.693 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3291/6.894, allocations: 24.15 MB / 3.716 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/6.894, allocations: 38.94 kB / 3.717 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/6.894, allocations: 4.312 kB / 3.717 GB, free: 48.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.003215/6.897, allocations: 1.008 MB / 3.718 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/6.897, allocations: 111.6 kB / 3.718 GB, free: 48.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005695/6.898, allocations: 451.1 kB / 3.718 GB, free: 48.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/6.898, allocations: 36.11 kB / 3.718 GB, free: 48.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/6.898, allocations: 340.1 kB / 3.718 GB, free: 48.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/6.898, allocations: 141.1 kB / 3.719 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/6.898, allocations: 13.88 kB / 3.719 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001105/6.898, allocations: 369.8 kB / 3.719 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/6.899, allocations: 169.3 kB / 3.719 GB, free: 47.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/6.899, allocations: 345.3 kB / 3.719 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/6.899, allocations: 201.6 kB / 3.72 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/6.899, allocations: 1.781 kB / 3.72 GB, free: 47.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009578/6.9, allocations: 0.6617 MB / 3.72 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003973/6.901, allocations: 2.002 MB / 3.722 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/6.901, allocations: 5.75 kB / 3.722 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/6.902, allocations: 269.4 kB / 3.722 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/6.902, allocations: 138.1 kB / 3.723 GB, free: 45.47 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006402/6.903, allocations: 0.7427 MB / 3.723 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000705/6.904, allocations: 131.2 kB / 3.723 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/6.904, allocations: 37.83 kB / 3.723 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/6.904, allocations: 6.656 kB / 3.723 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/6.905, allocations: 0.5942 MB / 3.724 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/6.905, allocations: 5.844 kB / 3.724 GB, free: 44.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/6.906, allocations: 177.6 kB / 3.724 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/6.906, allocations: 144.8 kB / 3.724 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005072/6.907, allocations: 0.7054 MB / 3.725 GB, free: 44.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/6.908, allocations: 110.4 kB / 3.725 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/6.908, allocations: 33.14 kB / 3.725 GB, free: 44.37 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.0001717/6.908, allocations: 136.4 kB / 3.725 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/6.908, allocations: 60.59 kB / 3.725 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00306/6.911, allocations: 2.987 MB / 3.728 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.668e-05/6.911, allocations: 43.98 kB / 3.728 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/6.911, allocations: 1.125 kB / 3.728 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/6.911, allocations: 3 kB / 3.728 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/6.912, allocations: 1.459 MB / 3.73 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/6.912, allocations: 0 / 3.73 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/6.913, allocations: 92.09 kB / 3.73 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/6.915, allocations: 1.211 MB / 3.731 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/6.915, allocations: 17.38 kB / 3.731 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/6.916, allocations: 1.478 MB / 3.733 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/6.916, allocations: 0 / 3.733 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/6.918, allocations: 1.967 MB / 3.734 GB, free: 42.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/6.918, allocations: 327.5 kB / 3.735 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.173e-05/6.918, allocations: 11.16 kB / 3.735 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/6.919, allocations: 86.31 kB / 3.735 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.384e-05/6.919, allocations: 45.03 kB / 3.735 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/6.919, allocations: 22.97 kB / 3.735 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005053/6.919, allocations: 451.2 kB / 3.735 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.5e-07/6.919, allocations: 0 / 3.735 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006336/6.926, allocations: 1.416 MB / 3.737 GB, free: 42.52 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.007736/6.933, allocations: 1.713 MB / 3.738 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002256/6.936, allocations: 1.132 MB / 3.739 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/6.936, allocations: 0 / 3.739 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007913/6.937, allocations: 0.7287 MB / 3.74 GB, free: 42.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/6.938, allocations: 313.2 kB / 3.741 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/6.941, allocations: 1.739 MB / 3.742 GB, free: 41.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/6.941, allocations: 1.16 MB / 3.743 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001037/6.942, allocations: 0.6791 MB / 3.744 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/6.942, allocations: 55.16 kB / 3.744 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of SimCode: time 3.2e-07/6.942, allocations: 3.125 kB / 3.744 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.06121/7.003, allocations: 45.27 MB / 3.788 GB, free: 39.29 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches