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.001482/0.001481, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 96.75 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3236/0.3236, allocations: 45.22 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 4 kB / 468.4 MB, free: 7.758 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3265, allocations: 63.25 MB / 0.5192 GB, free: 43.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.251/5.578, allocations: 2.788 GB / 3.307 GB, free: 153.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/5.578, allocations: 92.14 kB / 3.308 GB, free: 153.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.685/7.263, allocations: 445.4 MB / 3.743 GB, free: 66.27 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/7.263, allocations: 3.938 kB / 3.743 GB, free: 66.27 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.594e-05/7.263, allocations: 18.83 kB / 3.743 GB, free: 66.27 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.00809/7.271, allocations: 1.843 MB / 3.744 GB, free: 65.55 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/7.271, allocations: 11.16 kB / 3.744 GB, free: 65.55 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/7.274, allocations: 326.6 kB / 3.745 GB, free: 65.51 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/7.276, allocations: 0.5669 MB / 3.745 GB, free: 65.28 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/7.276, allocations: 48.69 kB / 3.745 GB, free: 65.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/7.276, allocations: 65.06 kB / 3.745 GB, free: 65.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/7.279, allocations: 1.003 MB / 3.746 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/7.279, allocations: 10.86 kB / 3.746 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/7.279, allocations: 28.09 kB / 3.746 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/7.279, allocations: 21.39 kB / 3.746 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002485/7.281, allocations: 0.9139 MB / 3.747 GB, free: 65.07 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.004773/7.286, allocations: 4.524 MB / 3.752 GB, free: 61.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/7.288, allocations: 0.814 MB / 3.752 GB, free: 61.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0988/7.387, allocations: 61.81 MB / 3.813 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.876e-05/7.387, allocations: 47.69 kB / 3.813 GB, free: 37.16 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.377e-06/7.387, allocations: 0 / 3.813 GB, free: 37.16 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.007172/7.395, allocations: 2.267 MB / 3.815 GB, free: 36.74 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/7.395, allocations: 106.4 kB / 3.815 GB, free: 36.61 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/7.395, allocations: 455.1 kB / 3.816 GB, free: 36.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/7.395, allocations: 38.48 kB / 3.816 GB, free: 36.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/7.396, allocations: 327.6 kB / 3.816 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/7.396, allocations: 178 kB / 3.816 GB, free: 36.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/7.396, allocations: 14.56 kB / 3.816 GB, free: 36.19 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001445/7.396, allocations: 370.8 kB / 3.817 GB, free: 35.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/7.397, allocations: 267.1 kB / 3.817 GB, free: 35.87 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/7.397, allocations: 436.4 kB / 3.817 GB, free: 35.69 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/7.398, allocations: 310.8 kB / 3.818 GB, free: 35.67 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/7.398, allocations: 0 / 3.818 GB, free: 35.67 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00215/7.4, allocations: 0.9656 MB / 3.818 GB, free: 35.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006976/7.401, allocations: 1.752 MB / 3.82 GB, free: 33.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/7.401, allocations: 10.5 kB / 3.82 GB, free: 33.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/7.403, allocations: 428.4 kB / 3.821 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004646/7.403, allocations: 140.3 kB / 3.821 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/7.405, allocations: 0.9102 MB / 3.822 GB, free: 33.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008432/7.406, allocations: 92.47 kB / 3.822 GB, free: 33.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/7.406, allocations: 41.59 kB / 3.822 GB, free: 33.17 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/7.406, allocations: 3.719 kB / 3.822 GB, free: 33.17 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002487/7.408, allocations: 0.9347 MB / 3.823 GB, free: 33.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/7.408, allocations: 6 kB / 3.823 GB, free: 33.13 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/7.41, allocations: 350.7 kB / 3.823 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/7.41, allocations: 138.4 kB / 3.823 GB, free: 33.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/7.412, allocations: 0.8894 MB / 3.824 GB, free: 32.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007458/7.412, allocations: 89.22 kB / 3.824 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/7.412, allocations: 37.67 kB / 3.824 GB, free: 32.57 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.0004965/7.413, allocations: 294.2 kB / 3.824 GB, free: 32.37 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/7.413, allocations: 66.03 kB / 3.824 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0034/7.416, allocations: 2.922 MB / 3.827 GB, free: 32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/7.416, allocations: 42.06 kB / 3.827 GB, free: 32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/7.417, allocations: 3.719 kB / 3.827 GB, free: 32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/7.417, allocations: 3.516 kB / 3.827 GB, free: 32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/7.422, allocations: 4.092 MB / 3.831 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/7.422, allocations: 0 / 3.831 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/7.423, allocations: 168 kB / 3.832 GB, free: 31.54 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003341/7.423, allocations: 77.34 kB / 3.832 GB, free: 31.53 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.318e-05/7.423, allocations: 19.72 kB / 3.832 GB, free: 31.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006517/7.424, allocations: 1.183 MB / 3.833 GB, free: 30.42 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/7.424, allocations: 0 / 3.833 GB, free: 30.42 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/7.427, allocations: 2.582 MB / 3.835 GB, free: 30.12 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000539/7.428, allocations: 334 kB / 3.836 GB, free: 29.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/7.428, allocations: 13.31 kB / 3.836 GB, free: 29.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/7.428, allocations: 68.39 kB / 3.836 GB, free: 29.92 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/7.429, allocations: 58.8 kB / 3.836 GB, free: 29.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/7.429, allocations: 22.11 kB / 3.836 GB, free: 29.92 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000689/7.429, allocations: 464.5 kB / 3.836 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.01e-07/7.429, allocations: 0 / 3.836 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00694/7.436, allocations: 1.426 MB / 3.838 GB, free: 29.62 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.01123/7.448, allocations: 1.752 MB / 3.839 GB, free: 29.23 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00413/7.452, allocations: 1.494 MB / 3.841 GB, free: 29.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/7.452, allocations: 0 / 3.841 GB, free: 29.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/7.453, allocations: 0.8763 MB / 3.842 GB, free: 29.17 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/7.455, allocations: 323 kB / 3.842 GB, free: 29.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/7.46, allocations: 3.117 MB / 3.845 GB, free: 27.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008559/7.46, allocations: 1.169 MB / 3.846 GB, free: 27.03 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001205/7.462, allocations: 0.6636 MB / 3.847 GB, free: 27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/7.462, allocations: 64.98 kB / 3.847 GB, free: 27 MB / 0.5573 GB Notification: Performance of SimCode: time 2.013e-06/7.462, allocations: 0 / 3.847 GB, free: 27 MB / 0.5573 GB Notification: Performance of Templates: time 0.05909/7.521, allocations: 44.09 MB / 3.89 GB, free: 22.65 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/jenkins/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