Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 71.83 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3225, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.04593/0.3685, allocations: 38.28 MB / 0.5992 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.3945, allocations: 17.83 MB / 0.6166 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000863/0.3953, allocations: 27.75 kB / 0.6166 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.3965, allocations: 393.3 kB / 0.617 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01525/0.4118, allocations: 5.196 MB / 0.6221 GB, free: 6.285 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006784/0.4185, allocations: 2.407 MB / 0.6245 GB, free: 3.879 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002506/0.4211, allocations: 1.7 MB / 0.6261 GB, free: 2.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.4217, allocations: 401.9 kB / 0.6265 GB, free: 1.766 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.4231, allocations: 0.7511 MB / 0.6272 GB, free: 1.012 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007193/0.4302, allocations: 3.693 MB / 0.6308 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.4304, allocations: 64 kB / 0.6309 GB, free: 13.2 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01486/0.4453, allocations: 7.761 MB / 0.6385 GB, free: 5.438 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.4456, allocations: 203.2 kB / 0.6387 GB, free: 5.238 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000523/0.4461, allocations: 350.5 kB / 0.639 GB, free: 4.895 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01143/0.4575, allocations: 5.338 MB / 0.6442 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4575, allocations: 0 / 0.6442 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4575, allocations: 0 / 0.6442 GB, free: 15.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.4576, allocations: 0 / 0.6442 GB, free: 15.54 MB / 494.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.004296/0.4619, allocations: 1.654 MB / 0.6458 GB, free: 13.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4619, allocations: 8.031 kB / 0.6458 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002272/0.4642, allocations: 304.2 kB / 0.6461 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4653, allocations: 0.4908 MB / 0.6466 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.785e-05/0.4653, allocations: 61.25 kB / 0.6467 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.4655, allocations: 52 kB / 0.6467 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.4681, allocations: 1.172 MB / 0.6479 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.4681, allocations: 3.984 kB / 0.6479 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.921e-05/0.4682, allocations: 31.98 kB / 0.6479 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.001e-05/0.4682, allocations: 21 kB / 0.6479 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/0.4707, allocations: 0.8623 MB / 0.6488 GB, free: 10.72 MB / 494.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.004644/0.4754, allocations: 3.002 MB / 0.6517 GB, free: 7.621 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.4779, allocations: 0.7303 MB / 0.6524 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/0.4786, allocations: 294 kB / 0.6527 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1079/0.5864, allocations: 30.67 MB / 0.6826 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.5865, allocations: 39 kB / 0.6827 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 4.218e-06/0.5865, allocations: 0 / 0.6827 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52): time 0.007191/0.5937, allocations: 2.139 MB / 0.6848 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.5938, allocations: 119.2 kB / 0.6849 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.5944, allocations: 473.8 kB / 0.6853 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/0.5945, allocations: 33.7 kB / 0.6854 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.5948, allocations: 340.6 kB / 0.6857 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.5949, allocations: 182.4 kB / 0.6859 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.5952, allocations: 142.2 kB / 0.686 GB, free: 4.344 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.5954, allocations: 362.8 kB / 0.6863 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007212/0.5961, allocations: 283.2 kB / 0.6866 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008902/0.597, allocations: 485.2 kB / 0.6871 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.5985, allocations: 0.6859 MB / 0.6877 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5985, allocations: 0 / 0.6877 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002435/0.601, allocations: 0.9543 MB / 0.6887 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.601, allocations: 8 kB / 0.6887 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.601, allocations: 4 kB / 0.6887 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002189/0.6032, allocations: 436.8 kB / 0.6891 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.6037, allocations: 131.8 kB / 0.6892 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.6052, allocations: 0.903 MB / 0.6901 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.6057, allocations: 52 kB / 0.6902 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.6058, allocations: 35.98 kB / 0.6902 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008834/0.6067, allocations: 413.2 kB / 0.6906 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008397/0.6075, allocations: 482 kB / 0.691 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001447/0.609, allocations: 0.6712 MB / 0.6917 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.735e-06/0.609, allocations: 0 / 0.6917 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002285/0.6113, allocations: 0.9037 MB / 0.6926 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.6113, allocations: 11.94 kB / 0.6926 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.6113, allocations: 4 kB / 0.6926 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/0.6128, allocations: 352.9 kB / 0.6929 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.6133, allocations: 127.8 kB / 0.6931 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.6145, allocations: 0.8748 MB / 0.6939 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.615, allocations: 48.02 kB / 0.694 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.546e-05/0.6151, allocations: 35.98 kB / 0.694 GB, free: 11.78 MB / 0.5294 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.0002432/0.6153, allocations: 222.7 kB / 0.6942 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.6155, allocations: 59.62 kB / 0.6943 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004234/0.6197, allocations: 2.98 MB / 0.6972 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.6197, allocations: 0 / 0.6972 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6197, allocations: 3.984 kB / 0.6972 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.6201, allocations: 190.7 kB / 0.6974 GB, free: 8.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.6202, allocations: 31.78 kB / 0.6974 GB, free: 8.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.6207, allocations: 63.92 kB / 0.6974 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.6208, allocations: 60.48 kB / 0.6975 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002967/0.6238, allocations: 1.755 MB / 0.6992 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003669/0.6275, allocations: 2.597 MB / 0.7018 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009692/0.6284, allocations: 0.6273 MB / 0.7024 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005519/0.629, allocations: 431 kB / 0.7028 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of Backend: time 3.81e-07/0.629, allocations: 0 / 0.7028 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008751/0.6378, allocations: 2.528 MB / 0.7052 GB, free: 192 kB / 0.5294 GB Notification: Performance of SimCode: time 0.003649/0.6414, allocations: 2.473 MB / 0.7077 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Templates: time 0.3025/0.9439, allocations: 57.01 MB / 0.7633 GB, free: 147.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.94148762599798]