Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 221.5 MB / 230.7 MB, free: 7.551 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008989/0.000899, allocations: 91.12 kB / 281.6 MB, free: 5.305 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.2065/0.2065, allocations: 44.15 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.542e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1484, allocations: 61.92 MB / 0.4947 GB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.873/8.022, allocations: 2.787 GB / 3.281 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/8.022, allocations: 85.69 kB / 3.281 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.783/9.805, allocations: 439.8 MB / 3.711 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/9.805, allocations: 0 / 3.711 GB, free: 76.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.154e-05/9.805, allocations: 25.05 kB / 3.711 GB, free: 76.59 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.007657/9.813, allocations: 1.746 MB / 3.713 GB, free: 75.91 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/9.813, allocations: 15.77 kB / 3.713 GB, free: 75.91 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002866/9.816, allocations: 335.2 kB / 3.713 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/9.818, allocations: 0.5661 MB / 3.713 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/9.818, allocations: 23.19 kB / 3.713 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/9.818, allocations: 31.31 kB / 3.713 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001293/9.819, allocations: 0.5497 MB / 3.714 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/9.821, allocations: 0.669 MB / 3.715 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/9.821, allocations: 0 / 3.715 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-05/9.821, allocations: 7.406 kB / 3.715 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/9.821, allocations: 24.77 kB / 3.715 GB, free: 75.43 MB / 0.5261 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.02199/9.843, allocations: 12.02 MB / 3.726 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/9.844, allocations: 482.2 kB / 3.727 GB, free: 67.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/9.844, allocations: 224.5 kB / 3.727 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1/9.944, allocations: 55.76 MB / 3.782 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/9.944, allocations: 39.88 kB / 3.782 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.334e-06/9.944, allocations: 0 / 3.782 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51): time 0.006683/9.951, allocations: 1.84 MB / 3.783 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/9.951, allocations: 112.5 kB / 3.784 GB, free: 32.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/9.952, allocations: 379.2 kB / 3.784 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/9.952, allocations: 25.7 kB / 3.784 GB, free: 32.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/9.952, allocations: 335.9 kB / 3.784 GB, free: 32.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/9.952, allocations: 166 kB / 3.784 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/9.952, allocations: 0 / 3.784 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001103/9.952, allocations: 370.6 kB / 3.785 GB, free: 31.81 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003002/9.953, allocations: 193.9 kB / 3.785 GB, free: 31.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/9.953, allocations: 353.8 kB / 3.785 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/9.954, allocations: 326.9 kB / 3.786 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/9.954, allocations: 0 / 3.786 GB, free: 31.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002149/9.956, allocations: 0.8354 MB / 3.786 GB, free: 31.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005073/9.957, allocations: 1.749 MB / 3.788 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/9.957, allocations: 3.688 kB / 3.788 GB, free: 29.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/9.958, allocations: 301 kB / 3.788 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/9.959, allocations: 138.8 kB / 3.789 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001507/9.96, allocations: 0.9515 MB / 3.789 GB, free: 29.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009476/9.961, allocations: 85.83 kB / 3.79 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.534e-05/9.961, allocations: 38.61 kB / 3.79 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/9.961, allocations: 3.781 kB / 3.79 GB, free: 29.14 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001911/9.963, allocations: 0.694 MB / 3.79 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/9.963, allocations: 3.375 kB / 3.79 GB, free: 29.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/9.965, allocations: 295.9 kB / 3.791 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/9.965, allocations: 134.3 kB / 3.791 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/9.966, allocations: 0.8742 MB / 3.792 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000813/9.967, allocations: 69.23 kB / 3.792 GB, free: 28.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-05/9.967, allocations: 36 kB / 3.792 GB, free: 28.55 MB / 0.5261 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 (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.0002411/9.967, allocations: 123.2 kB / 3.792 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/9.967, allocations: 63.62 kB / 3.792 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003447/9.971, allocations: 2.638 MB / 3.794 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.225e-05/9.971, allocations: 43.53 kB / 3.794 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/9.971, allocations: 0 / 3.794 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/9.971, allocations: 6.938 kB / 3.794 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/9.975, allocations: 3.624 MB / 3.798 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.974e-06/9.975, allocations: 0 / 3.798 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007187/9.976, allocations: 169.3 kB / 3.798 GB, free: 27.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/9.976, allocations: 73.66 kB / 3.798 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/9.976, allocations: 7.25 kB / 3.798 GB, free: 27.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005263/9.977, allocations: 1.207 MB / 3.799 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/9.977, allocations: 192 / 3.799 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/9.98, allocations: 2.272 MB / 3.802 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004943/9.98, allocations: 318.2 kB / 3.802 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/9.98, allocations: 7.047 kB / 3.802 GB, free: 26.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/9.981, allocations: 62.61 kB / 3.802 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/9.981, allocations: 57.66 kB / 3.802 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/9.981, allocations: 26.23 kB / 3.802 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004356/9.982, allocations: 396.5 kB / 3.802 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/9.982, allocations: 0 / 3.802 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006076/9.988, allocations: 1.354 MB / 3.804 GB, free: 25.78 MB / 0.5261 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: 23 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.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 (66): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00896/9.997, allocations: 1.827 MB / 3.806 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002659/9.999, allocations: 1.22 MB / 3.807 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/9.999, allocations: 2.344 kB / 3.807 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/10, allocations: 0.7473 MB / 3.807 GB, free: 25.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/10, allocations: 288.2 kB / 3.808 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/10.01, allocations: 1.822 MB / 3.81 GB, free: 24.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/10.01, allocations: 1.151 MB / 3.811 GB, free: 24.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001247/10.01, allocations: 0.6933 MB / 3.811 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/10.01, allocations: 56.45 kB / 3.811 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/10.01, allocations: 2.734 kB / 3.811 GB, free: 24.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.05748/10.06, allocations: 39.28 MB / 3.85 GB, free: 6.789 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches