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.001259/0.001259, allocations: 110.9 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001279/0.001279, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 75.88 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3446, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.03971/0.3843, allocations: 41.82 MB / 0.5725 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02691/0.4113, allocations: 19.88 MB / 0.5919 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.4123, allocations: 19.88 kB / 0.5919 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.4136, allocations: 441.2 kB / 0.5924 GB, free: 3.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.4277, allocations: 5.18 MB / 0.5974 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006081/0.4338, allocations: 2.429 MB / 0.5998 GB, free: 11.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002332/0.4362, allocations: 1.673 MB / 0.6014 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005768/0.4367, allocations: 461.7 kB / 0.6019 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.438, allocations: 0.7511 MB / 0.6026 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006667/0.4447, allocations: 3.65 MB / 0.6062 GB, free: 5.211 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.4448, allocations: 64 kB / 0.6062 GB, free: 5.148 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01555/0.4604, allocations: 7.828 MB / 0.6139 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.4607, allocations: 199.3 kB / 0.6141 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006008/0.4613, allocations: 418 kB / 0.6145 GB, free: 12.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.473, allocations: 5.317 MB / 0.6196 GB, free: 7.379 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.473, allocations: 4 kB / 0.6197 GB, free: 7.375 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.473, allocations: 0 / 0.6197 GB, free: 7.375 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.143e-05/0.4731, allocations: 0 / 0.6197 GB, free: 7.375 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.00475/0.4778, allocations: 1.684 MB / 0.6213 GB, free: 5.641 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.4779, allocations: 8.922 kB / 0.6213 GB, free: 5.633 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002346/0.4802, allocations: 295.8 kB / 0.6216 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4813, allocations: 0.556 MB / 0.6221 GB, free: 4.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.725e-05/0.4814, allocations: 57.23 kB / 0.6222 GB, free: 4.691 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4815, allocations: 56 kB / 0.6222 GB, free: 4.637 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.4841, allocations: 0.9672 MB / 0.6232 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.4841, allocations: 4 kB / 0.6232 GB, free: 3.605 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/0.4842, allocations: 27.98 kB / 0.6232 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-05/0.4842, allocations: 21 kB / 0.6232 GB, free: 3.559 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002414/0.4866, allocations: 0.8661 MB / 0.6241 GB, free: 2.691 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.005305/0.492, allocations: 4.541 MB / 0.6285 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.4945, allocations: 0.756 MB / 0.6293 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.4951, allocations: 306 kB / 0.6295 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1164/0.6116, allocations: 62.32 MB / 0.6904 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/0.6116, allocations: 39 kB / 0.6904 GB, free: 6.406 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 3.457e-06/0.6117, allocations: 4 kB / 0.6904 GB, free: 6.402 MB / 0.545 GB Notification: Performance of matching and sorting (n=52): time 0.007162/0.6188, allocations: 2.198 MB / 0.6926 GB, free: 4.148 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.835e-05/0.6189, allocations: 111.2 kB / 0.6927 GB, free: 4.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.6196, allocations: 0.5067 MB / 0.6932 GB, free: 3.496 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.6197, allocations: 37.7 kB / 0.6932 GB, free: 3.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.6199, allocations: 316.3 kB / 0.6935 GB, free: 3.141 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.6201, allocations: 189.3 kB / 0.6937 GB, free: 2.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.6203, allocations: 134.2 kB / 0.6938 GB, free: 2.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6205, allocations: 378.7 kB / 0.6942 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.6212, allocations: 271.3 kB / 0.6945 GB, free: 2.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.622, allocations: 433.8 kB / 0.6949 GB, free: 1.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.6235, allocations: 0.683 MB / 0.6955 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.6235, allocations: 4 kB / 0.6955 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002674/0.6262, allocations: 0.9595 MB / 0.6965 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.79e-05/0.6262, allocations: 8 kB / 0.6965 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.6263, allocations: 4.469 kB / 0.6965 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002456/0.6287, allocations: 456.3 kB / 0.6969 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.6292, allocations: 119.8 kB / 0.697 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.6307, allocations: 0.9223 MB / 0.6979 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.6313, allocations: 47.95 kB / 0.698 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.412e-05/0.6314, allocations: 35.92 kB / 0.698 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008487/0.6323, allocations: 409.3 kB / 0.6984 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007871/0.6331, allocations: 422.7 kB / 0.6988 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001388/0.6345, allocations: 0.6721 MB / 0.6995 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.667e-06/0.6345, allocations: 0 / 0.6995 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.002262/0.6367, allocations: 0.9126 MB / 0.7004 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6368, allocations: 7.938 kB / 0.7004 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6368, allocations: 8 kB / 0.7004 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.6383, allocations: 317 kB / 0.7007 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000482/0.6388, allocations: 127.8 kB / 0.7008 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.64, allocations: 0.875 MB / 0.7017 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.6405, allocations: 51.95 kB / 0.7017 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.6406, allocations: 35.98 kB / 0.7017 GB, free: 10.36 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.0002584/0.6409, allocations: 224.1 kB / 0.702 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.6411, allocations: 63.25 kB / 0.702 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/0.6454, allocations: 2.862 MB / 0.7048 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6454, allocations: 3.984 kB / 0.7048 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.6454, allocations: 0 / 0.7048 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/0.6458, allocations: 275 kB / 0.7051 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/0.6459, allocations: 31.75 kB / 0.7051 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/0.6465, allocations: 55.92 kB / 0.7052 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6466, allocations: 60.42 kB / 0.7052 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002898/0.6496, allocations: 1.719 MB / 0.7069 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003425/0.653, allocations: 2.521 MB / 0.7094 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001069/0.6541, allocations: 0.7751 MB / 0.7101 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006607/0.6547, allocations: 467 kB / 0.7106 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of Backend: time 5.71e-07/0.6548, allocations: 0 / 0.7106 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01095/0.6657, allocations: 2.559 MB / 0.7131 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00402/0.6698, allocations: 2.457 MB / 0.7155 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.3428/1.013, allocations: 56.87 MB / 0.771 GB, free: 158.2 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