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.00148/0.00148, allocations: 177.8 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 88.69 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2845/0.2845, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.635e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3887, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.94/8.329, allocations: 2.781 GB / 3.247 GB, free: 7.492 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/8.329, allocations: 89.94 kB / 3.247 GB, free: 7.441 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.572/10.9, allocations: 434.8 MB / 3.672 GB, free: 57.61 MB / 0.4952 GB Notification: Performance of FrontEnd: time 2.354e-06/10.9, allocations: 0 / 3.672 GB, free: 57.61 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 8.372e-05/10.9, allocations: 15.72 kB / 3.672 GB, free: 57.61 MB / 0.4952 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.008674/10.91, allocations: 1.745 MB / 3.673 GB, free: 56.89 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/10.91, allocations: 7.625 kB / 3.673 GB, free: 56.89 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/10.91, allocations: 331.3 kB / 3.674 GB, free: 56.85 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/10.91, allocations: 0.5694 MB / 3.674 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/10.92, allocations: 26.66 kB / 3.674 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/10.92, allocations: 32.88 kB / 3.674 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/10.92, allocations: 0.5402 MB / 3.675 GB, free: 56.61 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/10.92, allocations: 0.6687 MB / 3.675 GB, free: 56.41 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/10.92, allocations: 0 / 3.675 GB, free: 56.41 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.171e-05/10.92, allocations: 3.406 kB / 3.675 GB, free: 56.41 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/10.92, allocations: 21.81 kB / 3.675 GB, free: 56.41 MB / 0.4952 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.03016/10.95, allocations: 12.01 MB / 3.687 GB, free: 48.71 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/10.95, allocations: 454.7 kB / 3.688 GB, free: 48.69 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/10.95, allocations: 232.1 kB / 3.688 GB, free: 48.68 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1697/11.12, allocations: 55.75 MB / 3.742 GB, free: 30.04 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/11.12, allocations: 37.62 kB / 3.742 GB, free: 30 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=47): time 2.735e-06/11.12, allocations: 0 / 3.742 GB, free: 30 MB / 0.5108 GB Notification: Performance of matching and sorting (n=51): time 0.008976/11.13, allocations: 1.812 MB / 3.744 GB, free: 29.6 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/11.13, allocations: 112.5 kB / 3.744 GB, free: 29.47 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006348/11.13, allocations: 375.9 kB / 3.745 GB, free: 29.36 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/11.13, allocations: 29.42 kB / 3.745 GB, free: 29.32 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/11.13, allocations: 368.4 kB / 3.745 GB, free: 29.08 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/11.13, allocations: 167.6 kB / 3.745 GB, free: 28.97 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/11.13, allocations: 4 kB / 3.745 GB, free: 28.96 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0001558/11.13, allocations: 335.4 kB / 3.745 GB, free: 28.65 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/11.13, allocations: 189.5 kB / 3.746 GB, free: 28.65 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005537/11.13, allocations: 357.1 kB / 3.746 GB, free: 28.47 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/11.13, allocations: 325.3 kB / 3.746 GB, free: 28.46 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/11.13, allocations: 4 kB / 3.746 GB, free: 28.46 MB / 0.5108 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003232/11.14, allocations: 0.8075 MB / 3.747 GB, free: 28.39 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007624/11.14, allocations: 1.743 MB / 3.749 GB, free: 26.56 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/11.14, allocations: 3.844 kB / 3.749 GB, free: 26.56 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/11.14, allocations: 297.1 kB / 3.749 GB, free: 26.55 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009523/11.14, allocations: 136 kB / 3.749 GB, free: 26.54 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/11.14, allocations: 0.9686 MB / 3.75 GB, free: 26.01 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/11.14, allocations: 91.5 kB / 3.75 GB, free: 25.99 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/11.14, allocations: 34.08 kB / 3.75 GB, free: 25.99 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/11.14, allocations: 3.969 kB / 3.75 GB, free: 25.99 MB / 0.5108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002751/11.15, allocations: 0.6797 MB / 3.751 GB, free: 25.96 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/11.15, allocations: 6.031 kB / 3.751 GB, free: 25.96 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/11.15, allocations: 273.2 kB / 3.751 GB, free: 25.95 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000924/11.15, allocations: 138.9 kB / 3.751 GB, free: 25.95 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/11.15, allocations: 0.8599 MB / 3.752 GB, free: 25.41 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/11.15, allocations: 69.84 kB / 3.752 GB, free: 25.41 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.361e-05/11.15, allocations: 34.88 kB / 3.752 GB, free: 25.41 MB / 0.5108 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.0003081/11.15, allocations: 121 kB / 3.752 GB, free: 25.3 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/11.15, allocations: 64.36 kB / 3.752 GB, free: 25.26 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/11.16, allocations: 2.63 MB / 3.755 GB, free: 24.95 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.016e-05/11.16, allocations: 36.05 kB / 3.755 GB, free: 24.95 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/11.16, allocations: 0 / 3.755 GB, free: 24.95 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/11.16, allocations: 3.656 kB / 3.755 GB, free: 24.95 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/11.16, allocations: 3.614 MB / 3.759 GB, free: 24.54 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/11.16, allocations: 5.312 kB / 3.759 GB, free: 24.54 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/11.17, allocations: 170 kB / 3.759 GB, free: 24.53 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000334/11.17, allocations: 65.34 kB / 3.759 GB, free: 24.52 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/11.17, allocations: 10.86 kB / 3.759 GB, free: 24.52 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009936/11.17, allocations: 1.204 MB / 3.76 GB, free: 23.41 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/11.17, allocations: 0 / 3.76 GB, free: 23.41 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/11.17, allocations: 2.258 MB / 3.762 GB, free: 23.14 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/11.17, allocations: 323.2 kB / 3.762 GB, free: 22.95 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/11.17, allocations: 3.594 kB / 3.762 GB, free: 22.95 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/11.17, allocations: 61.72 kB / 3.763 GB, free: 22.94 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/11.17, allocations: 56.53 kB / 3.763 GB, free: 22.94 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/11.17, allocations: 22.19 kB / 3.763 GB, free: 22.94 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0006599/11.17, allocations: 389.6 kB / 3.763 GB, free: 22.84 MB / 0.5108 GB Notification: Performance of sort global known variables: time 4.71e-07/11.17, allocations: 3.719 kB / 3.763 GB, free: 22.84 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.007038/11.18, allocations: 1.352 MB / 3.764 GB, free: 22.64 MB / 0.5108 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse16.phase,$cse16.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 (65): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.01151/11.19, allocations: 1.814 MB / 3.766 GB, free: 22.25 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.00384/11.2, allocations: 1.183 MB / 3.767 GB, free: 22.23 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/11.2, allocations: 0.5 kB / 3.767 GB, free: 22.23 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/11.2, allocations: 0.755 MB / 3.768 GB, free: 22.23 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/11.2, allocations: 271.5 kB / 3.768 GB, free: 22.21 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/11.2, allocations: 1.847 MB / 3.77 GB, free: 21.7 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007854/11.21, allocations: 1.148 MB / 3.771 GB, free: 20.97 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/11.21, allocations: 64.08 kB / 3.771 GB, free: 20.96 MB / 0.5108 GB Notification: Performance of SimCode: time 1.042e-06/11.21, allocations: 0 / 3.771 GB, free: 20.96 MB / 0.5108 GB Notification: Performance of Templates: time 0.08159/11.29, allocations: 40.41 MB / 3.811 GB, free: 10.85 MB / 0.5108 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