Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.645/1.645, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 85.73 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2352/0.2352, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.366e-05, allocations: 224 / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.038/8.188, allocations: 2.786 GB / 3.281 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/8.188, allocations: 84.44 kB / 3.281 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.595/9.783, allocations: 439.2 MB / 3.71 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/9.783, allocations: 0 / 3.71 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.7e-05/9.783, allocations: 19.47 kB / 3.71 GB, free: 70.9 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00558/9.788, allocations: 1.744 MB / 3.712 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/9.788, allocations: 14.16 kB / 3.712 GB, free: 70.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/9.791, allocations: 333.5 kB / 3.712 GB, free: 70.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/9.791, allocations: 0.5621 MB / 3.713 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.702e-05/9.792, allocations: 32.64 kB / 3.713 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.097e-05/9.792, allocations: 29.66 kB / 3.713 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007801/9.792, allocations: 0.5395 MB / 3.713 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/9.793, allocations: 0.6656 MB / 3.714 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/9.793, allocations: 0 / 3.714 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/9.793, allocations: 4 kB / 3.714 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/9.793, allocations: 27.83 kB / 3.714 GB, free: 69.56 MB / 0.5261 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.07047/9.864, allocations: 44.26 MB / 3.757 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005807/9.864, allocations: 345.6 kB / 3.757 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/9.865, allocations: 198.8 kB / 3.758 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04079/9.905, allocations: 24.16 MB / 3.781 GB, free: 26.19 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/9.906, allocations: 48.58 kB / 3.781 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/9.906, allocations: 0 / 3.781 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.002736/9.908, allocations: 0.8106 MB / 3.782 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/9.908, allocations: 113.5 kB / 3.782 GB, free: 25.95 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/9.909, allocations: 404 kB / 3.783 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/9.909, allocations: 25.7 kB / 3.783 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/9.909, allocations: 354.6 kB / 3.783 GB, free: 25.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/9.909, allocations: 129.6 kB / 3.783 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/9.909, allocations: 0 / 3.783 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001004/9.909, allocations: 364 kB / 3.783 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/9.91, allocations: 166 kB / 3.784 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/9.91, allocations: 339.2 kB / 3.784 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009918/9.911, allocations: 294.3 kB / 3.784 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/9.911, allocations: 3.938 kB / 3.784 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001597/9.913, allocations: 0.7055 MB / 3.785 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003797/9.913, allocations: 2.001 MB / 3.787 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/9.913, allocations: 10.78 kB / 3.787 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/9.914, allocations: 176.7 kB / 3.787 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/9.914, allocations: 144.3 kB / 3.787 GB, free: 22.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/9.915, allocations: 0.818 MB / 3.788 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008248/9.916, allocations: 123.2 kB / 3.788 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/9.916, allocations: 35.97 kB / 3.788 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/9.916, allocations: 3.25 kB / 3.788 GB, free: 22.22 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001737/9.918, allocations: 0.6012 MB / 3.789 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/9.918, allocations: 6.781 kB / 3.789 GB, free: 22.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008183/9.919, allocations: 181 kB / 3.789 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/9.919, allocations: 135.5 kB / 3.789 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008395/9.92, allocations: 0.7255 MB / 3.79 GB, free: 21.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/9.921, allocations: 99.78 kB / 3.79 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/9.921, allocations: 27.88 kB / 3.79 GB, free: 21.61 MB / 0.5261 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 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.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.0002666/9.921, allocations: 128.8 kB / 3.79 GB, free: 21.49 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/9.922, allocations: 56.5 kB / 3.79 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/9.925, allocations: 2.459 MB / 3.792 GB, free: 19.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.006e-05/9.925, allocations: 39.03 kB / 3.792 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/9.925, allocations: 0 / 3.792 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/9.925, allocations: 3.609 kB / 3.792 GB, free: 19.82 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/9.927, allocations: 1.151 MB / 3.794 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/9.927, allocations: 0 / 3.794 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/9.927, allocations: 67.38 kB / 3.794 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/9.928, allocations: 1.083 MB / 3.795 GB, free: 17.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.951e-05/9.929, allocations: 7.516 kB / 3.795 GB, free: 17.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/9.931, allocations: 1.638 MB / 3.796 GB, free: 32.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/9.932, allocations: 0 / 3.796 GB, free: 32.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/9.934, allocations: 1.796 MB / 3.798 GB, free: 30.64 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/9.934, allocations: 273.9 kB / 3.798 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-05/9.934, allocations: 8.062 kB / 3.798 GB, free: 30.37 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/9.935, allocations: 71.25 kB / 3.798 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/9.935, allocations: 41.5 kB / 3.798 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/9.935, allocations: 19.61 kB / 3.798 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004299/9.936, allocations: 372 kB / 3.799 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/9.936, allocations: 0 / 3.799 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005819/9.941, allocations: 1.382 MB / 3.8 GB, free: 28.6 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: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.007686/9.949, allocations: 1.802 MB / 3.802 GB, free: 27.12 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002167/9.951, allocations: 1.025 MB / 3.803 GB, free: 26.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/9.951, allocations: 0 / 3.803 GB, free: 26.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005831/9.952, allocations: 0.6163 MB / 3.803 GB, free: 25.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/9.953, allocations: 261.5 kB / 3.804 GB, free: 25.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/9.955, allocations: 1.48 MB / 3.805 GB, free: 24.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/9.956, allocations: 1.108 MB / 3.806 GB, free: 23.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009974/9.957, allocations: 0.7362 MB / 3.807 GB, free: 22.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/9.957, allocations: 47 kB / 3.807 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of SimCode: time 7.31e-07/9.957, allocations: 0 / 3.807 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of Templates: time 0.3499/10.31, allocations: 37.29 MB / 3.843 GB, free: 84.15 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches