Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001577/0.001577, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001694/0.001694, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.2 MB / 254.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 63.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09501/0.09694, allocations: 53.32 MB / 427.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005579/0.1025, allocations: 4.407 MB / 431.6 MB, free: 68 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1927/0.2952, allocations: 1.244 MB / 432.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.2955, allocations: 10.62 kB / 432.8 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000421/0.2959, allocations: 136.9 kB / 432.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.2964, allocations: 267.3 kB / 433.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.2968, allocations: 203.7 kB / 433.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008262/0.2977, allocations: 0.9237 MB / 434.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.2979, allocations: 170.2 kB / 434.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004067/0.2983, allocations: 370.9 kB / 434.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.2987, allocations: 403.7 kB / 435.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.2988, allocations: 75.78 kB / 435.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.299, allocations: 81.19 kB / 435.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2991, allocations: 174.9 kB / 435.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.2994, allocations: 411.2 kB / 436 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.3005, allocations: 0.9295 MB / 436.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3005, allocations: 4 kB / 436.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3005, allocations: 1.156 kB / 436.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.3005, allocations: 0.5156 kB / 436.9 MB, free: 7.164 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.00195/0.3024, allocations: 1.13 MB / 438 MB, free: 6.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.3025, allocations: 10.19 kB / 438 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.3027, allocations: 91.59 kB / 438.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006659/0.3034, allocations: 497.7 kB / 438.6 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.3035, allocations: 97.11 kB / 438.7 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.3036, allocations: 43.95 kB / 438.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.3047, allocations: 0.6507 MB / 439.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.3047, allocations: 4.281 kB / 439.4 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.3048, allocations: 22.78 kB / 439.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3048, allocations: 11.47 kB / 439.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3059, allocations: 451.6 kB / 439.9 MB, free: 5.297 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.002806/0.3087, allocations: 1.952 MB / 441.8 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.3105, allocations: 0.6589 MB / 442.5 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005377/0.3111, allocations: 237.1 kB / 442.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.3111, allocations: 15.03 kB / 442.7 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.3111, allocations: 43.97 kB / 442.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.214e-06/0.3112, allocations: 4.5 kB / 442.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005057/0.3162, allocations: 1.47 MB / 444.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3163, allocations: 0.5704 MB / 444.8 MB, free: 2.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.3169, allocations: 0.5395 MB / 445.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.317, allocations: 42.39 kB / 445.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3171, allocations: 281.3 kB / 445.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.3172, allocations: 206.8 kB / 445.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.3174, allocations: 115.1 kB / 446 MB, free: 1.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.3175, allocations: 368 kB / 446.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005053/0.318, allocations: 196.9 kB / 446.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006307/0.3186, allocations: 409.7 kB / 447 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3197, allocations: 498.2 kB / 447.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3197, allocations: 1.188 kB / 447.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002223/0.3219, allocations: 0.8036 MB / 448.2 MB, free: 232 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.3219, allocations: 32 kB / 448.3 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3219, allocations: 5.469 kB / 448.3 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009845/0.3229, allocations: 218.4 kB / 448.5 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.3236, allocations: 124.3 kB / 448.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/0.3319, allocations: 5.612 MB / 454.2 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009372/0.3328, allocations: 79.92 kB / 454.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.3329, allocations: 18.28 kB / 454.3 MB, free: 11.19 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.00037/0.3332, allocations: 196.9 kB / 454.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.3334, allocations: 77.33 kB / 454.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.3358, allocations: 0.7715 MB / 455.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.3358, allocations: 6.156 kB / 455.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3358, allocations: 0 / 455.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002252/0.3381, allocations: 1.031 MB / 456.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0036/0.3417, allocations: 1.495 MB / 457.9 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.3417, allocations: 8.875 kB / 457.9 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000766/0.3424, allocations: 131.3 kB / 458 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008412/0.3433, allocations: 171.8 kB / 458.2 MB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.3433, allocations: 13.41 kB / 458.2 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005635/0.349, allocations: 3.816 MB / 462 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.349, allocations: 0 / 462 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.352, allocations: 1.068 MB / 463.1 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.3524, allocations: 208 kB / 463.3 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3525, allocations: 12.12 kB / 463.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005364/0.353, allocations: 33.28 kB / 463.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3532, allocations: 52.17 kB / 463.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.789e-05/0.3532, allocations: 21.47 kB / 463.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005781/0.3538, allocations: 384.8 kB / 463.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3538, allocations: 0 / 463.8 MB, free: 4.656 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008235/0.3546, allocations: 218.4 kB / 464 MB, free: 4.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001655/0.3548, allocations: 117.6 kB / 464.1 MB, free: 4.523 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002448/0.3572, allocations: 1.007 MB / 465.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3572, allocations: 1.156 kB / 465.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.3583, allocations: 0.5219 MB / 465.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.3591, allocations: 186.3 kB / 465.8 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3616, allocations: 1.286 MB / 467.1 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/0.3622, allocations: 0.8865 MB / 468 MB, free: 1.758 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00035/0.3626, allocations: 82.39 kB / 468.1 MB, free: 1.723 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.3627, allocations: 49.12 kB / 468.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3627, allocations: 0 / 468.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of Templates: time 0.02593/0.3886, allocations: 14.35 MB / 482.5 MB, free: 7.262 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.131157556548715]