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.001066/0.001066, allocations: 180.7 kB / 14.15 MB, free: 1.176 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.348/1.348, allocations: 221.3 MB / 236 MB, free: 2.969 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.00085/0.00085, allocations: 91.72 kB / 287 MB, free: 264 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1879/0.1879, allocations: 44.14 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.07e-05/3.074e-05, allocations: 4 kB / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1299, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.421/6.551, allocations: 2.787 GB / 3.289 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/6.552, allocations: 86.19 kB / 3.289 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.571/8.123, allocations: 444.1 MB / 3.723 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.476e-06/8.123, allocations: 0 / 3.723 GB, free: 64.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.865e-05/8.123, allocations: 25.03 kB / 3.723 GB, free: 64.68 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.006353/8.129, allocations: 1.754 MB / 3.724 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/8.129, allocations: 7.531 kB / 3.724 GB, free: 63.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/8.132, allocations: 330.3 kB / 3.725 GB, free: 63.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/8.133, allocations: 0.5702 MB / 3.725 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/8.133, allocations: 50.16 kB / 3.725 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.772e-05/8.133, allocations: 53.16 kB / 3.725 GB, free: 63.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/8.135, allocations: 0.9741 MB / 3.726 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/8.135, allocations: 7.156 kB / 3.726 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/8.135, allocations: 25.83 kB / 3.726 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/8.135, allocations: 25.06 kB / 3.726 GB, free: 63.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/8.137, allocations: 0.8116 MB / 3.727 GB, free: 63.33 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.004051/8.141, allocations: 4.545 MB / 3.732 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/8.142, allocations: 0.7373 MB / 3.732 GB, free: 60.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/8.143, allocations: 238.1 kB / 3.733 GB, free: 60.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09572/8.239, allocations: 55.76 MB / 3.787 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/8.239, allocations: 38.2 kB / 3.787 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.835e-06/8.239, allocations: 3.609 kB / 3.787 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.004805/8.243, allocations: 1.863 MB / 3.789 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/8.244, allocations: 110.2 kB / 3.789 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/8.244, allocations: 452.6 kB / 3.789 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.801e-05/8.244, allocations: 37.67 kB / 3.789 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/8.244, allocations: 333.2 kB / 3.79 GB, free: 24.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/8.244, allocations: 175.9 kB / 3.79 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/8.244, allocations: 9.25 kB / 3.79 GB, free: 24.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001205/8.245, allocations: 375.8 kB / 3.79 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/8.245, allocations: 194.4 kB / 3.79 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/8.245, allocations: 365 kB / 3.791 GB, free: 23.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/8.246, allocations: 240.4 kB / 3.791 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/8.246, allocations: 0 / 3.791 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001408/8.247, allocations: 0.8055 MB / 3.792 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003253/8.247, allocations: 1.739 MB / 3.794 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/8.247, allocations: 4.969 kB / 3.794 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001712/8.249, allocations: 406.3 kB / 3.794 GB, free: 21.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/8.25, allocations: 128 kB / 3.794 GB, free: 21.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/8.251, allocations: 0.8716 MB / 3.795 GB, free: 20.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/8.251, allocations: 89.89 kB / 3.795 GB, free: 20.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/8.251, allocations: 42.11 kB / 3.795 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/8.251, allocations: 4.562 kB / 3.795 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001766/8.253, allocations: 0.7703 MB / 3.796 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/8.253, allocations: 5.875 kB / 3.796 GB, free: 20.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/8.255, allocations: 314.1 kB / 3.796 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/8.255, allocations: 135.7 kB / 3.796 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009015/8.256, allocations: 0.8479 MB / 3.797 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/8.257, allocations: 91.2 kB / 3.797 GB, free: 19.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/8.257, allocations: 31.02 kB / 3.797 GB, free: 19.73 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.0002201/8.257, allocations: 145.3 kB / 3.797 GB, free: 19.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/8.257, allocations: 66.7 kB / 3.797 GB, free: 19.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/8.26, allocations: 2.867 MB / 3.8 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.566e-05/8.26, allocations: 40.67 kB / 3.8 GB, free: 18.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/8.26, allocations: 0 / 3.8 GB, free: 18.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/8.26, allocations: 7.094 kB / 3.8 GB, free: 18.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/8.265, allocations: 4.01 MB / 3.804 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/8.265, allocations: 0 / 3.804 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/8.265, allocations: 170.5 kB / 3.804 GB, free: 16.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002886/8.266, allocations: 74.61 kB / 3.804 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.831e-05/8.266, allocations: 19.56 kB / 3.804 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004788/8.266, allocations: 1.176 MB / 3.806 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/8.266, allocations: 0 / 3.806 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/8.268, allocations: 2.39 MB / 3.808 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/8.269, allocations: 336.6 kB / 3.808 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/8.269, allocations: 16.16 kB / 3.808 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/8.27, allocations: 80.11 kB / 3.808 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/8.27, allocations: 52.47 kB / 3.808 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/8.27, allocations: 27.7 kB / 3.808 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005271/8.27, allocations: 450.1 kB / 3.809 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/8.27, allocations: 0 / 3.809 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005904/8.276, allocations: 1.408 MB / 3.81 GB, free: 13.17 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: 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 () * 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.008084/8.284, allocations: 1.732 MB / 3.812 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002687/8.287, allocations: 1.305 MB / 3.813 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/8.287, allocations: 3.656 kB / 3.813 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001065/8.288, allocations: 0.8098 MB / 3.814 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/8.29, allocations: 328.8 kB / 3.814 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/8.292, allocations: 1.945 MB / 3.816 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/8.293, allocations: 1.172 MB / 3.817 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001137/8.294, allocations: 0.6888 MB / 3.818 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001604/8.294, allocations: 58.81 kB / 3.818 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of SimCode: time 1.933e-06/8.294, allocations: 0 / 3.818 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of Templates: time 0.405/8.699, allocations: 46.72 MB / 3.864 GB, free: 78.02 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