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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 112.8 kB / 17.09 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 200.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2056/0.2056, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 67.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1145, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.04557/0.1601, allocations: 41.63 MB / 0.5292 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2648/0.4249, allocations: 19.85 MB / 0.5486 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008924/0.4259, allocations: 20.69 kB / 0.5486 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.427, allocations: 445.9 kB / 0.549 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01505/0.4421, allocations: 5.157 MB / 0.5541 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00638/0.4485, allocations: 2.403 MB / 0.5564 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.4516, allocations: 1.674 MB / 0.5581 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007521/0.4523, allocations: 462.4 kB / 0.5585 GB, free: 1.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.4537, allocations: 0.7478 MB / 0.5592 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006393/0.4601, allocations: 3.656 MB / 0.5628 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.4602, allocations: 65.09 kB / 0.5629 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0166/0.4768, allocations: 7.928 MB / 0.5706 GB, free: 13.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.4771, allocations: 195.7 kB / 0.5708 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.4777, allocations: 419.9 kB / 0.5712 GB, free: 13.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.4886, allocations: 5.331 MB / 0.5764 GB, free: 10.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4887, allocations: 7.094 kB / 0.5764 GB, free: 10.23 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4887, allocations: 0 / 0.5764 GB, free: 10.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.506e-05/0.4887, allocations: 0 / 0.5764 GB, free: 10.23 MB / 430.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.004859/0.4936, allocations: 1.684 MB / 0.578 GB, free: 9.047 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4936, allocations: 11.55 kB / 0.5781 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.4962, allocations: 305.1 kB / 0.5784 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.4976, allocations: 0.5585 MB / 0.5789 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.4977, allocations: 51.97 kB / 0.5789 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.4978, allocations: 61.41 kB / 0.579 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.5003, allocations: 0.9719 MB / 0.58 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.5004, allocations: 2.688 kB / 0.58 GB, free: 7.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.5005, allocations: 23.06 kB / 0.58 GB, free: 7.762 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.254e-05/0.5005, allocations: 24.05 kB / 0.58 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.5029, allocations: 0.869 MB / 0.5809 GB, free: 7.348 MB / 430.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.004961/0.5079, allocations: 4.552 MB / 0.5853 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.5104, allocations: 0.7576 MB / 0.586 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.511, allocations: 313.9 kB / 0.5863 GB, free: 1.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.106/0.617, allocations: 56.03 MB / 0.6411 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.6171, allocations: 39 kB / 0.6411 GB, free: 2.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 4.709e-06/0.6171, allocations: 0 / 0.6411 GB, free: 2.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=52): time 0.00707/0.6242, allocations: 2.213 MB / 0.6433 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.6243, allocations: 115.2 kB / 0.6434 GB, free: 400 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/0.625, allocations: 0.5066 MB / 0.6439 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.368e-05/0.6251, allocations: 37.7 kB / 0.6439 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.6253, allocations: 324.2 kB / 0.6442 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.6255, allocations: 182.2 kB / 0.6444 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.6258, allocations: 134.2 kB / 0.6445 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6259, allocations: 370.8 kB / 0.6449 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006486/0.6266, allocations: 279.3 kB / 0.6451 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007581/0.6273, allocations: 437.8 kB / 0.6455 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.6287, allocations: 0.687 MB / 0.6462 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.6287, allocations: 0 / 0.6462 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002342/0.6311, allocations: 0.9674 MB / 0.6472 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.6311, allocations: 10.66 kB / 0.6472 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.6311, allocations: 4 kB / 0.6472 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/0.6334, allocations: 439.5 kB / 0.6476 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.6339, allocations: 131.8 kB / 0.6477 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.6354, allocations: 0.9111 MB / 0.6486 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/0.6361, allocations: 51.94 kB / 0.6487 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/0.6362, allocations: 31.98 kB / 0.6487 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008415/0.637, allocations: 421.2 kB / 0.6491 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007818/0.6378, allocations: 428 kB / 0.6495 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001377/0.6392, allocations: 0.6694 MB / 0.6501 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.619e-06/0.6392, allocations: 4 kB / 0.6502 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002205/0.6414, allocations: 0.9088 MB / 0.651 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.6415, allocations: 8 kB / 0.651 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6415, allocations: 11.92 kB / 0.6511 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.6431, allocations: 341 kB / 0.6514 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.6436, allocations: 131.8 kB / 0.6515 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.6448, allocations: 0.8723 MB / 0.6524 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.6455, allocations: 48.02 kB / 0.6524 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.6455, allocations: 35.98 kB / 0.6524 GB, free: 6.734 MB / 0.4981 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.0002763/0.6458, allocations: 224 kB / 0.6527 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.646, allocations: 63.25 kB / 0.6527 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.6501, allocations: 2.873 MB / 0.6555 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6501, allocations: 3.984 kB / 0.6555 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.6501, allocations: 8 kB / 0.6555 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.6505, allocations: 275 kB / 0.6558 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.6507, allocations: 27.75 kB / 0.6558 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.6512, allocations: 59.92 kB / 0.6559 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.6514, allocations: 52.48 kB / 0.6559 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002782/0.6542, allocations: 1.723 MB / 0.6576 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003302/0.6575, allocations: 2.517 MB / 0.6601 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009542/0.6585, allocations: 0.779 MB / 0.6608 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005792/0.659, allocations: 471 kB / 0.6613 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of Backend: time 4.2e-07/0.6591, allocations: 0 / 0.6613 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009748/0.6688, allocations: 2.595 MB / 0.6638 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003359/0.6722, allocations: 2.459 MB / 0.6662 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of Templates: time 0.08115/0.7533, allocations: 57.11 MB / 0.722 GB, free: 15.57 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches