Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 114.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 210.8 kB / 19.42 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.1 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 79.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3174, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04011/0.3575, allocations: 41.82 MB / 0.5725 GB, free: 7.805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.3802, allocations: 19.87 MB / 0.5919 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007691/0.381, allocations: 15.88 kB / 0.5919 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3822, allocations: 453.2 kB / 0.5924 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01264/0.3948, allocations: 5.194 MB / 0.5974 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006134/0.401, allocations: 2.441 MB / 0.5998 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001983/0.403, allocations: 1.673 MB / 0.6015 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005846/0.4036, allocations: 457.7 kB / 0.6019 GB, free: 9.629 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.4048, allocations: 0.7472 MB / 0.6026 GB, free: 8.879 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007507/0.4123, allocations: 3.654 MB / 0.6062 GB, free: 5.172 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.4124, allocations: 64 kB / 0.6063 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01456/0.427, allocations: 7.828 MB / 0.6139 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.4274, allocations: 195.3 kB / 0.6141 GB, free: 13.08 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007517/0.4281, allocations: 422 kB / 0.6145 GB, free: 12.67 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.4398, allocations: 5.335 MB / 0.6197 GB, free: 7.32 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4399, allocations: 4 kB / 0.6197 GB, free: 7.316 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4399, allocations: 0 / 0.6197 GB, free: 7.316 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.181e-05/0.4399, allocations: 0 / 0.6197 GB, free: 7.316 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.004848/0.4448, allocations: 1.729 MB / 0.6214 GB, free: 5.531 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4448, allocations: 8.922 kB / 0.6214 GB, free: 5.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.4472, allocations: 308.2 kB / 0.6217 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009174/0.4481, allocations: 0.5603 MB / 0.6222 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.4482, allocations: 53.25 kB / 0.6223 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.4483, allocations: 59.98 kB / 0.6223 GB, free: 4.512 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/0.4507, allocations: 0.9633 MB / 0.6233 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.4507, allocations: 4 kB / 0.6233 GB, free: 3.484 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.4508, allocations: 24 kB / 0.6233 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.37e-05/0.4508, allocations: 24.98 kB / 0.6233 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.4532, allocations: 0.8623 MB / 0.6242 GB, free: 2.574 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.005434/0.4587, allocations: 4.538 MB / 0.6286 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.4611, allocations: 0.761 MB / 0.6294 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006428/0.4618, allocations: 306 kB / 0.6296 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1103/0.5721, allocations: 62.33 MB / 0.6905 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.5722, allocations: 43 kB / 0.6906 GB, free: 6.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.006e-06/0.5722, allocations: 0 / 0.6906 GB, free: 6.273 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.006985/0.5792, allocations: 2.21 MB / 0.6927 GB, free: 4.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.5793, allocations: 111.2 kB / 0.6928 GB, free: 3.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.58, allocations: 0.5067 MB / 0.6933 GB, free: 3.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.58, allocations: 37.7 kB / 0.6934 GB, free: 3.312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.5803, allocations: 320.9 kB / 0.6937 GB, free: 2.996 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.5804, allocations: 202.2 kB / 0.6938 GB, free: 2.797 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002133/0.5806, allocations: 138.2 kB / 0.694 GB, free: 2.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5808, allocations: 370.8 kB / 0.6943 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.5815, allocations: 271.2 kB / 0.6946 GB, free: 2.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007811/0.5823, allocations: 441.8 kB / 0.695 GB, free: 1.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.5837, allocations: 0.6753 MB / 0.6957 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.5837, allocations: 7.938 kB / 0.6957 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002369/0.586, allocations: 0.964 MB / 0.6966 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5861, allocations: 8.062 kB / 0.6966 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5861, allocations: 8 kB / 0.6966 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/0.5884, allocations: 452.3 kB / 0.6971 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004641/0.5889, allocations: 119.8 kB / 0.6972 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5903, allocations: 0.9231 MB / 0.6981 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.5909, allocations: 47.95 kB / 0.6981 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.92e-05/0.591, allocations: 35.92 kB / 0.6982 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008028/0.5918, allocations: 413.3 kB / 0.6986 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007284/0.5925, allocations: 418.7 kB / 0.699 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001321/0.5939, allocations: 0.6721 MB / 0.6996 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.5939, allocations: 0 / 0.6996 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002151/0.596, allocations: 0.9129 MB / 0.7005 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5961, allocations: 7.938 kB / 0.7005 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5961, allocations: 8 kB / 0.7005 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.5975, allocations: 321 kB / 0.7008 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004609/0.5979, allocations: 131.8 kB / 0.701 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.599, allocations: 0.8673 MB / 0.7018 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.5996, allocations: 51.89 kB / 0.7019 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.856e-05/0.5997, allocations: 32.05 kB / 0.7019 GB, free: 10.21 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 (55): * Single equations (assignments): 54 * 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 {(2,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002343/0.5999, allocations: 224.1 kB / 0.7021 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6001, allocations: 67.58 kB / 0.7022 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.6039, allocations: 2.863 MB / 0.705 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.604, allocations: 3.984 kB / 0.705 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.604, allocations: 0 / 0.705 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003804/0.6044, allocations: 279.7 kB / 0.7052 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.6045, allocations: 31.78 kB / 0.7053 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.605, allocations: 59.92 kB / 0.7053 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.6052, allocations: 64.42 kB / 0.7054 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003152/0.6083, allocations: 1.727 MB / 0.7071 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003362/0.6117, allocations: 2.526 MB / 0.7095 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001019/0.6127, allocations: 0.779 MB / 0.7103 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006081/0.6134, allocations: 463 kB / 0.7107 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of Backend: time 2.004e-06/0.6134, allocations: 4 kB / 0.7107 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01008/0.6235, allocations: 2.573 MB / 0.7132 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003572/0.6271, allocations: 2.498 MB / 0.7157 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of Templates: time 0.3592/0.9863, allocations: 56.2 MB / 0.7706 GB, free: 158.6 MB / 0.5762 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches