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.001104/0.001104, allocations: 114.6 kB / 18.46 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.001222/0.001222, allocations: 212 kB / 19.41 MB, free: 3.672 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.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2162/0.2162, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3501, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.0426/0.3927, allocations: 41.82 MB / 0.5725 GB, free: 7.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02382/0.4166, allocations: 19.88 MB / 0.5919 GB, free: 3.855 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009014/0.4175, allocations: 19.88 kB / 0.5919 GB, free: 3.836 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.4189, allocations: 445.2 kB / 0.5924 GB, free: 3.398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01428/0.4332, allocations: 5.184 MB / 0.5974 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006545/0.4397, allocations: 2.422 MB / 0.5998 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002452/0.4422, allocations: 1.68 MB / 0.6014 GB, free: 10.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008863/0.4431, allocations: 453.7 kB / 0.6019 GB, free: 9.637 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.4447, allocations: 0.755 MB / 0.6026 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00735/0.452, allocations: 3.654 MB / 0.6062 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.4523, allocations: 64 kB / 0.6062 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01706/0.4693, allocations: 7.902 MB / 0.6139 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.4697, allocations: 195.3 kB / 0.6141 GB, free: 13.01 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007234/0.4704, allocations: 422.1 kB / 0.6145 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.483, allocations: 5.352 MB / 0.6198 GB, free: 7.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.483, allocations: 0 / 0.6198 GB, free: 7.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.483, allocations: 0 / 0.6198 GB, free: 7.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.575e-05/0.4831, allocations: 0 / 0.6198 GB, free: 7.23 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.004932/0.488, allocations: 1.684 MB / 0.6214 GB, free: 5.496 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4881, allocations: 8.031 kB / 0.6214 GB, free: 5.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002426/0.4905, allocations: 307.7 kB / 0.6217 GB, free: 5.188 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.4916, allocations: 0.556 MB / 0.6222 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/0.4917, allocations: 57.25 kB / 0.6223 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.4918, allocations: 52 kB / 0.6224 GB, free: 4.484 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/0.4942, allocations: 0.975 MB / 0.6233 GB, free: 3.449 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.4943, allocations: 3.984 kB / 0.6233 GB, free: 3.445 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.4944, allocations: 28 kB / 0.6233 GB, free: 3.418 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.983e-05/0.4944, allocations: 24.98 kB / 0.6234 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.4969, allocations: 0.8701 MB / 0.6242 GB, free: 2.523 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.005192/0.5021, allocations: 4.541 MB / 0.6286 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.5048, allocations: 0.7693 MB / 0.6294 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.5054, allocations: 317.7 kB / 0.6297 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1154/0.6208, allocations: 62.33 MB / 0.6906 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.6209, allocations: 38.98 kB / 0.6906 GB, free: 6.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.966e-06/0.6209, allocations: 0 / 0.6906 GB, free: 6.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.006974/0.6279, allocations: 2.221 MB / 0.6928 GB, free: 3.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.628, allocations: 107.2 kB / 0.6929 GB, free: 3.801 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007046/0.6287, allocations: 0.5067 MB / 0.6934 GB, free: 3.281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.673e-05/0.6288, allocations: 37.7 kB / 0.6934 GB, free: 3.238 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.629, allocations: 324.2 kB / 0.6937 GB, free: 2.918 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.6292, allocations: 181.4 kB / 0.6939 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.6294, allocations: 142.2 kB / 0.694 GB, free: 2.594 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6296, allocations: 366.8 kB / 0.6944 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.6303, allocations: 279.3 kB / 0.6946 GB, free: 1.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/0.6312, allocations: 437.8 kB / 0.6951 GB, free: 1.457 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.6326, allocations: 0.6869 MB / 0.6957 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.6326, allocations: 4 kB / 0.6957 GB, free: 0.707 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002443/0.6351, allocations: 0.9635 MB / 0.6967 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.6351, allocations: 8 kB / 0.6967 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.6351, allocations: 4 kB / 0.6967 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/0.6374, allocations: 444.5 kB / 0.6971 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005065/0.6379, allocations: 127.8 kB / 0.6972 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.6395, allocations: 0.8996 MB / 0.6981 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005875/0.6401, allocations: 51.94 kB / 0.6982 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.6401, allocations: 35.92 kB / 0.6982 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008504/0.641, allocations: 421.2 kB / 0.6986 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007669/0.6418, allocations: 430.6 kB / 0.699 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001397/0.6432, allocations: 0.6683 MB / 0.6997 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.6432, allocations: 0 / 0.6997 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002268/0.6455, allocations: 0.9165 MB / 0.7006 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6455, allocations: 10.12 kB / 0.7006 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6455, allocations: 8 kB / 0.7006 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.6471, allocations: 333 kB / 0.7009 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004894/0.6476, allocations: 135.8 kB / 0.701 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.6488, allocations: 0.8762 MB / 0.7019 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.6494, allocations: 48.02 kB / 0.7019 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.6494, allocations: 35.98 kB / 0.702 GB, free: 10.11 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.0002462/0.6497, allocations: 234.3 kB / 0.7022 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.6499, allocations: 63.25 kB / 0.7022 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.6537, allocations: 2.862 MB / 0.705 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.6537, allocations: 3.984 kB / 0.705 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6537, allocations: 4 kB / 0.705 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.6541, allocations: 279 kB / 0.7053 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.6542, allocations: 27.83 kB / 0.7053 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005451/0.6548, allocations: 55.94 kB / 0.7054 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.6549, allocations: 64.36 kB / 0.7054 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002868/0.6578, allocations: 1.727 MB / 0.7071 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003452/0.6613, allocations: 2.513 MB / 0.7096 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001049/0.6623, allocations: 0.783 MB / 0.7104 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006269/0.663, allocations: 471 kB / 0.7108 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of Backend: time 4.11e-07/0.663, allocations: 0 / 0.7108 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009707/0.6727, allocations: 2.606 MB / 0.7133 GB, free: 14.37 MB / 0.5763 GB Notification: Performance of SimCode: time 0.003661/0.6764, allocations: 2.45 MB / 0.7157 GB, free: 11.88 MB / 0.5763 GB Notification: Performance of Templates: time 0.3111/0.9874, allocations: 57.28 MB / 0.7717 GB, free: 157.6 MB / 0.5763 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