Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,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|downstreamPressure.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.832/1.832, 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.00109/0.00109, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2424/0.2424, allocations: 43.55 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.339/7.493, allocations: 2.765 GB / 3.244 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/7.493, allocations: 92.48 kB / 3.244 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.391/8.884, allocations: 421.4 MB / 3.655 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.004e-06/8.885, allocations: 0 / 3.655 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.947e-05/8.885, allocations: 17.94 kB / 3.655 GB, free: 66.53 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.00802/8.893, allocations: 1.712 MB / 3.657 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/8.893, allocations: 15.12 kB / 3.657 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002843/8.896, allocations: 300.2 kB / 3.657 GB, free: 65.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/8.898, allocations: 0.5241 MB / 3.658 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/8.898, allocations: 45.12 kB / 3.658 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002368/8.898, allocations: 57.89 kB / 3.658 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/8.901, allocations: 0.9712 MB / 3.659 GB, free: 65.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/8.901, allocations: 5.766 kB / 3.659 GB, free: 65.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/8.901, allocations: 27.95 kB / 3.659 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/8.901, allocations: 18.81 kB / 3.659 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/8.904, allocations: 0.879 MB / 3.66 GB, free: 65.23 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.005515/8.909, allocations: 4.635 MB / 3.664 GB, free: 62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002218/8.912, allocations: 0.7552 MB / 3.665 GB, free: 61.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04239/8.954, allocations: 24.09 MB / 3.688 GB, free: 47.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/8.954, allocations: 43.44 kB / 3.688 GB, free: 47.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.546e-06/8.954, allocations: 0 / 3.688 GB, free: 47.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.005929/8.96, allocations: 1.606 MB / 3.69 GB, free: 47.06 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/8.96, allocations: 106.6 kB / 3.69 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/8.961, allocations: 406.7 kB / 3.69 GB, free: 46.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/8.961, allocations: 35.45 kB / 3.69 GB, free: 46.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/8.961, allocations: 317.8 kB / 3.691 GB, free: 46.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/8.961, allocations: 149.4 kB / 3.691 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/8.961, allocations: 10.66 kB / 3.691 GB, free: 46.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/8.961, allocations: 357.2 kB / 3.691 GB, free: 46.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/8.962, allocations: 222.2 kB / 3.691 GB, free: 46.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005624/8.962, allocations: 391.9 kB / 3.692 GB, free: 46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/8.963, allocations: 265.4 kB / 3.692 GB, free: 45.99 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.963, allocations: 4 kB / 3.692 GB, free: 45.99 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001707/8.964, allocations: 0.7948 MB / 3.693 GB, free: 45.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003882/8.965, allocations: 1.921 MB / 3.695 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/8.965, allocations: 8 kB / 3.695 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008636/8.966, allocations: 206.2 kB / 3.695 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/8.966, allocations: 116.8 kB / 3.695 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008361/8.967, allocations: 0.7785 MB / 3.696 GB, free: 43.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/8.968, allocations: 112.6 kB / 3.696 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/8.968, allocations: 29.81 kB / 3.696 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/8.968, allocations: 3.406 kB / 3.696 GB, free: 43.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001604/8.969, allocations: 0.7198 MB / 3.697 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/8.969, allocations: 7.625 kB / 3.697 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009682/8.97, allocations: 206.6 kB / 3.697 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/8.971, allocations: 120.6 kB / 3.697 GB, free: 43.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007628/8.972, allocations: 0.7553 MB / 3.698 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/8.972, allocations: 95.75 kB / 3.698 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/8.972, allocations: 34.56 kB / 3.698 GB, free: 42.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (53): * Single equations (assignments): 52 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004241/8.973, allocations: 285.9 kB / 3.698 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/8.973, allocations: 59.78 kB / 3.698 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/8.976, allocations: 2.921 MB / 3.701 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/8.976, allocations: 49.44 kB / 3.701 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/8.976, allocations: 0 / 3.701 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/8.976, allocations: 3.656 kB / 3.701 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/8.978, allocations: 1.419 MB / 3.702 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/8.978, allocations: 3.656 kB / 3.702 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/8.978, allocations: 92.38 kB / 3.703 GB, free: 41.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/8.979, allocations: 0.6628 MB / 3.703 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/8.979, allocations: 7.969 kB / 3.703 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/8.98, allocations: 1.219 MB / 3.704 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/8.98, allocations: 3.75 kB / 3.704 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/8.983, allocations: 1.863 MB / 3.706 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/8.984, allocations: 320.2 kB / 3.707 GB, free: 39.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/8.984, allocations: 11.97 kB / 3.707 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006467/8.984, allocations: 84.52 kB / 3.707 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/8.984, allocations: 45.73 kB / 3.707 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/8.985, allocations: 21.94 kB / 3.707 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004827/8.985, allocations: 424.9 kB / 3.707 GB, free: 38.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/8.985, allocations: 0 / 3.707 GB, free: 38.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006319/8.991, allocations: 1.347 MB / 3.708 GB, free: 38.59 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.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 (42): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.009718/9.001, allocations: 1.654 MB / 3.71 GB, free: 38.17 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003763/9.005, allocations: 1.305 MB / 3.711 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/9.005, allocations: 7.906 kB / 3.711 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/9.006, allocations: 0.7725 MB / 3.712 GB, free: 37.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/9.008, allocations: 297.8 kB / 3.712 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003477/9.011, allocations: 2.818 MB / 3.715 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/9.012, allocations: 1.141 MB / 3.716 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001013/9.013, allocations: 0.6574 MB / 3.717 GB, free: 34.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/9.013, allocations: 61.39 kB / 3.717 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/9.013, allocations: 0 / 3.717 GB, free: 34.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.05711/9.07, allocations: 41.38 MB / 3.757 GB, free: 21.07 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDefaultLV/TestWaterPumpDefaultLV.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches