Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001662, allocations: 196.9 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.58/1.58, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001075/0.001075, allocations: 108.2 kB / 297.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4804/0.4804, allocations: 44.83 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003938, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4839, allocations: 62.96 MB / 0.5184 GB, free: 37.37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.094/8.578, allocations: 2.788 GB / 3.307 GB, free: 164.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/8.579, allocations: 90.94 kB / 3.307 GB, free: 164.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.743/10.32, allocations: 425.1 MB / 3.722 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.214e-06/10.32, allocations: 0 / 3.722 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.044e-05/10.32, allocations: 19.98 kB / 3.722 GB, free: 68.71 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.007345/10.33, allocations: 1.84 MB / 3.724 GB, free: 68.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/10.33, allocations: 11.03 kB / 3.724 GB, free: 68.05 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002501/10.33, allocations: 328 kB / 3.724 GB, free: 68.01 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/10.33, allocations: 0.5813 MB / 3.725 GB, free: 67.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/10.33, allocations: 53.16 kB / 3.725 GB, free: 67.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-05/10.33, allocations: 52.62 kB / 3.725 GB, free: 67.76 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/10.34, allocations: 0.9991 MB / 3.726 GB, free: 67.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/10.34, allocations: 6.75 kB / 3.726 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.14e-05/10.34, allocations: 23.06 kB / 3.726 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.348e-05/10.34, allocations: 25.69 kB / 3.726 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/10.34, allocations: 0.9027 MB / 3.727 GB, free: 67.56 MB / 0.5417 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.004791/10.34, allocations: 4.454 MB / 3.731 GB, free: 64.47 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/10.34, allocations: 0.7895 MB / 3.732 GB, free: 64.45 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/10.35, allocations: 293.4 kB / 3.732 GB, free: 64.44 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1058/10.45, allocations: 61.81 MB / 3.793 GB, free: 39.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/10.45, allocations: 39.75 kB / 3.793 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/10.45, allocations: 0 / 3.793 GB, free: 39.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.006885/10.46, allocations: 2.351 MB / 3.795 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/10.46, allocations: 109.5 kB / 3.795 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006684/10.46, allocations: 0.5283 MB / 3.796 GB, free: 39.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.018e-05/10.46, allocations: 39.89 kB / 3.796 GB, free: 39.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/10.46, allocations: 329.3 kB / 3.796 GB, free: 38.91 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/10.46, allocations: 176 kB / 3.796 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/10.46, allocations: 10.19 kB / 3.796 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001782/10.46, allocations: 372.3 kB / 3.796 GB, free: 38.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005533/10.46, allocations: 263 kB / 3.797 GB, free: 38.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/10.46, allocations: 434.8 kB / 3.797 GB, free: 38.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/10.46, allocations: 0.6783 MB / 3.798 GB, free: 38.11 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/10.46, allocations: 0 / 3.798 GB, free: 38.11 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002372/10.46, allocations: 0.9945 MB / 3.799 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001809/10.46, allocations: 234.2 kB / 3.799 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/10.46, allocations: 3.906 kB / 3.799 GB, free: 37.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/10.47, allocations: 489.8 kB / 3.799 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004448/10.47, allocations: 129.1 kB / 3.8 GB, free: 37.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/10.47, allocations: 0.9282 MB / 3.8 GB, free: 37.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007887/10.47, allocations: 85.88 kB / 3.801 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/10.47, allocations: 42.73 kB / 3.801 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/10.47, allocations: 5.438 kB / 3.801 GB, free: 37.18 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/10.47, allocations: 0.8515 MB / 3.801 GB, free: 37.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/10.47, allocations: 7.75 kB / 3.801 GB, free: 37.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/10.47, allocations: 319.9 kB / 3.802 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/10.47, allocations: 141.5 kB / 3.802 GB, free: 37.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/10.47, allocations: 0.8807 MB / 3.803 GB, free: 36.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007311/10.47, allocations: 84.73 kB / 3.803 GB, free: 36.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/10.47, allocations: 37.34 kB / 3.803 GB, free: 36.57 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005278/10.48, allocations: 278.1 kB / 3.803 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/10.48, allocations: 72.12 kB / 3.803 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003336/10.48, allocations: 2.76 MB / 3.806 GB, free: 36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/10.48, allocations: 34.16 kB / 3.806 GB, free: 36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/10.48, allocations: 3.797 kB / 3.806 GB, free: 36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/10.48, allocations: 0 / 3.806 GB, free: 36 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/10.48, allocations: 3.834 MB / 3.81 GB, free: 35.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/10.48, allocations: 0 / 3.81 GB, free: 35.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/10.48, allocations: 151.1 kB / 3.81 GB, free: 35.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/10.48, allocations: 108.6 kB / 3.81 GB, free: 35.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/10.48, allocations: 17.41 kB / 3.81 GB, free: 35.51 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008676/10.49, allocations: 1.133 MB / 3.811 GB, free: 34.47 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/10.49, allocations: 1.375 kB / 3.811 GB, free: 34.47 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/10.49, allocations: 2.297 MB / 3.813 GB, free: 34.18 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/10.49, allocations: 366.1 kB / 3.814 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/10.49, allocations: 15.12 kB / 3.814 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/10.49, allocations: 77.17 kB / 3.814 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/10.49, allocations: 59.17 kB / 3.814 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.392e-05/10.49, allocations: 23.42 kB / 3.814 GB, free: 33.96 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007741/10.49, allocations: 0.562 MB / 3.814 GB, free: 33.86 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/10.49, allocations: 6.25 kB / 3.814 GB, free: 33.86 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007086/10.5, allocations: 1.429 MB / 3.816 GB, free: 33.67 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009765/10.51, allocations: 1.735 MB / 3.817 GB, free: 33.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003284/10.51, allocations: 1.414 MB / 3.819 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/10.51, allocations: 0 / 3.819 GB, free: 33.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/10.51, allocations: 0.7475 MB / 3.82 GB, free: 33.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/10.51, allocations: 344.7 kB / 3.82 GB, free: 33.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/10.52, allocations: 2.965 MB / 3.823 GB, free: 31.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006768/10.52, allocations: 1.134 MB / 3.824 GB, free: 31.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001276/10.52, allocations: 0.6678 MB / 3.825 GB, free: 31.07 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/10.52, allocations: 66.75 kB / 3.825 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/10.52, allocations: 0 / 3.825 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of Templates: time 0.06421/10.58, allocations: 46.64 MB / 3.87 GB, free: 28.46 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches