Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.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.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 103.2 kB / 17.08 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.001803/0.001803, allocations: 194.2 kB / 18.01 MB, free: 5.059 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.395/1.395, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2023/0.2023, allocations: 43.53 MB / 314.8 MB, free: 460 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.001963/0.001963, allocations: 71.89 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1194, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04737/0.1668, allocations: 41.63 MB / 0.5292 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2881/0.455, allocations: 19.85 MB / 0.5486 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.4561, allocations: 19.66 kB / 0.5486 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.4574, allocations: 446.6 kB / 0.549 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01627/0.4737, allocations: 5.151 MB / 0.5541 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007177/0.4809, allocations: 2.41 MB / 0.5564 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003276/0.4842, allocations: 1.662 MB / 0.558 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.4849, allocations: 460.3 kB / 0.5585 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.4863, allocations: 0.7412 MB / 0.5592 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006858/0.4931, allocations: 3.658 MB / 0.5628 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.4934, allocations: 63.44 kB / 0.5628 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01839/0.5118, allocations: 7.85 MB / 0.5705 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000356/0.5122, allocations: 190.8 kB / 0.5707 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008313/0.513, allocations: 425.1 kB / 0.5711 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.5275, allocations: 5.302 MB / 0.5763 GB, free: 10.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5275, allocations: 0 / 0.5763 GB, free: 10.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5275, allocations: 0 / 0.5763 GB, free: 10.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.5275, allocations: 0 / 0.5763 GB, free: 10.34 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.004736/0.5323, allocations: 1.681 MB / 0.5779 GB, free: 9.152 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5323, allocations: 7.562 kB / 0.5779 GB, free: 9.152 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/0.5346, allocations: 301.1 kB / 0.5782 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008644/0.5355, allocations: 0.563 MB / 0.5788 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.5355, allocations: 49.72 kB / 0.5788 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.5356, allocations: 61 kB / 0.5789 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.5379, allocations: 0.9659 MB / 0.5798 GB, free: 7.891 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.5379, allocations: 6.516 kB / 0.5798 GB, free: 7.887 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.708e-05/0.538, allocations: 24.25 kB / 0.5798 GB, free: 7.871 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.275e-05/0.5381, allocations: 23.06 kB / 0.5799 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/0.5404, allocations: 0.8603 MB / 0.5807 GB, free: 7.461 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.004921/0.5453, allocations: 4.536 MB / 0.5851 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.5478, allocations: 0.7441 MB / 0.5859 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.5484, allocations: 306 kB / 0.5862 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1112/0.6596, allocations: 56.05 MB / 0.6409 GB, free: 3.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.6597, allocations: 39 kB / 0.6409 GB, free: 2.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=48): time 3.226e-06/0.6597, allocations: 0 / 0.6409 GB, free: 2.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=52): time 0.007144/0.6669, allocations: 2.194 MB / 0.6431 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/0.667, allocations: 107.2 kB / 0.6432 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006746/0.6676, allocations: 0.5183 MB / 0.6437 GB, free: 84 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.073e-05/0.6677, allocations: 29.7 kB / 0.6437 GB, free: 48 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.668, allocations: 331 kB / 0.644 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.6681, allocations: 176.5 kB / 0.6442 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.6683, allocations: 142.1 kB / 0.6443 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.6685, allocations: 366.8 kB / 0.6447 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006525/0.6692, allocations: 275.3 kB / 0.6449 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007488/0.67, allocations: 437.8 kB / 0.6453 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6713, allocations: 0.683 MB / 0.646 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6713, allocations: 4 kB / 0.646 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002292/0.6736, allocations: 0.9558 MB / 0.647 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6737, allocations: 4 kB / 0.647 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6737, allocations: 8 kB / 0.647 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.6761, allocations: 459.1 kB / 0.6474 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.6766, allocations: 119.8 kB / 0.6475 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.678, allocations: 0.9312 MB / 0.6484 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006031/0.6786, allocations: 43.95 kB / 0.6485 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.6787, allocations: 40.05 kB / 0.6485 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008964/0.6796, allocations: 417.1 kB / 0.6489 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007717/0.6804, allocations: 428 kB / 0.6493 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001393/0.6818, allocations: 0.6605 MB / 0.65 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.887e-06/0.6818, allocations: 0 / 0.65 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002279/0.6841, allocations: 0.9126 MB / 0.6508 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6841, allocations: 6.656 kB / 0.6509 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6841, allocations: 13.03 kB / 0.6509 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.6856, allocations: 316.5 kB / 0.6512 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.6861, allocations: 131.8 kB / 0.6513 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.6872, allocations: 0.8724 MB / 0.6521 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.6879, allocations: 52.02 kB / 0.6522 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.6879, allocations: 35.61 kB / 0.6522 GB, free: 6.973 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 (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.0002361/0.6882, allocations: 228 kB / 0.6524 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.6883, allocations: 63.25 kB / 0.6525 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/0.6922, allocations: 2.85 MB / 0.6553 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6922, allocations: 3.984 kB / 0.6553 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.6922, allocations: 0 / 0.6553 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.6926, allocations: 283 kB / 0.6556 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.6928, allocations: 19.84 kB / 0.6556 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.6933, allocations: 67.86 kB / 0.6556 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6935, allocations: 60.42 kB / 0.6557 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002862/0.6963, allocations: 1.72 MB / 0.6574 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003348/0.6997, allocations: 2.517 MB / 0.6598 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009888/0.7007, allocations: 0.7829 MB / 0.6606 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005928/0.7013, allocations: 463 kB / 0.661 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of Backend: time 5.21e-07/0.7013, allocations: 0 / 0.661 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009633/0.711, allocations: 2.547 MB / 0.6635 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003463/0.7144, allocations: 2.452 MB / 0.6659 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of Templates: time 0.08251/0.797, allocations: 56.7 MB / 0.7213 GB, free: 300 kB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches