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.001535/0.00154, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.925/1.925, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001049/0.001049, allocations: 82.64 kB / 267.5 MB, free: 14.04 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.2729/0.2729, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.586e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.348/8.466, allocations: 2.782 GB / 3.254 GB, free: 63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/8.466, allocations: 85.61 kB / 3.254 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.232/10.7, allocations: 439.1 MB / 3.683 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.375e-06/10.7, allocations: 0 / 3.683 GB, free: 44.09 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.619e-05/10.7, allocations: 20 kB / 3.683 GB, free: 44.07 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.008179/10.71, allocations: 1.744 MB / 3.685 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/10.71, allocations: 8.031 kB / 3.685 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003609/10.71, allocations: 330.7 kB / 3.685 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/10.71, allocations: 0.5673 MB / 3.686 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/10.71, allocations: 57.22 kB / 3.686 GB, free: 41.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/10.71, allocations: 52 kB / 3.686 GB, free: 41.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00301/10.72, allocations: 0.9778 MB / 3.687 GB, free: 40.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/10.72, allocations: 7.875 kB / 3.687 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/10.72, allocations: 24 kB / 3.687 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/10.72, allocations: 21 kB / 3.687 GB, free: 40.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002748/10.72, allocations: 0.8079 MB / 3.688 GB, free: 39.35 MB / 0.5105 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.006945/10.73, allocations: 4.535 MB / 3.692 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/10.73, allocations: 0.7242 MB / 3.693 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006236/10.73, allocations: 238.1 kB / 3.693 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5652/11.29, allocations: 55.72 MB / 3.748 GB, free: 50 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/11.29, allocations: 41.09 kB / 3.748 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.865e-06/11.29, allocations: 0 / 3.748 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.00878/11.3, allocations: 1.853 MB / 3.749 GB, free: 49.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/11.3, allocations: 108.2 kB / 3.75 GB, free: 49.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000998/11.3, allocations: 445.6 kB / 3.75 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/11.3, allocations: 34.98 kB / 3.75 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/11.3, allocations: 359.8 kB / 3.75 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002591/11.3, allocations: 181 kB / 3.751 GB, free: 49.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/11.31, allocations: 9.188 kB / 3.751 GB, free: 49.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/11.31, allocations: 334.6 kB / 3.751 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006074/11.31, allocations: 202.7 kB / 3.751 GB, free: 48.76 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007262/11.31, allocations: 359.2 kB / 3.751 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007333/11.31, allocations: 240.7 kB / 3.752 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/11.31, allocations: 3.625 kB / 3.752 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002821/11.31, allocations: 0.7724 MB / 3.752 GB, free: 48.51 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004755/11.31, allocations: 1.742 MB / 3.754 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/11.31, allocations: 3.094 kB / 3.754 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/11.31, allocations: 380.9 kB / 3.754 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/11.31, allocations: 138.8 kB / 3.755 GB, free: 46.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/11.32, allocations: 0.8727 MB / 3.755 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/11.32, allocations: 94.97 kB / 3.756 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/11.32, allocations: 36.45 kB / 3.756 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/11.32, allocations: 11.03 kB / 3.756 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003319/11.32, allocations: 0.7557 MB / 3.756 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/11.32, allocations: 3.812 kB / 3.756 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/11.32, allocations: 281.8 kB / 3.757 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/11.33, allocations: 138.1 kB / 3.757 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/11.33, allocations: 0.8332 MB / 3.758 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/11.33, allocations: 92.72 kB / 3.758 GB, free: 45.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-05/11.33, allocations: 39.39 kB / 3.758 GB, free: 45.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 () * 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.0002825/11.33, allocations: 140.4 kB / 3.758 GB, free: 45.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002318/11.33, allocations: 71.89 kB / 3.758 GB, free: 45.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/11.33, allocations: 2.841 MB / 3.761 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.017e-05/11.33, allocations: 46.89 kB / 3.761 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/11.33, allocations: 0 / 3.761 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/11.33, allocations: 6.891 kB / 3.761 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005944/11.34, allocations: 3.996 MB / 3.765 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/11.34, allocations: 2.781 kB / 3.765 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/11.34, allocations: 169.8 kB / 3.765 GB, free: 44.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004558/11.34, allocations: 75.33 kB / 3.765 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.157e-05/11.34, allocations: 19.61 kB / 3.765 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006638/11.34, allocations: 1.179 MB / 3.766 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/11.34, allocations: 0 / 3.766 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003708/11.35, allocations: 2.366 MB / 3.768 GB, free: 43.36 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006746/11.35, allocations: 333.4 kB / 3.769 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/11.35, allocations: 15.69 kB / 3.769 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009758/11.35, allocations: 75.78 kB / 3.769 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/11.35, allocations: 54.66 kB / 3.769 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/11.35, allocations: 27.94 kB / 3.769 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007646/11.35, allocations: 446 kB / 3.769 GB, free: 43.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/11.35, allocations: 3.375 kB / 3.769 GB, free: 43.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006625/11.36, allocations: 1.4 MB / 3.771 GB, free: 43.1 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 () * 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.01058/11.37, allocations: 1.711 MB / 3.772 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00406/11.37, allocations: 1.273 MB / 3.773 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/11.37, allocations: 0 / 3.773 GB, free: 42.92 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001618/11.37, allocations: 0.8057 MB / 3.774 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/11.37, allocations: 335.6 kB / 3.775 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/11.38, allocations: 1.982 MB / 3.777 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/11.38, allocations: 1.158 MB / 3.778 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/11.38, allocations: 72.59 kB / 3.778 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.453e-06/11.38, allocations: 3.031 kB / 3.778 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.07797/11.46, allocations: 40.45 MB / 3.817 GB, free: 38.72 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