Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.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.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.y|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|valve.port_b.m_flow|valve.port_b.p|valve.port_b.h_outflow|valve.minLimiter.y|valveOpening.y|pressure1.y|sink1.ports.1..m_flow|sink1.ports.1..p|sink1.ports.1..h_outflow|pump1.port_b.m_flow|pump1.port_b.p|pump1.port_b.h_outflow|valve1.port_b.m_flow|valve1.port_b.p|valve1.port_b.h_outflow|valve1.minLimiter.y|valveOpening1.y|sinkPressure.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009928/0.0009928, 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.229/1.229, 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.0007774/0.0007774, allocations: 85.42 kB / 271.9 MB, free: 8.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.3011/0.3011, allocations: 43.56 MB / 363.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 16 kB / 432.6 MB, free: 5.652 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09792/0.09825, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.311/5.409, allocations: 2.784 GB / 3.263 GB, free: 87.55 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/5.41, allocations: 90.12 kB / 3.264 GB, free: 87.5 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.78/8.19, allocations: 0.7259 GB / 3.989 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.494e-06/8.19, allocations: 0 / 3.989 GB, free: 40.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001967/8.19, allocations: 32.06 kB / 3.99 GB, free: 40.48 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.01324/8.203, allocations: 2.871 MB / 3.992 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/8.203, allocations: 8.438 kB / 3.992 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005693/8.209, allocations: 0.6493 MB / 3.993 GB, free: 39.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/8.212, allocations: 1.013 MB / 3.994 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/8.213, allocations: 100.4 kB / 3.994 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/8.213, allocations: 108.7 kB / 3.994 GB, free: 38.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/8.22, allocations: 2.025 MB / 3.996 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.788e-05/8.22, allocations: 14.53 kB / 3.996 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004011/8.221, allocations: 53.73 kB / 3.996 GB, free: 38.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001194/8.221, allocations: 45.19 kB / 3.996 GB, free: 38.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006391/8.227, allocations: 1.881 MB / 3.998 GB, free: 38.29 MB / 0.5261 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.01519/8.243, allocations: 9.493 MB / 4.007 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005841/8.249, allocations: 1.651 MB / 4.009 GB, free: 31.87 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/8.25, allocations: 0.6177 MB / 4.01 GB, free: 31.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04675/8.297, allocations: 24.25 MB / 4.033 GB, free: 33.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.051e-05/8.297, allocations: 49.75 kB / 4.033 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=94): time 6.102e-06/8.297, allocations: 0 / 4.033 GB, free: 32.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94): time 0.01437/8.311, allocations: 3.482 MB / 4.037 GB, free: 32.65 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/8.312, allocations: 162.4 kB / 4.037 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001924/8.314, allocations: 0.8925 MB / 4.038 GB, free: 32.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002396/8.314, allocations: 47.64 kB / 4.038 GB, free: 32.27 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/8.314, allocations: 0.5905 MB / 4.038 GB, free: 32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000471/8.315, allocations: 319.8 kB / 4.039 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/8.315, allocations: 20.03 kB / 4.039 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001729/8.315, allocations: 350.9 kB / 4.039 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/8.317, allocations: 0.5022 MB / 4.039 GB, free: 31.49 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/8.318, allocations: 0.8401 MB / 4.04 GB, free: 31.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/8.321, allocations: 1.346 MB / 4.042 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/8.321, allocations: 0 / 4.042 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004642/8.326, allocations: 1.658 MB / 4.043 GB, free: 30.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003866/8.326, allocations: 384.5 kB / 4.044 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/8.326, allocations: 10.88 kB / 4.044 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/8.329, allocations: 0.5774 MB / 4.044 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/8.33, allocations: 291.2 kB / 4.044 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/8.333, allocations: 1.563 MB / 4.046 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/8.335, allocations: 244.4 kB / 4.046 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/8.335, allocations: 68.64 kB / 4.046 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/8.335, allocations: 6.875 kB / 4.046 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003191/8.338, allocations: 1.351 MB / 4.048 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/8.338, allocations: 9.812 kB / 4.048 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/8.338, allocations: 14.56 kB / 4.048 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/8.341, allocations: 460.4 kB / 4.048 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.322e-05/8.341, allocations: 15.97 kB / 4.048 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/8.343, allocations: 226.3 kB / 4.048 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/8.343, allocations: 66.62 kB / 4.048 GB, free: 28.88 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase,valve1.state_b.phase,valve1.state_a.phase,pump1.monitoring.state_in.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 (114): * Single equations (assignments): 112 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 11,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001606/8.345, allocations: 380.2 kB / 4.049 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007256/8.345, allocations: 139.4 kB / 4.049 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008441/8.354, allocations: 5.891 MB / 4.055 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/8.354, allocations: 79.33 kB / 4.055 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/8.354, allocations: 2.5 kB / 4.055 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/8.354, allocations: 13.7 kB / 4.055 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/8.366, allocations: 8.032 MB / 4.063 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/8.366, allocations: 0 / 4.063 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007902/8.367, allocations: 228.1 kB / 4.063 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003584/8.37, allocations: 1.642 MB / 4.064 GB, free: 27.11 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/8.37, allocations: 27.84 kB / 4.064 GB, free: 27.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/8.373, allocations: 2.648 MB / 4.067 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/8.373, allocations: 3.938 kB / 4.067 GB, free: 26 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005706/8.379, allocations: 3.785 MB / 4.071 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/8.38, allocations: 0.5601 MB / 4.071 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004246/8.381, allocations: 25.06 kB / 4.071 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/8.382, allocations: 176.7 kB / 4.071 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/8.383, allocations: 108.1 kB / 4.072 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/8.383, allocations: 43.77 kB / 4.072 GB, free: 25.21 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001518/8.384, allocations: 0.8022 MB / 4.072 GB, free: 25.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.51e-07/8.384, allocations: 0 / 4.072 GB, free: 25.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008899/8.393, allocations: 1.883 MB / 4.074 GB, free: 24.82 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: 48 ($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,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,source.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,pump1.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 16,2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01093/8.404, allocations: 2.124 MB / 4.076 GB, free: 24.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006737/8.411, allocations: 2.728 MB / 4.079 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/8.411, allocations: 5.438 kB / 4.079 GB, free: 24.23 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002571/8.414, allocations: 1.587 MB / 4.08 GB, free: 24.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/8.418, allocations: 0.606 MB / 4.081 GB, free: 24.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008788/8.426, allocations: 5.571 MB / 4.087 GB, free: 21.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/8.428, allocations: 1.587 MB / 4.088 GB, free: 20.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005242/8.429, allocations: 117.8 kB / 4.088 GB, free: 20.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.212e-06/8.429, allocations: 0 / 4.088 GB, free: 20.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.435/8.864, allocations: 62.14 MB / 4.149 GB, free: 51.64 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestControlledPump/TestControlledPump.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestControlledPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches