Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001421, allocations: 183.9 kB / 15.76 MB, free: 6.039 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.919/1.919, allocations: 205.4 MB / 221.9 MB, free: 13.71 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.001045/0.001045, allocations: 90.91 kB / 270.2 MB, free: 13.24 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.245/0.245, allocations: 43.55 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003706, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1478, allocations: 58.86 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.662/7.81, allocations: 2.782 GB / 3.26 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/7.811, allocations: 95.84 kB / 3.261 GB, free: 58.66 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.465/9.276, allocations: 440.3 MB / 3.691 GB, free: 38.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.204e-06/9.276, allocations: 0 / 3.691 GB, free: 38.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.215e-05/9.276, allocations: 19.94 kB / 3.691 GB, free: 38.08 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.009154/9.285, allocations: 1.831 MB / 3.692 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/9.285, allocations: 12.02 kB / 3.692 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00289/9.288, allocations: 334.4 kB / 3.693 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/9.29, allocations: 0.5627 MB / 3.693 GB, free: 35.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/9.29, allocations: 49.25 kB / 3.693 GB, free: 35.23 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/9.29, allocations: 60 kB / 3.693 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/9.293, allocations: 1.005 MB / 3.694 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/9.293, allocations: 0 / 3.694 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/9.293, allocations: 24 kB / 3.694 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/9.293, allocations: 29 kB / 3.694 GB, free: 34.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/9.295, allocations: 0.9014 MB / 3.695 GB, free: 33.16 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.006836/9.302, allocations: 4.531 MB / 3.7 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/9.305, allocations: 0.8009 MB / 3.7 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3668/9.672, allocations: 55.53 MB / 3.755 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/9.672, allocations: 45.72 kB / 3.755 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/9.672, allocations: 0 / 3.755 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006443/9.678, allocations: 2.243 MB / 3.757 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/9.678, allocations: 109.1 kB / 3.757 GB, free: 43.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000706/9.679, allocations: 459.1 kB / 3.757 GB, free: 43.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.237e-05/9.679, allocations: 35.52 kB / 3.758 GB, free: 43.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/9.679, allocations: 332 kB / 3.758 GB, free: 42.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/9.679, allocations: 186.9 kB / 3.758 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/9.679, allocations: 7.812 kB / 3.758 GB, free: 42.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.865e-05/9.68, allocations: 371 kB / 3.758 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005588/9.68, allocations: 268.7 kB / 3.759 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/9.681, allocations: 438.2 kB / 3.759 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006389/9.681, allocations: 307 kB / 3.759 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/9.681, allocations: 1.156 kB / 3.759 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00216/9.684, allocations: 0.9639 MB / 3.76 GB, free: 42.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003286/9.684, allocations: 1.745 MB / 3.762 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/9.684, allocations: 3.875 kB / 3.762 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/9.686, allocations: 417.7 kB / 3.762 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/9.687, allocations: 138.9 kB / 3.763 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/9.688, allocations: 0.9253 MB / 3.763 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/9.689, allocations: 96.5 kB / 3.764 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/9.689, allocations: 34.09 kB / 3.764 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/9.689, allocations: 4.438 kB / 3.764 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002488/9.691, allocations: 0.9188 MB / 3.764 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/9.691, allocations: 7.156 kB / 3.764 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/9.693, allocations: 342.1 kB / 3.765 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/9.694, allocations: 135.1 kB / 3.765 GB, free: 39.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/9.695, allocations: 0.8897 MB / 3.766 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008227/9.696, allocations: 91.98 kB / 3.766 GB, free: 39.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/9.696, allocations: 32.44 kB / 3.766 GB, free: 39.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0005184/9.696, allocations: 291.3 kB / 3.766 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/9.696, allocations: 67.75 kB / 3.766 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/9.7, allocations: 2.9 MB / 3.769 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/9.7, allocations: 49.34 kB / 3.769 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/9.7, allocations: 2.562 kB / 3.769 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/9.7, allocations: 4.406 kB / 3.769 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004164/9.704, allocations: 4.081 MB / 3.773 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/9.704, allocations: 0 / 3.773 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007028/9.705, allocations: 165.9 kB / 3.773 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/9.705, allocations: 78.92 kB / 3.773 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/9.705, allocations: 13.77 kB / 3.773 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004697/9.706, allocations: 1.186 MB / 3.775 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/9.706, allocations: 0 / 3.775 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/9.709, allocations: 2.569 MB / 3.777 GB, free: 37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/9.709, allocations: 329.7 kB / 3.777 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/9.709, allocations: 14.19 kB / 3.777 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/9.71, allocations: 66.27 kB / 3.777 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/9.71, allocations: 59.59 kB / 3.777 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/9.71, allocations: 25.69 kB / 3.778 GB, free: 36.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005654/9.711, allocations: 462.1 kB / 3.778 GB, free: 36.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/9.711, allocations: 0 / 3.778 GB, free: 36.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005759/9.716, allocations: 1.41 MB / 3.779 GB, free: 36.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.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 (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008388/9.725, allocations: 1.723 MB / 3.781 GB, free: 36.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003686/9.729, allocations: 1.474 MB / 3.782 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/9.729, allocations: 2.906 kB / 3.782 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001527/9.73, allocations: 0.8579 MB / 3.783 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/9.732, allocations: 321.5 kB / 3.784 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004115/9.736, allocations: 3.121 MB / 3.787 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/9.737, allocations: 1.167 MB / 3.788 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001132/9.738, allocations: 0.6723 MB / 3.788 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/9.738, allocations: 58.91 kB / 3.789 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of SimCode: time 6.81e-07/9.738, allocations: 3.531 kB / 3.789 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.05683/9.795, allocations: 43.62 MB / 3.831 GB, free: 31.96 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches