Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009004/0.0009004, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000929/0.0009293, allocations: 80.06 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2209/0.2209, allocations: 43.48 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.743e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1346, allocations: 58.86 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.669/6.803, allocations: 2.781 GB / 3.247 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/6.804, allocations: 92.42 kB / 3.247 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.428/8.231, allocations: 435.2 MB / 3.672 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.044e-06/8.231, allocations: 0 / 3.672 GB, free: 44.72 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.34e-05/8.231, allocations: 21.48 kB / 3.672 GB, free: 44.7 MB / 0.4948 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.007024/8.238, allocations: 1.748 MB / 3.674 GB, free: 43.06 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/8.239, allocations: 12.03 kB / 3.674 GB, free: 43.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002775/8.241, allocations: 328.8 kB / 3.674 GB, free: 42.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/8.243, allocations: 0.5685 MB / 3.675 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/8.243, allocations: 24 kB / 3.675 GB, free: 42.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/8.243, allocations: 32 kB / 3.675 GB, free: 42.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/8.244, allocations: 0.5503 MB / 3.675 GB, free: 41.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/8.245, allocations: 0.6666 MB / 3.676 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/8.245, allocations: 0 / 3.676 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/8.245, allocations: 4 kB / 3.676 GB, free: 41.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/8.245, allocations: 29.25 kB / 3.676 GB, free: 41.06 MB / 0.4948 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.01982/8.265, allocations: 12.02 MB / 3.688 GB, free: 28.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009442/8.266, allocations: 476.9 kB / 3.688 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/8.267, allocations: 230.1 kB / 3.688 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4214/8.688, allocations: 55.73 MB / 3.743 GB, free: 64.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/8.688, allocations: 38.09 kB / 3.743 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/8.688, allocations: 2.344 kB / 3.743 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.006447/8.694, allocations: 1.835 MB / 3.745 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/8.695, allocations: 109.8 kB / 3.745 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/8.695, allocations: 377 kB / 3.745 GB, free: 64.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/8.695, allocations: 29.55 kB / 3.745 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/8.695, allocations: 331 kB / 3.745 GB, free: 63.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/8.696, allocations: 170.4 kB / 3.746 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/8.696, allocations: 1.969 kB / 3.746 GB, free: 63.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001315/8.696, allocations: 365.1 kB / 3.746 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/8.696, allocations: 192.4 kB / 3.746 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000509/8.697, allocations: 358.9 kB / 3.746 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/8.698, allocations: 326.4 kB / 3.747 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/8.698, allocations: 1.969 kB / 3.747 GB, free: 63.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002218/8.7, allocations: 0.8339 MB / 3.748 GB, free: 63.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003451/8.701, allocations: 1.746 MB / 3.749 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/8.701, allocations: 4.719 kB / 3.749 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/8.702, allocations: 300.6 kB / 3.75 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/8.702, allocations: 139.1 kB / 3.75 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/8.704, allocations: 0.9467 MB / 3.751 GB, free: 60.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/8.704, allocations: 83.77 kB / 3.751 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.18e-05/8.704, allocations: 36.84 kB / 3.751 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/8.704, allocations: 7.594 kB / 3.751 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001803/8.706, allocations: 0.6949 MB / 3.751 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/8.706, allocations: 4.188 kB / 3.751 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/8.708, allocations: 300.9 kB / 3.752 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/8.708, allocations: 137.8 kB / 3.752 GB, free: 60.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/8.709, allocations: 0.8722 MB / 3.753 GB, free: 60.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/8.71, allocations: 79.19 kB / 3.753 GB, free: 60.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/8.71, allocations: 34.56 kB / 3.753 GB, free: 60.39 MB / 0.5105 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.0001717/8.71, allocations: 125.4 kB / 3.753 GB, free: 60.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/8.71, allocations: 60.92 kB / 3.753 GB, free: 60.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/8.713, allocations: 2.633 MB / 3.756 GB, free: 60 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-05/8.713, allocations: 44.31 kB / 3.756 GB, free: 60 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/8.713, allocations: 4.125 kB / 3.756 GB, free: 60 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/8.713, allocations: 3.234 kB / 3.756 GB, free: 60 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/8.717, allocations: 3.618 MB / 3.759 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/8.717, allocations: 3.422 kB / 3.759 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006766/8.718, allocations: 168.6 kB / 3.759 GB, free: 59.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/8.718, allocations: 71.89 kB / 3.759 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/8.718, allocations: 7.609 kB / 3.759 GB, free: 59.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004714/8.718, allocations: 1.211 MB / 3.761 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/8.718, allocations: 0 / 3.761 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/8.721, allocations: 2.271 MB / 3.763 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/8.721, allocations: 321.9 kB / 3.763 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.379e-05/8.721, allocations: 11.66 kB / 3.763 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/8.722, allocations: 59.28 kB / 3.763 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/8.722, allocations: 61.38 kB / 3.763 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/8.722, allocations: 23.39 kB / 3.763 GB, free: 58.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003736/8.722, allocations: 387.6 kB / 3.764 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.293e-06/8.722, allocations: 2.281 kB / 3.764 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005588/8.728, allocations: 1.36 MB / 3.765 GB, free: 57.97 MB / 0.5105 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.005559/8.733, allocations: 1.82 MB / 3.767 GB, free: 57.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002244/8.736, allocations: 1.229 MB / 3.768 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/8.736, allocations: 0 / 3.768 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009033/8.737, allocations: 0.7448 MB / 3.769 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/8.738, allocations: 286.4 kB / 3.769 GB, free: 57.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/8.74, allocations: 1.829 MB / 3.771 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/8.741, allocations: 1.154 MB / 3.772 GB, free: 56.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009452/8.742, allocations: 0.6871 MB / 3.772 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/8.742, allocations: 57.23 kB / 3.773 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of SimCode: time 2.6e-07/8.742, allocations: 3.812 kB / 3.773 GB, free: 56.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.05076/8.793, allocations: 39.19 MB / 3.811 GB, free: 54.65 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches