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.001006/0.001006, allocations: 96.23 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.231/0.231, allocations: 45.92 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 11.98 kB / 417.9 MB, free: 20.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1458, allocations: 63.46 MB / 481.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage): time 0.04007/0.1859, allocations: 35.5 MB / 0.5048 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3256/0.5115, allocations: 17.37 MB / 0.5217 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.5129, allocations: 27.41 kB / 0.5218 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.5148, allocations: 428.5 kB / 0.5222 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.533, allocations: 4.095 MB / 0.5262 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01089/0.5439, allocations: 2.956 MB / 0.5291 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.5468, allocations: 1.011 MB / 0.53 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007907/0.5476, allocations: 381.1 kB / 0.5304 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.5493, allocations: 0.6543 MB / 0.531 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01056/0.5599, allocations: 5.834 MB / 0.5367 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.5601, allocations: 34.59 kB / 0.5368 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01761/0.5778, allocations: 7.575 MB / 0.5442 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.5781, allocations: 151.5 kB / 0.5443 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005519/0.5787, allocations: 173.3 kB / 0.5445 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008177/0.5869, allocations: 3.572 MB / 0.548 GB, free: 4.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5869, allocations: 0 / 0.548 GB, free: 4.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5869, allocations: 0 / 0.548 GB, free: 4.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.587, allocations: 0 / 0.548 GB, free: 4.289 MB / 382.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.004515/0.5915, allocations: 1.546 MB / 0.5495 GB, free: 2.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5915, allocations: 8.562 kB / 0.5495 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.5936, allocations: 321.6 kB / 0.5498 GB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.5944, allocations: 0.5112 MB / 0.5503 GB, free: 1.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.5945, allocations: 45.31 kB / 0.5503 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.5946, allocations: 63.95 kB / 0.5504 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.5966, allocations: 0.9906 MB / 0.5514 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.5967, allocations: 0 / 0.5514 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.5967, allocations: 24 kB / 0.5514 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.5968, allocations: 28.92 kB / 0.5514 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.599, allocations: 0.9131 MB / 0.5523 GB, free: 15.74 MB / 398.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.005351/0.6044, allocations: 4.559 MB / 0.5568 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.6069, allocations: 0.8122 MB / 0.5576 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1177/0.7246, allocations: 62.59 MB / 0.6187 GB, free: 3.52 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.537e-05/0.7247, allocations: 39 kB / 0.6187 GB, free: 3.473 MB / 462.1 MB Notification: Performance of pre-optimization done (n=48): time 2.285e-06/0.7247, allocations: 0 / 0.6187 GB, free: 3.473 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.006878/0.7316, allocations: 2.314 MB / 0.621 GB, free: 1.105 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.7317, allocations: 107.2 kB / 0.6211 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006437/0.7324, allocations: 0.5067 MB / 0.6216 GB, free: 472 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.246e-05/0.7324, allocations: 33.7 kB / 0.6216 GB, free: 432 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.7327, allocations: 328.1 kB / 0.6219 GB, free: 100 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.7329, allocations: 180.2 kB / 0.6221 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.7329, allocations: 12 kB / 0.6221 GB, free: 15.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7331, allocations: 366.8 kB / 0.6225 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.7337, allocations: 277.1 kB / 0.6227 GB, free: 15.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.7345, allocations: 454.1 kB / 0.6231 GB, free: 14.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.7352, allocations: 322 kB / 0.6235 GB, free: 14.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7352, allocations: 0 / 0.6235 GB, free: 14.45 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002427/0.7376, allocations: 0.9985 MB / 0.6244 GB, free: 13.45 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007785/0.7384, allocations: 1.75 MB / 0.6261 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7384, allocations: 4 kB / 0.6261 GB, free: 11.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002299/0.7407, allocations: 472.4 kB / 0.6266 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.7412, allocations: 139.7 kB / 0.6267 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.7427, allocations: 0.9308 MB / 0.6276 GB, free: 9.996 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/0.7434, allocations: 87.84 kB / 0.6277 GB, free: 9.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.213e-05/0.7435, allocations: 35.98 kB / 0.6278 GB, free: 9.875 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.7435, allocations: 4 kB / 0.6278 GB, free: 9.871 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/0.746, allocations: 0.9348 MB / 0.6287 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.746, allocations: 4.469 kB / 0.6287 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.7475, allocations: 346.6 kB / 0.629 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.748, allocations: 139.8 kB / 0.6291 GB, free: 8.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.7493, allocations: 0.884 MB / 0.63 GB, free: 7.547 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.75, allocations: 95.75 kB / 0.6301 GB, free: 7.453 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.7501, allocations: 35.98 kB / 0.6301 GB, free: 7.418 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0004037/0.7505, allocations: 276.5 kB / 0.6304 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.7506, allocations: 67.19 kB / 0.6305 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00379/0.7544, allocations: 2.93 MB / 0.6333 GB, free: 4.148 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-05/0.7544, allocations: 43.92 kB / 0.6334 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7545, allocations: 0 / 0.6334 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.7545, allocations: 3.984 kB / 0.6334 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005133/0.7596, allocations: 4.115 MB / 0.6374 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.7597, allocations: 4 kB / 0.6374 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/0.7604, allocations: 167.8 kB / 0.6375 GB, free: 15.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/0.7607, allocations: 76.72 kB / 0.6376 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.7608, allocations: 12 kB / 0.6376 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007171/0.7615, allocations: 1.181 MB / 0.6388 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7615, allocations: 0 / 0.6388 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003651/0.7652, allocations: 2.605 MB / 0.6413 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.7657, allocations: 338.6 kB / 0.6417 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/0.7659, allocations: 16.06 kB / 0.6417 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005201/0.7664, allocations: 71.94 kB / 0.6417 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.7665, allocations: 48.48 kB / 0.6418 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.7666, allocations: 27.92 kB / 0.6418 GB, free: 11.32 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006167/0.7672, allocations: 463 kB / 0.6422 GB, free: 10.86 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7672, allocations: 0 / 0.6422 GB, free: 10.86 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004563/0.7718, allocations: 1.343 MB / 0.6436 GB, free: 9.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004881/0.7767, allocations: 1.387 MB / 0.6449 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003614/0.7803, allocations: 1.507 MB / 0.6464 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7803, allocations: 0 / 0.6464 GB, free: 6.742 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.7817, allocations: 0.8755 MB / 0.6472 GB, free: 5.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.7834, allocations: 329.3 kB / 0.6476 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.7873, allocations: 3.13 MB / 0.6506 GB, free: 2.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.788, allocations: 1.162 MB / 0.6517 GB, free: 1.207 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.7893, allocations: 0.7287 MB / 0.6525 GB, free: 496 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.7895, allocations: 63.42 kB / 0.6525 GB, free: 432 kB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7895, allocations: 0 / 0.6525 GB, free: 432 kB / 494.1 MB Notification: Performance of Templates: time 0.07026/0.8597, allocations: 49.63 MB / 0.701 GB, free: 14.9 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches