Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001101/0.001101, allocations: 181.2 kB / 17.41 MB, free: 4.285 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.495/1.495, allocations: 205.4 MB / 223.6 MB, free: 9.016 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.0007681/0.0007681, allocations: 89.42 kB / 271.9 MB, free: 8.25 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.3444/0.3444, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 16 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1256, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.134/6.26, allocations: 2.782 GB / 3.262 GB, free: 88.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/6.26, allocations: 88.77 kB / 3.262 GB, free: 88.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.308/7.569, allocations: 420.5 MB / 3.673 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/7.569, allocations: 3.969 kB / 3.673 GB, free: 32.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.526e-05/7.569, allocations: 21.91 kB / 3.673 GB, free: 32.28 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.006834/7.576, allocations: 1.815 MB / 3.675 GB, free: 31.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/7.576, allocations: 11.41 kB / 3.675 GB, free: 31.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002594/7.578, allocations: 324.2 kB / 3.675 GB, free: 31.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/7.579, allocations: 0.5945 MB / 3.676 GB, free: 30.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/7.58, allocations: 52.75 kB / 3.676 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/7.58, allocations: 51.03 kB / 3.676 GB, free: 30.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/7.582, allocations: 1.014 MB / 3.677 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/7.582, allocations: 0 / 3.677 GB, free: 30.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/7.582, allocations: 23.94 kB / 3.677 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/7.582, allocations: 20.03 kB / 3.677 GB, free: 30.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/7.585, allocations: 0.9116 MB / 3.678 GB, free: 29.98 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.004346/7.589, allocations: 4.535 MB / 3.682 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/7.591, allocations: 0.7972 MB / 3.683 GB, free: 25.97 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/7.592, allocations: 303 kB / 3.683 GB, free: 25.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3464/7.938, allocations: 55.54 MB / 3.737 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/7.938, allocations: 40.78 kB / 3.737 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.425e-06/7.938, allocations: 0 / 3.737 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.006616/7.945, allocations: 2.252 MB / 3.74 GB, free: 58.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/7.945, allocations: 108.8 kB / 3.74 GB, free: 58.06 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/7.946, allocations: 0.5005 MB / 3.74 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/7.946, allocations: 42.39 kB / 3.74 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/7.946, allocations: 322 kB / 3.74 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/7.946, allocations: 181.8 kB / 3.741 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/7.946, allocations: 11.84 kB / 3.741 GB, free: 57.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.611e-05/7.946, allocations: 374.6 kB / 3.741 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/7.947, allocations: 265.6 kB / 3.741 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/7.947, allocations: 436.5 kB / 3.742 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/7.948, allocations: 0.6838 MB / 3.742 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/7.948, allocations: 0 / 3.742 GB, free: 57.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002138/7.951, allocations: 0.9617 MB / 3.743 GB, free: 56.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/7.951, allocations: 221.8 kB / 3.744 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/7.951, allocations: 3.719 kB / 3.744 GB, free: 56.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/7.953, allocations: 476.2 kB / 3.744 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/7.953, allocations: 138.9 kB / 3.744 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/7.955, allocations: 0.9211 MB / 3.745 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007612/7.955, allocations: 96.33 kB / 3.745 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/7.956, allocations: 34.23 kB / 3.745 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/7.956, allocations: 3.219 kB / 3.745 GB, free: 56.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002552/7.958, allocations: 0.9277 MB / 3.746 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/7.958, allocations: 3.375 kB / 3.746 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/7.96, allocations: 333.8 kB / 3.746 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/7.96, allocations: 136.8 kB / 3.746 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/7.961, allocations: 0.89 MB / 3.747 GB, free: 55.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/7.962, allocations: 88.3 kB / 3.747 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/7.962, allocations: 36.92 kB / 3.747 GB, free: 55.59 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.000388/7.962, allocations: 281 kB / 3.748 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/7.963, allocations: 62.41 kB / 3.748 GB, free: 55.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/7.966, allocations: 2.912 MB / 3.751 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/7.966, allocations: 49.28 kB / 3.751 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/7.966, allocations: 0 / 3.751 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/7.966, allocations: 3.188 kB / 3.751 GB, free: 55.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004247/7.97, allocations: 4.079 MB / 3.755 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/7.97, allocations: 1.641 kB / 3.755 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/7.971, allocations: 169.6 kB / 3.755 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003212/7.971, allocations: 73.83 kB / 3.755 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/7.971, allocations: 20.92 kB / 3.755 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004583/7.972, allocations: 1.176 MB / 3.756 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/7.972, allocations: 5.062 kB / 3.756 GB, free: 53.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/7.975, allocations: 2.567 MB / 3.759 GB, free: 53.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004703/7.975, allocations: 335 kB / 3.759 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/7.975, allocations: 11.78 kB / 3.759 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/7.976, allocations: 73.45 kB / 3.759 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/7.976, allocations: 58.27 kB / 3.759 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/7.976, allocations: 25.2 kB / 3.759 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005743/7.976, allocations: 462 kB / 3.76 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/7.976, allocations: 0 / 3.76 GB, free: 53.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006314/7.983, allocations: 1.402 MB / 3.761 GB, free: 53.05 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.00714/7.99, allocations: 1.727 MB / 3.763 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003268/7.993, allocations: 1.473 MB / 3.764 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/7.993, allocations: 4.094 kB / 3.764 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001184/7.994, allocations: 0.8603 MB / 3.765 GB, free: 52.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/7.996, allocations: 328.4 kB / 3.765 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/8, allocations: 3.172 MB / 3.768 GB, free: 51.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/8, allocations: 1.14 MB / 3.769 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/8, allocations: 68.39 kB / 3.769 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of SimCode: time 7.12e-07/8, allocations: 0 / 3.769 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.05365/8.054, allocations: 38.27 MB / 3.807 GB, free: 48.75 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches