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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001084/0.001084, allocations: 112.1 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 210.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.09 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 75.88 kB / 482 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3265, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.04403/0.3705, allocations: 41.82 MB / 0.5725 GB, free: 7.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02336/0.3939, allocations: 19.87 MB / 0.5919 GB, free: 3.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.3951, allocations: 23.81 kB / 0.5919 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.3964, allocations: 441.2 kB / 0.5924 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01448/0.4109, allocations: 5.206 MB / 0.5975 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006659/0.4176, allocations: 2.418 MB / 0.5998 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002222/0.4198, allocations: 1.688 MB / 0.6015 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006617/0.4205, allocations: 461.7 kB / 0.6019 GB, free: 9.617 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.4218, allocations: 0.7471 MB / 0.6026 GB, free: 8.867 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007685/0.4295, allocations: 3.654 MB / 0.6062 GB, free: 5.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.4297, allocations: 68 kB / 0.6063 GB, free: 5.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.4458, allocations: 7.902 MB / 0.614 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.4461, allocations: 191.3 kB / 0.6142 GB, free: 13 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.4468, allocations: 422.1 kB / 0.6146 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.4589, allocations: 5.37 MB / 0.6198 GB, free: 7.199 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4589, allocations: 3.938 kB / 0.6198 GB, free: 7.195 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.459, allocations: 0 / 0.6198 GB, free: 7.195 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.459, allocations: 4 kB / 0.6198 GB, free: 7.191 MB / 478.1 MB 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.003766/0.4627, allocations: 1.733 MB / 0.6215 GB, free: 5.402 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4628, allocations: 8.031 kB / 0.6215 GB, free: 5.395 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.465, allocations: 304.1 kB / 0.6218 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/0.4658, allocations: 0.5642 MB / 0.6224 GB, free: 4.496 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.4659, allocations: 49.25 kB / 0.6224 GB, free: 4.445 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.069e-05/0.466, allocations: 64 kB / 0.6225 GB, free: 4.383 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/0.4682, allocations: 0.975 MB / 0.6234 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.4683, allocations: 0 / 0.6234 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.545e-05/0.4683, allocations: 28 kB / 0.6234 GB, free: 3.32 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.4684, allocations: 25 kB / 0.6235 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.4707, allocations: 0.8701 MB / 0.6243 GB, free: 2.426 MB / 478.1 MB 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.004577/0.4753, allocations: 4.546 MB / 0.6288 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.4777, allocations: 0.7693 MB / 0.6295 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.4783, allocations: 317.5 kB / 0.6298 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1099/0.5882, allocations: 62.33 MB / 0.6907 GB, free: 6.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.5883, allocations: 42.94 kB / 0.6907 GB, free: 6.098 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.314e-06/0.5883, allocations: 0 / 0.6907 GB, free: 6.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.006819/0.5951, allocations: 2.234 MB / 0.6929 GB, free: 3.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.5953, allocations: 115.2 kB / 0.693 GB, free: 3.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/0.5961, allocations: 0.5029 MB / 0.6935 GB, free: 3.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.5962, allocations: 33.7 kB / 0.6935 GB, free: 3.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.5965, allocations: 328.9 kB / 0.6938 GB, free: 2.793 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.5967, allocations: 190.4 kB / 0.694 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/0.597, allocations: 138.2 kB / 0.6942 GB, free: 2.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5971, allocations: 370.8 kB / 0.6945 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.5978, allocations: 279.3 kB / 0.6948 GB, free: 1.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.5986, allocations: 433.8 kB / 0.6952 GB, free: 1.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.6, allocations: 0.6909 MB / 0.6959 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6001, allocations: 0 / 0.6959 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002374/0.6024, allocations: 0.9676 MB / 0.6968 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6025, allocations: 8 kB / 0.6968 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.6025, allocations: 4 kB / 0.6968 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/0.6047, allocations: 444.7 kB / 0.6972 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.6051, allocations: 131.8 kB / 0.6974 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.6066, allocations: 0.8997 MB / 0.6983 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005671/0.6071, allocations: 48 kB / 0.6983 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/0.6072, allocations: 39.92 kB / 0.6983 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007937/0.608, allocations: 409.2 kB / 0.6987 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007561/0.6088, allocations: 434.7 kB / 0.6991 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00135/0.6102, allocations: 0.6682 MB / 0.6998 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.6102, allocations: 0 / 0.6998 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002167/0.6123, allocations: 0.9172 MB / 0.7007 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.6124, allocations: 19.97 kB / 0.7007 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.6124, allocations: 4 kB / 0.7007 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00149/0.6139, allocations: 336.6 kB / 0.701 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.6144, allocations: 131.8 kB / 0.7012 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.6156, allocations: 0.8798 MB / 0.702 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.6162, allocations: 39.97 kB / 0.7021 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/0.6162, allocations: 35.98 kB / 0.7021 GB, free: 9.988 MB / 0.5606 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 (pump.heatTransfer.states[1].phase,Sink.medium.phase,Source.medium.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.6165, allocations: 230.8 kB / 0.7023 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.6167, allocations: 67.61 kB / 0.7024 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.6205, allocations: 2.882 MB / 0.7052 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.6205, allocations: 3.984 kB / 0.7052 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.6205, allocations: 4 kB / 0.7052 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.6208, allocations: 279.7 kB / 0.7055 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.621, allocations: 31.78 kB / 0.7055 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.6215, allocations: 67.86 kB / 0.7056 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.6216, allocations: 52.48 kB / 0.7056 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002749/0.6244, allocations: 1.731 MB / 0.7073 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003242/0.6277, allocations: 2.526 MB / 0.7098 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009778/0.6286, allocations: 0.7751 MB / 0.7105 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005624/0.6292, allocations: 467 kB / 0.711 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of Backend: time 4.11e-07/0.6292, allocations: 0 / 0.711 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009707/0.6389, allocations: 2.618 MB / 0.7135 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003543/0.6425, allocations: 2.497 MB / 0.716 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.3153/0.9578, allocations: 56.62 MB / 0.7713 GB, free: 158.2 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches