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.001164/0.001164, allocations: 177 kB / 17.06 MB, free: 5.094 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.489/1.489, allocations: 223.2 MB / 241 MB, free: 11.88 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.001114/0.001114, allocations: 79.98 kB / 292.1 MB, free: 10.93 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.4048/0.4048, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4655/0.4658, allocations: 61.9 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.469, allocations: 2.787 GB / 3.297 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/6.469, allocations: 95 kB / 3.297 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.413/7.882, allocations: 445.4 MB / 3.732 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/7.882, allocations: 0 / 3.732 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.667e-05/7.882, allocations: 22.03 kB / 3.732 GB, free: 59.14 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.008552/7.891, allocations: 1.838 MB / 3.734 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/7.891, allocations: 8.656 kB / 3.734 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/7.894, allocations: 328.2 kB / 3.734 GB, free: 58.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/7.895, allocations: 0.5745 MB / 3.735 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.893e-05/7.895, allocations: 51.34 kB / 3.735 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/7.895, allocations: 52.66 kB / 3.735 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/7.898, allocations: 1.013 MB / 3.736 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/7.898, allocations: 3.188 kB / 3.736 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/7.898, allocations: 25.19 kB / 3.736 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.192e-05/7.898, allocations: 24.97 kB / 3.736 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/7.901, allocations: 0.9112 MB / 3.737 GB, free: 57.89 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.006034/7.907, allocations: 4.536 MB / 3.741 GB, free: 54.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002671/7.91, allocations: 0.8158 MB / 3.742 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09505/8.005, allocations: 55.56 MB / 3.796 GB, free: 36.19 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.762e-05/8.005, allocations: 41.08 kB / 3.796 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 3.617e-06/8.005, allocations: 0 / 3.796 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.007921/8.013, allocations: 2.27 MB / 3.798 GB, free: 35.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/8.013, allocations: 106.9 kB / 3.798 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/8.014, allocations: 453.4 kB / 3.799 GB, free: 35.47 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/8.014, allocations: 38.97 kB / 3.799 GB, free: 35.44 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/8.014, allocations: 320.8 kB / 3.799 GB, free: 35.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/8.014, allocations: 180.9 kB / 3.799 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/8.014, allocations: 14.41 kB / 3.799 GB, free: 35.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000184/8.015, allocations: 373.3 kB / 3.8 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/8.015, allocations: 267.4 kB / 3.8 GB, free: 34.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/8.016, allocations: 431.7 kB / 3.8 GB, free: 34.65 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007049/8.017, allocations: 321.8 kB / 3.801 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/8.017, allocations: 0 / 3.801 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002466/8.019, allocations: 0.9608 MB / 3.802 GB, free: 34.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007682/8.02, allocations: 1.743 MB / 3.803 GB, free: 32.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/8.02, allocations: 3.906 kB / 3.803 GB, free: 32.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/8.022, allocations: 436.1 kB / 3.804 GB, free: 32.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/8.023, allocations: 129.8 kB / 3.804 GB, free: 32.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/8.024, allocations: 0.9231 MB / 3.805 GB, free: 32.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009904/8.025, allocations: 96.7 kB / 3.805 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/8.026, allocations: 36.33 kB / 3.805 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/8.026, allocations: 4.75 kB / 3.805 GB, free: 32.13 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002735/8.028, allocations: 0.9328 MB / 3.806 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/8.028, allocations: 3.375 kB / 3.806 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001767/8.03, allocations: 358.8 kB / 3.806 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/8.031, allocations: 132.7 kB / 3.806 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/8.032, allocations: 0.8932 MB / 3.807 GB, free: 31.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009035/8.033, allocations: 90.66 kB / 3.807 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.111e-05/8.033, allocations: 35.98 kB / 3.807 GB, free: 31.52 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 (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.0006686/8.034, allocations: 288.8 kB / 3.808 GB, free: 31.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/8.034, allocations: 67.2 kB / 3.808 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/8.038, allocations: 2.916 MB / 3.81 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-05/8.038, allocations: 46.14 kB / 3.81 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/8.038, allocations: 0 / 3.81 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/8.038, allocations: 2.766 kB / 3.81 GB, free: 30.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005571/8.044, allocations: 4.088 MB / 3.814 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/8.044, allocations: 0 / 3.814 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/8.044, allocations: 174.8 kB / 3.815 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003657/8.045, allocations: 77.77 kB / 3.815 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.534e-05/8.045, allocations: 15.36 kB / 3.815 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007358/8.045, allocations: 1.181 MB / 3.816 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/8.046, allocations: 3.844 kB / 3.816 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003422/8.049, allocations: 2.585 MB / 3.818 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006826/8.05, allocations: 332.9 kB / 3.819 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/8.05, allocations: 13.95 kB / 3.819 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006925/8.051, allocations: 75.06 kB / 3.819 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/8.051, allocations: 57.64 kB / 3.819 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-05/8.051, allocations: 26.38 kB / 3.819 GB, free: 28.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006691/8.051, allocations: 460.4 kB / 3.819 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/8.051, allocations: 4 kB / 3.819 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007131/8.059, allocations: 1.414 MB / 3.821 GB, free: 28.59 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,$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.01045/8.069, allocations: 1.738 MB / 3.822 GB, free: 28.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003941/8.073, allocations: 1.495 MB / 3.824 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/8.073, allocations: 2.375 kB / 3.824 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/8.074, allocations: 0.8645 MB / 3.825 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/8.076, allocations: 332.3 kB / 3.825 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/8.081, allocations: 3.126 MB / 3.828 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/8.082, allocations: 1.17 MB / 3.829 GB, free: 25.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001187/8.083, allocations: 0.6471 MB / 3.83 GB, free: 25.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/8.083, allocations: 72.69 kB / 3.83 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/8.083, allocations: 0 / 3.83 GB, free: 25.96 MB / 0.5417 GB Notification: Performance of Templates: time 0.06681/8.15, allocations: 44.03 MB / 3.873 GB, free: 13.3 MB / 0.5417 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