Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 196.5 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 226.5 MB / 245.4 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009707/0.000971, allocations: 102 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4647/0.4647, allocations: 44.82 MB / 394.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004025, allocations: 12 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4992, allocations: 62.96 MB / 0.5184 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.255/7.754, allocations: 2.789 GB / 3.307 GB, free: 163.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/7.754, allocations: 87.62 kB / 3.307 GB, free: 163.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.425/9.18, allocations: 425.6 MB / 3.723 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.016e-06/9.18, allocations: 0 / 3.723 GB, free: 68.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.856e-05/9.18, allocations: 21.48 kB / 3.723 GB, free: 68.91 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.006505/9.186, allocations: 1.842 MB / 3.724 GB, free: 68.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/9.186, allocations: 11.45 kB / 3.725 GB, free: 68.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/9.189, allocations: 328.1 kB / 3.725 GB, free: 68.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/9.19, allocations: 0.5904 MB / 3.725 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.137e-05/9.19, allocations: 53.81 kB / 3.725 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/9.19, allocations: 52.56 kB / 3.725 GB, free: 67.95 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/9.192, allocations: 1.009 MB / 3.726 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/9.192, allocations: 8.312 kB / 3.726 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.699e-05/9.192, allocations: 30.03 kB / 3.727 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.989e-05/9.192, allocations: 20.47 kB / 3.727 GB, free: 67.75 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/9.195, allocations: 0.9062 MB / 3.727 GB, free: 67.75 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.004428/9.199, allocations: 4.535 MB / 3.732 GB, free: 64.52 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/9.201, allocations: 0.8179 MB / 3.733 GB, free: 64.49 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/9.202, allocations: 305.3 kB / 3.733 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09835/9.3, allocations: 61.81 MB / 3.793 GB, free: 39.92 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/9.3, allocations: 41.67 kB / 3.793 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 1.953e-06/9.3, allocations: 0 / 3.793 GB, free: 39.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.006323/9.307, allocations: 2.27 MB / 3.796 GB, free: 39.46 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/9.307, allocations: 111 kB / 3.796 GB, free: 39.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006455/9.307, allocations: 0.5102 MB / 3.796 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.502e-05/9.307, allocations: 35.14 kB / 3.796 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/9.308, allocations: 324.2 kB / 3.797 GB, free: 39.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/9.308, allocations: 179.2 kB / 3.797 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/9.308, allocations: 16.34 kB / 3.797 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001541/9.308, allocations: 374.8 kB / 3.797 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005656/9.308, allocations: 266.1 kB / 3.797 GB, free: 38.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/9.309, allocations: 438 kB / 3.798 GB, free: 38.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/9.31, allocations: 0.6788 MB / 3.798 GB, free: 38.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/9.31, allocations: 2.875 kB / 3.798 GB, free: 38.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002106/9.312, allocations: 0.9647 MB / 3.799 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001338/9.313, allocations: 224.5 kB / 3.8 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/9.313, allocations: 7.156 kB / 3.8 GB, free: 37.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/9.315, allocations: 449.8 kB / 3.8 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/9.315, allocations: 138.5 kB / 3.8 GB, free: 37.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/9.317, allocations: 0.9182 MB / 3.801 GB, free: 37.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/9.317, allocations: 98.2 kB / 3.801 GB, free: 37.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/9.317, allocations: 36.73 kB / 3.801 GB, free: 37.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/9.317, allocations: 3.812 kB / 3.801 GB, free: 37.33 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002525/9.32, allocations: 0.9342 MB / 3.802 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/9.32, allocations: 3.656 kB / 3.802 GB, free: 37.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/9.322, allocations: 361.2 kB / 3.802 GB, free: 37.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/9.322, allocations: 133.8 kB / 3.803 GB, free: 37.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/9.323, allocations: 0.8955 MB / 3.803 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000716/9.324, allocations: 91.75 kB / 3.803 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/9.324, allocations: 34.58 kB / 3.804 GB, free: 36.72 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0004425/9.325, allocations: 281.8 kB / 3.804 GB, free: 36.53 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/9.325, allocations: 65.16 kB / 3.804 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/9.328, allocations: 2.919 MB / 3.807 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.405e-05/9.328, allocations: 45.7 kB / 3.807 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/9.328, allocations: 0 / 3.807 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/9.328, allocations: 3.703 kB / 3.807 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/9.333, allocations: 4.097 MB / 3.811 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/9.333, allocations: 0 / 3.811 GB, free: 35.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/9.333, allocations: 172.9 kB / 3.811 GB, free: 35.69 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/9.334, allocations: 70.94 kB / 3.811 GB, free: 35.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.744e-05/9.334, allocations: 16.22 kB / 3.811 GB, free: 35.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007304/9.334, allocations: 1.182 MB / 3.812 GB, free: 34.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/9.334, allocations: 0 / 3.812 GB, free: 34.57 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/9.337, allocations: 2.576 MB / 3.815 GB, free: 34.29 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/9.338, allocations: 341.3 kB / 3.815 GB, free: 34.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.282e-05/9.338, allocations: 12.56 kB / 3.815 GB, free: 34.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/9.338, allocations: 75.34 kB / 3.815 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/9.339, allocations: 55.53 kB / 3.815 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/9.339, allocations: 26.86 kB / 3.815 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006064/9.339, allocations: 461.5 kB / 3.816 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/9.339, allocations: 0 / 3.816 GB, free: 33.98 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006313/9.346, allocations: 1.42 MB / 3.817 GB, free: 33.78 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,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.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 (68): * Single equations (assignments): 53 * 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.007821/9.353, allocations: 1.747 MB / 3.819 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003376/9.357, allocations: 1.498 MB / 3.82 GB, free: 33.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/9.357, allocations: 4.844 kB / 3.82 GB, free: 33.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/9.358, allocations: 0.8688 MB / 3.821 GB, free: 33.33 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/9.36, allocations: 330.2 kB / 3.821 GB, free: 33.31 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/9.364, allocations: 3.13 MB / 3.824 GB, free: 31.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/9.364, allocations: 1.14 MB / 3.825 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001046/9.365, allocations: 0.6646 MB / 3.826 GB, free: 31.16 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/9.366, allocations: 65.11 kB / 3.826 GB, free: 31.15 MB / 0.5573 GB Notification: Performance of SimCode: time 7.71e-07/9.366, allocations: 4 kB / 3.826 GB, free: 31.14 MB / 0.5573 GB Notification: Performance of Templates: time 0.06031/9.426, allocations: 46.53 MB / 3.872 GB, free: 28.58 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches