Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.253/1.253, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008611/0.0008613, allocations: 94.64 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1787/0.1787, allocations: 45.15 MB / 389.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.554e-05, allocations: 4 kB / 460.4 MB, free: 69.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09727/0.09732, allocations: 63.24 MB / 0.5114 GB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.749/5.846, allocations: 2.788 GB / 3.3 GB, free: 142 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/5.846, allocations: 83.52 kB / 3.3 GB, free: 142 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.493/7.34, allocations: 443.8 MB / 3.733 GB, free: 72.68 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.815e-06/7.34, allocations: 3.844 kB / 3.733 GB, free: 72.68 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.294e-05/7.34, allocations: 18.73 kB / 3.733 GB, free: 72.68 MB / 0.5417 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.006777/7.347, allocations: 1.756 MB / 3.735 GB, free: 72.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/7.347, allocations: 6.406 kB / 3.735 GB, free: 72.07 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/7.349, allocations: 335.5 kB / 3.735 GB, free: 72.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/7.35, allocations: 0.5691 MB / 3.736 GB, free: 71.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.507e-05/7.35, allocations: 46 kB / 3.736 GB, free: 71.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/7.351, allocations: 55.84 kB / 3.736 GB, free: 71.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/7.353, allocations: 0.9706 MB / 3.737 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/7.353, allocations: 8.922 kB / 3.737 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.956e-05/7.353, allocations: 26.38 kB / 3.737 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/7.353, allocations: 24.77 kB / 3.737 GB, free: 71.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/7.355, allocations: 0.8036 MB / 3.738 GB, free: 71.59 MB / 0.5417 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.00485/7.36, allocations: 4.532 MB / 3.742 GB, free: 68.36 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/7.362, allocations: 0.7276 MB / 3.743 GB, free: 68.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/7.362, allocations: 236.8 kB / 3.743 GB, free: 68.33 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09969/7.462, allocations: 62.01 MB / 3.803 GB, free: 27.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/7.462, allocations: 37.03 kB / 3.804 GB, free: 27.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 2.645e-06/7.462, allocations: 0 / 3.804 GB, free: 27.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.005432/7.467, allocations: 1.855 MB / 3.805 GB, free: 27.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/7.467, allocations: 110.7 kB / 3.805 GB, free: 27.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/7.468, allocations: 442.4 kB / 3.806 GB, free: 27.17 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/7.468, allocations: 36.83 kB / 3.806 GB, free: 27.13 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/7.468, allocations: 330.7 kB / 3.806 GB, free: 26.99 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/7.468, allocations: 177.3 kB / 3.806 GB, free: 26.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/7.468, allocations: 9.688 kB / 3.806 GB, free: 26.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.125e-05/7.469, allocations: 372.3 kB / 3.807 GB, free: 26.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/7.469, allocations: 194.1 kB / 3.807 GB, free: 26.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003539/7.469, allocations: 355.4 kB / 3.807 GB, free: 26.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003792/7.47, allocations: 236.6 kB / 3.807 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/7.47, allocations: 0 / 3.807 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001442/7.471, allocations: 0.8045 MB / 3.808 GB, free: 26.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003341/7.471, allocations: 1.749 MB / 3.81 GB, free: 24.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/7.471, allocations: 3.969 kB / 3.81 GB, free: 24.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/7.473, allocations: 390.5 kB / 3.81 GB, free: 24.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/7.474, allocations: 132 kB / 3.81 GB, free: 24.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002582/7.476, allocations: 0.8771 MB / 3.811 GB, free: 39.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/7.477, allocations: 92.3 kB / 3.811 GB, free: 39.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/7.477, allocations: 36.14 kB / 3.811 GB, free: 39.91 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/7.477, allocations: 5.312 kB / 3.811 GB, free: 39.91 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00173/7.479, allocations: 0.7649 MB / 3.812 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/7.479, allocations: 3.906 kB / 3.812 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/7.48, allocations: 291.8 kB / 3.812 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/7.481, allocations: 141.9 kB / 3.813 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009524/7.481, allocations: 0.8444 MB / 3.813 GB, free: 39.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/7.482, allocations: 90.44 kB / 3.814 GB, free: 39.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/7.482, allocations: 35.73 kB / 3.814 GB, free: 39.31 MB / 0.5573 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.0001941/7.482, allocations: 143.4 kB / 3.814 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/7.483, allocations: 64.88 kB / 3.814 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/7.485, allocations: 2.846 MB / 3.817 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/7.485, allocations: 46.83 kB / 3.817 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/7.485, allocations: 3.953 kB / 3.817 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/7.485, allocations: 7 kB / 3.817 GB, free: 38.83 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003685/7.489, allocations: 3.996 MB / 3.82 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/7.489, allocations: 3.562 kB / 3.821 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/7.49, allocations: 171.4 kB / 3.821 GB, free: 38.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/7.49, allocations: 74.25 kB / 3.821 GB, free: 38.37 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/7.49, allocations: 19.14 kB / 3.821 GB, free: 38.37 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006745/7.491, allocations: 1.175 MB / 3.822 GB, free: 37.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/7.491, allocations: 7.75 kB / 3.822 GB, free: 37.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/7.493, allocations: 2.363 MB / 3.824 GB, free: 36.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/7.493, allocations: 325 kB / 3.825 GB, free: 36.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/7.494, allocations: 20.06 kB / 3.825 GB, free: 36.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/7.494, allocations: 75.66 kB / 3.825 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/7.494, allocations: 60.34 kB / 3.825 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/7.494, allocations: 23.92 kB / 3.825 GB, free: 36.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004952/7.495, allocations: 448.8 kB / 3.825 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/7.495, allocations: 0 / 3.825 GB, free: 36.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005588/7.5, allocations: 1.413 MB / 3.827 GB, free: 36.48 MB / 0.5573 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.008277/7.509, allocations: 1.734 MB / 3.828 GB, free: 36.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00275/7.512, allocations: 1.289 MB / 3.829 GB, free: 36.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/7.512, allocations: 0 / 3.829 GB, free: 36.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/7.513, allocations: 0.8106 MB / 3.83 GB, free: 36.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/7.515, allocations: 327.8 kB / 3.831 GB, free: 36.03 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/7.518, allocations: 1.939 MB / 3.832 GB, free: 35.55 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007116/7.519, allocations: 1.168 MB / 3.834 GB, free: 34.82 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001133/7.52, allocations: 0.6884 MB / 3.834 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/7.52, allocations: 61.81 kB / 3.834 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/7.52, allocations: 0 / 3.834 GB, free: 34.79 MB / 0.5573 GB Notification: Performance of Templates: time 0.05632/7.576, allocations: 46.36 MB / 3.88 GB, free: 31.75 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches