Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 230.4 MB / 258.1 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.84 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2105, allocations: 53.32 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005796/0.2163, allocations: 4.431 MB / 436.5 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.2183, allocations: 1.248 MB / 437.7 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.2185, allocations: 7.938 kB / 437.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003561/0.2189, allocations: 138.8 kB / 437.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005335/0.2194, allocations: 265.8 kB / 438.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.2198, allocations: 207.6 kB / 438.3 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001023/0.2209, allocations: 0.9297 MB / 439.3 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.2212, allocations: 172.7 kB / 439.4 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.2216, allocations: 366.7 kB / 439.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005183/0.2222, allocations: 402.3 kB / 440.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2223, allocations: 76 kB / 440.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.2224, allocations: 84 kB / 440.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001546/0.2226, allocations: 171.3 kB / 440.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.223, allocations: 422.1 kB / 440.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009778/0.224, allocations: 0.9258 MB / 441.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.224, allocations: 4 kB / 441.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.224, allocations: 0 / 441.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.224, allocations: 0 / 441.8 MB, free: 13.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002119/0.2261, allocations: 1.128 MB / 443 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2261, allocations: 19.95 kB / 443 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.2264, allocations: 88.47 kB / 443.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007436/0.2271, allocations: 497 kB / 443.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.2273, allocations: 96.95 kB / 443.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.2274, allocations: 48.36 kB / 443.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.2286, allocations: 0.6516 MB / 444.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.2286, allocations: 0 / 444.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.2287, allocations: 20 kB / 444.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.2287, allocations: 12 kB / 444.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.2298, allocations: 455.6 kB / 444.8 MB, free: 10.38 MB / 350.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.003219/0.2331, allocations: 1.941 MB / 446.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002017/0.2351, allocations: 0.6632 MB / 447.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.2357, allocations: 238 kB / 447.7 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.445e-05/0.2357, allocations: 16.34 kB / 447.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.2358, allocations: 51 kB / 447.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.794e-06/0.2358, allocations: 0 / 447.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005312/0.2411, allocations: 1.464 MB / 449.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002984/0.2414, allocations: 0.5721 MB / 449.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.242, allocations: 0.5382 MB / 450.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.608e-05/0.2421, allocations: 41.7 kB / 450.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.2424, allocations: 281.2 kB / 450.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2425, allocations: 202.2 kB / 450.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002001/0.2427, allocations: 114.2 kB / 450.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2429, allocations: 370.8 kB / 451.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/0.2435, allocations: 197 kB / 451.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007681/0.2442, allocations: 408.4 kB / 451.9 MB, free: 2.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2454, allocations: 496.4 kB / 452.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2454, allocations: 7.938 kB / 452.4 MB, free: 2.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002471/0.2479, allocations: 0.8032 MB / 453.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.705e-05/0.2479, allocations: 36.67 kB / 453.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2479, allocations: 4.031 kB / 453.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/0.249, allocations: 218.4 kB / 453.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.2497, allocations: 123.8 kB / 453.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008374/0.2581, allocations: 5.612 MB / 459.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.2587, allocations: 75.64 kB / 459.2 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.2588, allocations: 23.98 kB / 459.3 MB, free: 10.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002769/0.259, allocations: 197.7 kB / 459.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.2592, allocations: 71.58 kB / 459.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.2616, allocations: 0.7697 MB / 460.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/0.264, allocations: 1.035 MB / 461.3 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.264, allocations: 3.938 kB / 461.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.2643, allocations: 208.3 kB / 461.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2644, allocations: 20 kB / 461.6 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/0.265, allocations: 35.97 kB / 461.6 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2651, allocations: 44.61 kB / 461.6 MB, free: 8.453 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002692/0.2678, allocations: 0.7891 MB / 462.4 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001994/0.2698, allocations: 0.9706 MB / 463.4 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005526/0.2703, allocations: 216.3 kB / 463.6 MB, free: 6.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004678/0.2708, allocations: 382.8 kB / 464 MB, free: 6.078 MB / 366.1 MB Notification: Performance of Backend: time 3.91e-07/0.2708, allocations: 0 / 464 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.2731, allocations: 0.9225 MB / 464.9 MB, free: 5.102 MB / 366.1 MB Notification: Performance of SimCode: time 0.002474/0.2756, allocations: 1.874 MB / 466.8 MB, free: 3.172 MB / 366.1 MB Notification: Performance of Templates: time 0.02379/0.2994, allocations: 13.88 MB / 480.7 MB, free: 5.484 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.693200248293579]