Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 94.75 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.001071/0.001071, 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.388/1.388, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2237/0.2237, allocations: 45.91 MB / 344 MB, free: 12.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 11.98 kB / 417.9 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 63.47 MB / 481.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.03981/0.1782, allocations: 35.49 MB / 0.5048 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3378/0.5161, allocations: 17.37 MB / 0.5217 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.5176, allocations: 26.47 kB / 0.5218 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.5192, allocations: 431 kB / 0.5222 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01817/0.5374, allocations: 4.103 MB / 0.5262 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01229/0.5497, allocations: 2.945 MB / 0.5291 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002655/0.5524, allocations: 1.022 MB / 0.5301 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007436/0.5531, allocations: 370.9 kB / 0.5304 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.5548, allocations: 0.6559 MB / 0.531 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01117/0.566, allocations: 6.077 MB / 0.537 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.5663, allocations: 30.38 kB / 0.537 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/0.5828, allocations: 7.571 MB / 0.5444 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002906/0.5831, allocations: 151.6 kB / 0.5445 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.5836, allocations: 169.3 kB / 0.5447 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008101/0.5917, allocations: 3.568 MB / 0.5482 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5917, allocations: 0 / 0.5482 GB, free: 4.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5917, allocations: 3.938 kB / 0.5482 GB, free: 4.062 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.5917, allocations: 0 / 0.5482 GB, free: 4.062 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.004044/0.5958, allocations: 1.549 MB / 0.5497 GB, free: 2.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5958, allocations: 12.5 kB / 0.5497 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.5979, allocations: 314.7 kB / 0.55 GB, free: 2.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007168/0.5986, allocations: 0.5084 MB / 0.5505 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.5987, allocations: 49.31 kB / 0.5506 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.5988, allocations: 59.95 kB / 0.5506 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.6007, allocations: 0.9818 MB / 0.5516 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.6008, allocations: 3.938 kB / 0.5516 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/0.6008, allocations: 24 kB / 0.5516 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.6009, allocations: 29.3 kB / 0.5516 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.6032, allocations: 0.9144 MB / 0.5525 GB, free: 15.51 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.005342/0.6086, allocations: 4.488 MB / 0.5569 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.6112, allocations: 0.7811 MB / 0.5577 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.122/0.7333, allocations: 62.58 MB / 0.6188 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.925e-05/0.7334, allocations: 42.98 kB / 0.6188 GB, free: 3.371 MB / 462.1 MB Notification: Performance of pre-optimization done (n=48): time 3.066e-06/0.7334, allocations: 0 / 0.6188 GB, free: 3.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.007078/0.7405, allocations: 2.364 MB / 0.6211 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/0.7406, allocations: 115.2 kB / 0.6212 GB, free: 0.793 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007744/0.7414, allocations: 0.5223 MB / 0.6218 GB, free: 272 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.7414, allocations: 37.7 kB / 0.6218 GB, free: 228 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.7417, allocations: 319.3 kB / 0.6221 GB, free: 15.91 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.7419, allocations: 180.2 kB / 0.6223 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.7419, allocations: 20 kB / 0.6223 GB, free: 15.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.7421, allocations: 366.8 kB / 0.6226 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006353/0.7427, allocations: 269.1 kB / 0.6229 GB, free: 15.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.7435, allocations: 434.6 kB / 0.6233 GB, free: 14.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.7442, allocations: 306 kB / 0.6236 GB, free: 14.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7442, allocations: 4 kB / 0.6236 GB, free: 14.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002208/0.7464, allocations: 0.9594 MB / 0.6245 GB, free: 13.32 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007162/0.7471, allocations: 1.832 MB / 0.6263 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.7471, allocations: 4 kB / 0.6263 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/0.7496, allocations: 490.1 kB / 0.6268 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.7501, allocations: 131.8 kB / 0.6269 GB, free: 10.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.7514, allocations: 0.9307 MB / 0.6278 GB, free: 9.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007894/0.7522, allocations: 95.81 kB / 0.6279 GB, free: 9.684 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.7523, allocations: 35.98 kB / 0.628 GB, free: 9.648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.7523, allocations: 4 kB / 0.628 GB, free: 9.645 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002215/0.7545, allocations: 0.8884 MB / 0.6288 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.7545, allocations: 4 kB / 0.6288 GB, free: 8.754 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001279/0.7558, allocations: 324.9 kB / 0.6291 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.7563, allocations: 135.8 kB / 0.6293 GB, free: 8.301 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.7575, allocations: 0.8995 MB / 0.6302 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006993/0.7582, allocations: 79.97 kB / 0.6302 GB, free: 7.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.7582, allocations: 35.98 kB / 0.6303 GB, free: 7.262 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (54): * Single equations (assignments): 53 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004461/0.7587, allocations: 283 kB / 0.6305 GB, free: 6.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.7588, allocations: 75.09 kB / 0.6306 GB, free: 6.902 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003813/0.7626, allocations: 2.752 MB / 0.6333 GB, free: 4.152 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/0.7627, allocations: 44.77 kB / 0.6333 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7627, allocations: 0 / 0.6333 GB, free: 4.109 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.7627, allocations: 3.984 kB / 0.6333 GB, free: 4.105 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005506/0.7683, allocations: 3.841 MB / 0.6371 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.7683, allocations: 0 / 0.6371 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.7689, allocations: 151.8 kB / 0.6372 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005341/0.7695, allocations: 113.5 kB / 0.6373 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.7696, allocations: 12 kB / 0.6374 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008739/0.7704, allocations: 1.132 MB / 0.6385 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7705, allocations: 0 / 0.6385 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.7742, allocations: 2.305 MB / 0.6407 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.7749, allocations: 370.8 kB / 0.6411 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.7751, allocations: 12 kB / 0.6411 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006801/0.7758, allocations: 67.95 kB / 0.6411 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.7759, allocations: 60.45 kB / 0.6412 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.776, allocations: 23.98 kB / 0.6412 GB, free: 11.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009664/0.777, allocations: 0.5693 MB / 0.6418 GB, free: 11.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.777, allocations: 0 / 0.6418 GB, free: 11.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005161/0.7822, allocations: 1.355 MB / 0.6431 GB, free: 9.957 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: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.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 (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00696/0.7891, allocations: 1.389 MB / 0.6445 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.7926, allocations: 1.421 MB / 0.6458 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7926, allocations: 0 / 0.6458 GB, free: 7.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.794, allocations: 0.7584 MB / 0.6466 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.796, allocations: 329.3 kB / 0.6469 GB, free: 6.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/0.8009, allocations: 2.983 MB / 0.6498 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008382/0.8017, allocations: 1.154 MB / 0.6509 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001253/0.803, allocations: 0.655 MB / 0.6516 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.8032, allocations: 67.42 kB / 0.6516 GB, free: 1.285 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.8032, allocations: 0 / 0.6516 GB, free: 1.285 MB / 494.1 MB Notification: Performance of Templates: time 0.08296/0.8862, allocations: 50.05 MB / 0.7005 GB, free: 15.34 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpCheckValve/TestWaterPumpCheckValve.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches