Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.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.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|N_pump.y|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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|N_pump.y|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",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008939/0.000894, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.263/1.263, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0007271/0.0007271, allocations: 93.34 kB / 271.9 MB, free: 8.258 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.3002/0.3002, allocations: 43.56 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 16 kB / 432.6 MB, free: 5.891 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1011, allocations: 58.85 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.459/5.56, allocations: 2.782 GB / 3.262 GB, free: 89.42 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/5.56, allocations: 88.33 kB / 3.262 GB, free: 89.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.318/6.878, allocations: 420.4 MB / 3.673 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.004e-06/6.878, allocations: 0 / 3.673 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.996e-05/6.878, allocations: 21.75 kB / 3.673 GB, free: 31.63 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006765/6.885, allocations: 1.844 MB / 3.674 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/6.885, allocations: 10.5 kB / 3.674 GB, free: 30.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002466/6.887, allocations: 327.3 kB / 3.675 GB, free: 30.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009552/6.888, allocations: 0.5902 MB / 3.675 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/6.888, allocations: 47.31 kB / 3.675 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/6.888, allocations: 52.78 kB / 3.675 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/6.89, allocations: 1.027 MB / 3.676 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/6.89, allocations: 3.938 kB / 3.676 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.531e-05/6.89, allocations: 22.56 kB / 3.676 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/6.89, allocations: 23.69 kB / 3.676 GB, free: 29.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002221/6.893, allocations: 0.9404 MB / 3.677 GB, free: 29.33 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.004703/6.897, allocations: 4.78 MB / 3.682 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/6.9, allocations: 0.827 MB / 3.683 GB, free: 25.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006197/6.9, allocations: 304.5 kB / 3.683 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03866/6.939, allocations: 24.16 MB / 3.707 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.394e-05/6.939, allocations: 38.88 kB / 3.707 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 2.976e-06/6.939, allocations: 4 kB / 3.707 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.007135/6.946, allocations: 1.794 MB / 3.708 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/6.946, allocations: 114.8 kB / 3.709 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007337/6.947, allocations: 0.5107 MB / 3.709 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.234e-05/6.947, allocations: 37.7 kB / 3.709 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/6.947, allocations: 332.1 kB / 3.709 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/6.948, allocations: 157.6 kB / 3.71 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/6.948, allocations: 8 kB / 3.71 GB, free: 6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/6.948, allocations: 374.8 kB / 3.71 GB, free: 5.625 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/6.948, allocations: 257 kB / 3.71 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/6.949, allocations: 427.8 kB / 3.711 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/6.95, allocations: 0.6928 MB / 3.711 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/6.95, allocations: 0 / 3.711 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001891/6.952, allocations: 0.8486 MB / 3.712 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/6.952, allocations: 240.8 kB / 3.712 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/6.952, allocations: 4 kB / 3.712 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/6.954, allocations: 346.8 kB / 3.713 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/6.955, allocations: 143.8 kB / 3.713 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/6.956, allocations: 0.7982 MB / 3.714 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008378/6.957, allocations: 123.4 kB / 3.714 GB, free: 1.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.08e-05/6.957, allocations: 35.98 kB / 3.714 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/6.957, allocations: 4 kB / 3.714 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002026/6.959, allocations: 0.7925 MB / 3.715 GB, free: 0.6719 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/6.959, allocations: 8 kB / 3.715 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009555/6.96, allocations: 217.1 kB / 3.715 GB, free: 460 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/6.96, allocations: 147.8 kB / 3.715 GB, free: 312 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000851/6.961, allocations: 0.7513 MB / 3.716 GB, free: 15.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/6.962, allocations: 111.4 kB / 3.716 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/6.962, allocations: 35.98 kB / 3.716 GB, free: 15.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 55 * 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.0005588/6.963, allocations: 289.9 kB / 3.716 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/6.963, allocations: 59.25 kB / 3.716 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/6.966, allocations: 2.908 MB / 3.719 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/6.966, allocations: 35.94 kB / 3.719 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/6.966, allocations: 4 kB / 3.719 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/6.967, allocations: 3.984 kB / 3.719 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/6.968, allocations: 1.383 MB / 3.72 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/6.968, allocations: 0 / 3.72 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/6.969, allocations: 103.8 kB / 3.72 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/6.971, allocations: 1.064 MB / 3.721 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/6.971, allocations: 12 kB / 3.721 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001551/6.972, allocations: 1.439 MB / 3.723 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/6.972, allocations: 7.922 kB / 3.723 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/6.975, allocations: 1.886 MB / 3.725 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/6.975, allocations: 362.7 kB / 3.725 GB, free: 5.703 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-05/6.976, allocations: 12 kB / 3.725 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/6.976, allocations: 95.7 kB / 3.725 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/6.976, allocations: 52.42 kB / 3.725 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/6.976, allocations: 19.98 kB / 3.725 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007211/6.977, allocations: 0.5615 MB / 3.726 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/6.977, allocations: 0 / 3.726 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006327/6.983, allocations: 1.436 MB / 3.727 GB, free: 3.535 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01062/6.994, allocations: 1.712 MB / 3.729 GB, free: 2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003838/6.998, allocations: 1.306 MB / 3.73 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/6.998, allocations: 0 / 3.73 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.2725/7.27, allocations: 0.7058 MB / 3.731 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/7.273, allocations: 325.1 kB / 3.731 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/7.277, allocations: 2.81 MB / 3.734 GB, free: 56.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/7.277, allocations: 1.118 MB / 3.735 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/7.278, allocations: 60.72 kB / 3.735 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/7.278, allocations: 1.188 kB / 3.735 GB, free: 56.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.0563/7.334, allocations: 35.61 MB / 3.77 GB, free: 55.14 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpVariableSpeed/TestWaterPumpVariableSpeed.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,N_pump.y,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 Variables in the result:N_pump.y,Sink.ports[1].h_outflow,Sink.ports[1].m_flow,Sink.ports[1].p,Source.ports[1].h_outflow,Source.ports[1].m_flow,Source.ports[1].p,Valve.minLimiter.y,Valve.port_b.h_outflow,Valve.port_b.m_flow,Valve.port_b.p,pump.port_b.h_outflow,pump.port_b.m_flow,pump.port_b.p,time,valveOpening.y