Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001111/0.001111, allocations: 196.4 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 225.4 MB / 240.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008587/0.0008588, allocations: 90.41 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.634e-05, allocations: 7.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 63.24 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.04/5.142, allocations: 2.788 GB / 3.299 GB, free: 260 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/5.142, allocations: 83.08 kB / 3.3 GB, free: 216 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.36/6.503, allocations: 443.5 MB / 3.733 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.006e-06/6.503, allocations: 4 kB / 3.733 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.941e-05/6.503, allocations: 12 kB / 3.733 GB, free: 4.293 MB / 0.5417 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.006915/6.51, allocations: 1.757 MB / 3.734 GB, free: 2.488 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/6.51, allocations: 8.031 kB / 3.734 GB, free: 2.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/6.512, allocations: 326.8 kB / 3.735 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/6.513, allocations: 0.5655 MB / 3.735 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/6.513, allocations: 45.31 kB / 3.735 GB, free: 1.508 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/6.514, allocations: 60 kB / 3.735 GB, free: 1.449 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/6.515, allocations: 0.9697 MB / 3.736 GB, free: 428 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/6.516, allocations: 0 / 3.736 GB, free: 428 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.251e-05/6.516, allocations: 28 kB / 3.736 GB, free: 400 kB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.915e-05/6.516, allocations: 28.97 kB / 3.736 GB, free: 372 kB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3051/6.821, allocations: 0.8002 MB / 3.737 GB, free: 73.98 MB / 0.5417 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.006228/6.827, allocations: 4.802 MB / 3.742 GB, free: 70.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/6.829, allocations: 0.6296 MB / 3.742 GB, free: 70.69 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/6.829, allocations: 217.4 kB / 3.743 GB, free: 70.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04746/6.877, allocations: 26.71 MB / 3.769 GB, free: 53.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/6.877, allocations: 35.84 kB / 3.769 GB, free: 53.39 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=43): time 2.865e-06/6.877, allocations: 3.562 kB / 3.769 GB, free: 53.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=43): time 0.003394/6.88, allocations: 1.021 MB / 3.77 GB, free: 53.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/6.88, allocations: 108.2 kB / 3.77 GB, free: 53.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000814/6.881, allocations: 456.2 kB / 3.77 GB, free: 53.06 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.586e-05/6.881, allocations: 35.2 kB / 3.77 GB, free: 53.03 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/6.881, allocations: 338 kB / 3.771 GB, free: 52.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/6.882, allocations: 155.4 kB / 3.771 GB, free: 52.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/6.882, allocations: 8.5 kB / 3.771 GB, free: 52.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001062/6.882, allocations: 367 kB / 3.771 GB, free: 52.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/6.882, allocations: 162.6 kB / 3.771 GB, free: 52.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/6.882, allocations: 347.8 kB / 3.772 GB, free: 52.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/6.883, allocations: 202.9 kB / 3.772 GB, free: 52.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/6.883, allocations: 2.438 kB / 3.772 GB, free: 52.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001218/6.884, allocations: 0.6567 MB / 3.772 GB, free: 52.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004005/6.884, allocations: 2.002 MB / 3.774 GB, free: 50.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/6.884, allocations: 5.594 kB / 3.774 GB, free: 50.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/6.886, allocations: 266.3 kB / 3.775 GB, free: 50.13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/6.886, allocations: 132.6 kB / 3.775 GB, free: 50.13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007221/6.887, allocations: 0.7495 MB / 3.776 GB, free: 49.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008197/6.888, allocations: 120.9 kB / 3.776 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/6.888, allocations: 33.38 kB / 3.776 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/6.888, allocations: 8.719 kB / 3.776 GB, free: 49.59 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001548/6.89, allocations: 0.6148 MB / 3.776 GB, free: 49.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/6.89, allocations: 6.156 kB / 3.776 GB, free: 49.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008642/6.891, allocations: 178.9 kB / 3.776 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/6.891, allocations: 135.8 kB / 3.777 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005923/6.892, allocations: 0.7109 MB / 3.777 GB, free: 49.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/6.892, allocations: 107.2 kB / 3.777 GB, free: 49.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.283e-05/6.892, allocations: 32.3 kB / 3.777 GB, free: 49.02 MB / 0.5417 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.000174/6.893, allocations: 147.3 kB / 3.778 GB, free: 48.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/6.893, allocations: 57.28 kB / 3.778 GB, free: 48.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/6.896, allocations: 2.984 MB / 3.781 GB, free: 48.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/6.896, allocations: 44.45 kB / 3.781 GB, free: 48.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/6.896, allocations: 7.547 kB / 3.781 GB, free: 48.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/6.896, allocations: 3.047 kB / 3.781 GB, free: 48.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/6.898, allocations: 1.452 MB / 3.782 GB, free: 48.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/6.898, allocations: 0 / 3.782 GB, free: 48.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/6.898, allocations: 93.53 kB / 3.782 GB, free: 48.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/6.9, allocations: 1.211 MB / 3.783 GB, free: 48.31 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/6.9, allocations: 15.56 kB / 3.783 GB, free: 48.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/6.901, allocations: 1.48 MB / 3.785 GB, free: 47.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/6.901, allocations: 0 / 3.785 GB, free: 47.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/6.904, allocations: 1.96 MB / 3.787 GB, free: 47.45 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004768/6.904, allocations: 325.7 kB / 3.787 GB, free: 47.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/6.904, allocations: 10.34 kB / 3.787 GB, free: 47.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/6.905, allocations: 87.92 kB / 3.787 GB, free: 47.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/6.905, allocations: 53.64 kB / 3.787 GB, free: 47.28 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/6.905, allocations: 18.89 kB / 3.787 GB, free: 47.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006208/6.906, allocations: 456.1 kB / 3.788 GB, free: 47.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.3e-07/6.906, allocations: 3.125 kB / 3.788 GB, free: 47.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007334/6.913, allocations: 1.429 MB / 3.789 GB, free: 47.16 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: 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.009242/6.922, allocations: 1.722 MB / 3.791 GB, free: 47.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001927/6.924, allocations: 1.13 MB / 3.792 GB, free: 47.01 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/6.924, allocations: 0 / 3.792 GB, free: 47.01 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007641/6.925, allocations: 0.7255 MB / 3.792 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/6.927, allocations: 314.2 kB / 3.793 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/6.929, allocations: 1.745 MB / 3.794 GB, free: 46.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/6.93, allocations: 1.162 MB / 3.796 GB, free: 45.89 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001057/6.931, allocations: 0.6776 MB / 3.796 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/6.931, allocations: 51.88 kB / 3.796 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of SimCode: time 6.22e-07/6.931, allocations: 0 / 3.796 GB, free: 45.88 MB / 0.5417 GB Notification: Performance of Templates: time 0.05526/6.986, allocations: 45.41 MB / 3.841 GB, free: 44 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefault/TestWaterPumpDefault.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches