Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 176.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 241 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 99.94 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3961/0.3961, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 12 kB / 459.9 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4498, allocations: 61.89 MB / 0.5096 GB, free: 38.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.632/8.082, allocations: 2.787 GB / 3.297 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/8.083, allocations: 90.55 kB / 3.297 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/9.613, allocations: 445 MB / 3.731 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.783e-06/9.613, allocations: 0 / 3.731 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.053e-05/9.613, allocations: 18.41 kB / 3.731 GB, free: 58.91 MB / 0.5261 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.007106/9.62, allocations: 1.836 MB / 3.733 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/9.62, allocations: 11.34 kB / 3.733 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/9.623, allocations: 323.5 kB / 3.734 GB, free: 58.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/9.624, allocations: 0.57 MB / 3.734 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/9.624, allocations: 44.81 kB / 3.734 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/9.624, allocations: 65.78 kB / 3.734 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/9.626, allocations: 1.001 MB / 3.735 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/9.626, allocations: 3.219 kB / 3.735 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.002e-05/9.626, allocations: 23.88 kB / 3.735 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-05/9.627, allocations: 22.38 kB / 3.735 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002364/9.629, allocations: 0.9113 MB / 3.736 GB, free: 57.68 MB / 0.5261 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.00471/9.634, allocations: 4.523 MB / 3.741 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/9.636, allocations: 0.8041 MB / 3.741 GB, free: 54.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09207/9.728, allocations: 55.56 MB / 3.796 GB, free: 35.97 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/9.728, allocations: 45.61 kB / 3.796 GB, free: 35.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.046e-06/9.728, allocations: 0 / 3.796 GB, free: 35.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006615/9.735, allocations: 2.242 MB / 3.798 GB, free: 35.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/9.735, allocations: 119.1 kB / 3.798 GB, free: 35.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/9.735, allocations: 454.7 kB / 3.798 GB, free: 35.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/9.736, allocations: 37.17 kB / 3.798 GB, free: 35.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/9.736, allocations: 318.9 kB / 3.799 GB, free: 35.05 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/9.736, allocations: 186.1 kB / 3.799 GB, free: 34.94 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/9.736, allocations: 14.62 kB / 3.799 GB, free: 34.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001583/9.736, allocations: 368.5 kB / 3.799 GB, free: 34.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/9.737, allocations: 267.6 kB / 3.8 GB, free: 34.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/9.737, allocations: 434.7 kB / 3.8 GB, free: 34.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/9.738, allocations: 308.8 kB / 3.8 GB, free: 34.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/9.738, allocations: 0 / 3.8 GB, free: 34.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002012/9.74, allocations: 0.9648 MB / 3.801 GB, free: 34.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006527/9.74, allocations: 1.742 MB / 3.803 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/9.74, allocations: 6.094 kB / 3.803 GB, free: 32.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001935/9.742, allocations: 431.8 kB / 3.803 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/9.743, allocations: 129.7 kB / 3.803 GB, free: 32.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/9.744, allocations: 0.9227 MB / 3.804 GB, free: 31.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000764/9.745, allocations: 89.64 kB / 3.804 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.902e-05/9.745, allocations: 36.84 kB / 3.804 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-06/9.745, allocations: 3.219 kB / 3.804 GB, free: 31.92 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002395/9.748, allocations: 0.9245 MB / 3.805 GB, free: 31.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/9.748, allocations: 5.969 kB / 3.805 GB, free: 31.88 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/9.749, allocations: 340.7 kB / 3.806 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/9.75, allocations: 139.2 kB / 3.806 GB, free: 31.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/9.751, allocations: 0.8866 MB / 3.807 GB, free: 31.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007164/9.752, allocations: 89.61 kB / 3.807 GB, free: 31.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/9.752, allocations: 36.58 kB / 3.807 GB, free: 31.31 MB / 0.5417 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.0004915/9.752, allocations: 287 kB / 3.807 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/9.752, allocations: 66.8 kB / 3.807 GB, free: 31.09 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003147/9.755, allocations: 2.902 MB / 3.81 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/9.755, allocations: 44.36 kB / 3.81 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/9.755, allocations: 0 / 3.81 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/9.755, allocations: 3.469 kB / 3.81 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/9.76, allocations: 4.076 MB / 3.814 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/9.76, allocations: 0 / 3.814 GB, free: 30.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/9.76, allocations: 167.9 kB / 3.814 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003367/9.761, allocations: 81.19 kB / 3.814 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/9.761, allocations: 18.27 kB / 3.814 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006968/9.761, allocations: 1.179 MB / 3.815 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/9.761, allocations: 3.172 kB / 3.815 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/9.765, allocations: 2.569 MB / 3.818 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005997/9.765, allocations: 332.8 kB / 3.818 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/9.765, allocations: 11.56 kB / 3.818 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/9.766, allocations: 72.94 kB / 3.818 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/9.766, allocations: 55.52 kB / 3.818 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/9.766, allocations: 21.52 kB / 3.818 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000549/9.767, allocations: 473.7 kB / 3.819 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/9.767, allocations: 0 / 3.819 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006091/9.773, allocations: 1.403 MB / 3.82 GB, free: 28.38 MB / 0.5417 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.008107/9.781, allocations: 1.732 MB / 3.822 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003582/9.784, allocations: 1.479 MB / 3.823 GB, free: 27.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/9.784, allocations: 0 / 3.823 GB, free: 27.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/9.786, allocations: 0.8574 MB / 3.824 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/9.787, allocations: 314.3 kB / 3.824 GB, free: 27.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/9.791, allocations: 3.13 MB / 3.828 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/9.792, allocations: 1.162 MB / 3.829 GB, free: 25.79 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001054/9.793, allocations: 0.6567 MB / 3.829 GB, free: 25.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/9.793, allocations: 72.3 kB / 3.829 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/9.793, allocations: 0 / 3.829 GB, free: 25.75 MB / 0.5417 GB Notification: Performance of Templates: time 0.0714/9.864, allocations: 43.72 MB / 3.872 GB, free: 13.5 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches