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.001363/0.001363, allocations: 175.8 kB / 16.76 MB, free: 5.047 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.728/1.728, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007902/0.0007902, allocations: 85.05 kB / 271.3 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4118/0.4118, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003995, allocations: 23.98 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.397/6.53, allocations: 2.782 GB / 3.262 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/6.531, allocations: 84.52 kB / 3.262 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.366/7.897, allocations: 420.5 MB / 3.673 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.783e-06/7.897, allocations: 0 / 3.673 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.309e-05/7.897, allocations: 18.62 kB / 3.673 GB, free: 31.29 MB / 0.4948 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.007018/7.904, allocations: 1.821 MB / 3.675 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/7.904, allocations: 7.375 kB / 3.675 GB, free: 30.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/7.907, allocations: 329.9 kB / 3.675 GB, free: 30.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/7.908, allocations: 0.5928 MB / 3.676 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/7.908, allocations: 48.66 kB / 3.676 GB, free: 29.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/7.908, allocations: 55.31 kB / 3.676 GB, free: 29.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/7.91, allocations: 1.011 MB / 3.677 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/7.91, allocations: 7.125 kB / 3.677 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/7.911, allocations: 23.47 kB / 3.677 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/7.911, allocations: 21.12 kB / 3.677 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002223/7.913, allocations: 0.9011 MB / 3.678 GB, free: 28.99 MB / 0.4948 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.004755/7.918, allocations: 4.534 MB / 3.682 GB, free: 25.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/7.92, allocations: 0.8 MB / 3.683 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/7.921, allocations: 304.3 kB / 3.683 GB, free: 24.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.38/8.301, allocations: 55.53 MB / 3.737 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/8.301, allocations: 41.19 kB / 3.737 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.624e-06/8.301, allocations: 0 / 3.737 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007272/8.308, allocations: 2.257 MB / 3.74 GB, free: 54.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/8.308, allocations: 109.2 kB / 3.74 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006407/8.309, allocations: 0.5045 MB / 3.74 GB, free: 54.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/8.309, allocations: 34.73 kB / 3.74 GB, free: 54.08 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/8.309, allocations: 320.1 kB / 3.74 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/8.309, allocations: 183.2 kB / 3.741 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/8.309, allocations: 12.72 kB / 3.741 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/8.309, allocations: 375.1 kB / 3.741 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/8.31, allocations: 268.8 kB / 3.741 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/8.311, allocations: 431.7 kB / 3.742 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/8.312, allocations: 0.6799 MB / 3.742 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/8.312, allocations: 2.438 kB / 3.742 GB, free: 53.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002144/8.314, allocations: 0.9639 MB / 3.743 GB, free: 53.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/8.314, allocations: 223.2 kB / 3.744 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/8.314, allocations: 6.094 kB / 3.744 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/8.316, allocations: 475.3 kB / 3.744 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/8.317, allocations: 131.2 kB / 3.744 GB, free: 52.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/8.318, allocations: 0.9302 MB / 3.745 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008457/8.319, allocations: 90.78 kB / 3.745 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/8.319, allocations: 32.22 kB / 3.745 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/8.319, allocations: 5.078 kB / 3.745 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00273/8.322, allocations: 0.9233 MB / 3.746 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/8.322, allocations: 3.875 kB / 3.746 GB, free: 52.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/8.323, allocations: 331.7 kB / 3.746 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000463/8.324, allocations: 142.3 kB / 3.746 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/8.325, allocations: 0.8881 MB / 3.747 GB, free: 51.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/8.326, allocations: 96.25 kB / 3.747 GB, free: 51.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/8.326, allocations: 39.19 kB / 3.747 GB, free: 51.76 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.0004821/8.326, allocations: 283.7 kB / 3.748 GB, free: 51.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/8.326, allocations: 64.89 kB / 3.748 GB, free: 51.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/8.33, allocations: 2.902 MB / 3.751 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.882e-05/8.33, allocations: 48.31 kB / 3.751 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/8.33, allocations: 1.781 kB / 3.751 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/8.33, allocations: 8.016 kB / 3.751 GB, free: 51.28 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004723/8.335, allocations: 4.07 MB / 3.755 GB, free: 50.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/8.335, allocations: 0 / 3.755 GB, free: 50.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/8.335, allocations: 173.1 kB / 3.755 GB, free: 50.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/8.336, allocations: 76.06 kB / 3.755 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/8.336, allocations: 20.78 kB / 3.755 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005547/8.336, allocations: 1.177 MB / 3.756 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/8.336, allocations: 0 / 3.756 GB, free: 49.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003361/8.34, allocations: 2.566 MB / 3.759 GB, free: 49.48 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/8.34, allocations: 337 kB / 3.759 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/8.34, allocations: 13.44 kB / 3.759 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/8.341, allocations: 78.27 kB / 3.759 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/8.341, allocations: 52.47 kB / 3.759 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.955e-05/8.341, allocations: 26.48 kB / 3.759 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006194/8.342, allocations: 463.8 kB / 3.76 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/8.342, allocations: 0 / 3.76 GB, free: 49.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006588/8.348, allocations: 1.405 MB / 3.761 GB, free: 49.21 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.008537/8.357, allocations: 1.727 MB / 3.763 GB, free: 49.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003459/8.36, allocations: 1.475 MB / 3.764 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/8.36, allocations: 3.938 kB / 3.764 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/8.362, allocations: 0.869 MB / 3.765 GB, free: 49 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/8.363, allocations: 325.7 kB / 3.765 GB, free: 49 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/8.367, allocations: 3.128 MB / 3.768 GB, free: 47.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/8.368, allocations: 1.136 MB / 3.769 GB, free: 47.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001073/8.369, allocations: 0.6559 MB / 3.77 GB, free: 47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/8.369, allocations: 69.41 kB / 3.77 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/8.369, allocations: 0 / 3.77 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.05961/8.429, allocations: 46.06 MB / 3.815 GB, free: 45.17 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/jenkins1/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