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.001135/0.001135, allocations: 183.8 kB / 15.76 MB, free: 6.363 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.754/1.754, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.00118/0.00118, allocations: 94.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2456/0.2456, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.386/7.521, allocations: 2.782 GB / 3.26 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/7.521, allocations: 85.58 kB / 3.26 GB, free: 128.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/9.115, allocations: 440 MB / 3.69 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/9.115, allocations: 3.172 kB / 3.69 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.067e-05/9.115, allocations: 26.59 kB / 3.69 GB, free: 52.16 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.008439/9.124, allocations: 1.818 MB / 3.692 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/9.124, allocations: 6.781 kB / 3.692 GB, free: 51.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/9.127, allocations: 328.5 kB / 3.692 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/9.128, allocations: 0.5743 MB / 3.693 GB, free: 50.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.728e-05/9.128, allocations: 50.56 kB / 3.693 GB, free: 50.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/9.128, allocations: 52.97 kB / 3.693 GB, free: 50.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/9.131, allocations: 1.002 MB / 3.694 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/9.131, allocations: 0 / 3.694 GB, free: 50.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.471e-05/9.131, allocations: 27.75 kB / 3.694 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/9.131, allocations: 20.81 kB / 3.694 GB, free: 50.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/9.133, allocations: 0.9026 MB / 3.695 GB, free: 49.95 MB / 0.5105 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.005341/9.139, allocations: 4.811 MB / 3.7 GB, free: 45.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/9.141, allocations: 0.7006 MB / 3.7 GB, free: 45.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04246/9.183, allocations: 24.07 MB / 3.724 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/9.183, allocations: 42.41 kB / 3.724 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 4.468e-06/9.184, allocations: 0 / 3.724 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.006283/9.19, allocations: 1.643 MB / 3.725 GB, free: 29.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/9.19, allocations: 111 kB / 3.725 GB, free: 29.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007625/9.191, allocations: 459.7 kB / 3.726 GB, free: 29.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.495e-05/9.191, allocations: 33.45 kB / 3.726 GB, free: 29.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/9.191, allocations: 339.7 kB / 3.726 GB, free: 29.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/9.191, allocations: 154.4 kB / 3.726 GB, free: 28.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/9.191, allocations: 11.91 kB / 3.726 GB, free: 28.91 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001098/9.191, allocations: 372.2 kB / 3.727 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/9.192, allocations: 239.4 kB / 3.727 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/9.193, allocations: 413 kB / 3.727 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/9.193, allocations: 279 kB / 3.728 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/9.193, allocations: 7.875 kB / 3.728 GB, free: 28.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001798/9.195, allocations: 0.8026 MB / 3.728 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004273/9.195, allocations: 2.01 MB / 3.73 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/9.195, allocations: 9.812 kB / 3.73 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/9.197, allocations: 293 kB / 3.731 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/9.197, allocations: 136.4 kB / 3.731 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009461/9.198, allocations: 0.7898 MB / 3.732 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008738/9.199, allocations: 127.8 kB / 3.732 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.477e-05/9.199, allocations: 31.31 kB / 3.732 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/9.199, allocations: 3.344 kB / 3.732 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002056/9.201, allocations: 0.766 MB / 3.733 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/9.201, allocations: 6.75 kB / 3.733 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/9.203, allocations: 209.7 kB / 3.733 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/9.203, allocations: 146.2 kB / 3.733 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008118/9.204, allocations: 0.7546 MB / 3.734 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/9.205, allocations: 114.1 kB / 3.734 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/9.205, allocations: 31.77 kB / 3.734 GB, free: 23.95 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 (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.000452/9.205, allocations: 285.2 kB / 3.734 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/9.205, allocations: 58.62 kB / 3.734 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/9.209, allocations: 3.015 MB / 3.737 GB, free: 22.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/9.209, allocations: 48.53 kB / 3.737 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/9.209, allocations: 0 / 3.737 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/9.209, allocations: 3.844 kB / 3.737 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/9.211, allocations: 1.45 MB / 3.738 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/9.211, allocations: 0 / 3.738 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/9.212, allocations: 92.56 kB / 3.739 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002225/9.214, allocations: 1.067 MB / 3.74 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/9.214, allocations: 19.36 kB / 3.74 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/9.215, allocations: 1.429 MB / 3.741 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/9.215, allocations: 7.328 kB / 3.741 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/9.218, allocations: 2.021 MB / 3.743 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/9.219, allocations: 323.7 kB / 3.743 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/9.219, allocations: 14.77 kB / 3.743 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/9.219, allocations: 92.23 kB / 3.743 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/9.22, allocations: 43.86 kB / 3.743 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/9.22, allocations: 20.69 kB / 3.743 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005772/9.22, allocations: 469.6 kB / 3.744 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/9.22, allocations: 0 / 3.744 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00639/9.227, allocations: 1.415 MB / 3.745 GB, free: 18.62 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 () * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009596/9.236, allocations: 1.702 MB / 3.747 GB, free: 17.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003247/9.239, allocations: 1.335 MB / 3.748 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/9.24, allocations: 4.438 kB / 3.748 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/9.241, allocations: 0.7832 MB / 3.749 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/9.243, allocations: 305.6 kB / 3.749 GB, free: 15.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003875/9.246, allocations: 2.891 MB / 3.752 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006367/9.247, allocations: 1.161 MB / 3.753 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001078/9.248, allocations: 0.6429 MB / 3.754 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/9.248, allocations: 63.27 kB / 3.754 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/9.248, allocations: 0 / 3.754 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.3292/9.578, allocations: 42.8 MB / 3.796 GB, free: 72.69 MB / 0.5261 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