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.001854/0.001854, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.002263/0.002263, allocations: 217.3 kB / 24.49 MB, free: 4.172 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.487/1.487, allocations: 230.5 MB / 258.1 MB, free: 8.031 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.002168/0.002168, allocations: 63.91 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.253, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006262/0.2593, allocations: 4.414 MB / 436.9 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002714/0.262, allocations: 1.262 MB / 438.1 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.2624, allocations: 7.938 kB / 438.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.2628, allocations: 138.8 kB / 438.3 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006494/0.2635, allocations: 265.8 kB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005393/0.264, allocations: 211.6 kB / 438.7 MB, free: 468 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.2652, allocations: 0.9255 MB / 439.6 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.2656, allocations: 176.7 kB / 439.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005963/0.2662, allocations: 374.7 kB / 440.2 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.2667, allocations: 410.3 kB / 440.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.2668, allocations: 76 kB / 440.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.267, allocations: 80 kB / 440.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.2672, allocations: 171.4 kB / 440.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000425/0.2676, allocations: 422 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.2687, allocations: 0.9198 MB / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2687, allocations: 0 / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2687, allocations: 0 / 442.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.2687, allocations: 0 / 442.2 MB, free: 12.93 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.002301/0.271, allocations: 1.068 MB / 443.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.2711, allocations: 12.02 kB / 443.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002876/0.2713, allocations: 92.47 kB / 443.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.2722, allocations: 427.3 kB / 443.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002055/0.2724, allocations: 148.4 kB / 444 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.2725, allocations: 40.38 kB / 444 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.2739, allocations: 0.6632 MB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.2739, allocations: 3.984 kB / 444.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.274, allocations: 20 kB / 444.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.274, allocations: 12 kB / 444.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.2751, allocations: 447.7 kB / 445.1 MB, free: 9.848 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.003497/0.2786, allocations: 1.877 MB / 447 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.2806, allocations: 0.5945 MB / 447.6 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.2811, allocations: 228.6 kB / 447.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.7e-05/0.2812, allocations: 20.41 kB / 447.9 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.2812, allocations: 47 kB / 447.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 4.539e-06/0.2812, allocations: 11.92 kB / 447.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005285/0.2865, allocations: 1.246 MB / 449.2 MB, free: 5.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003467/0.2869, allocations: 0.5644 MB / 449.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.2877, allocations: 0.542 MB / 450.3 MB, free: 4.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.2877, allocations: 41.7 kB / 450.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.288, allocations: 285.2 kB / 450.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.2882, allocations: 198.3 kB / 450.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.2884, allocations: 110.3 kB / 450.9 MB, free: 3.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.2886, allocations: 374.8 kB / 451.3 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.2891, allocations: 193.2 kB / 451.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007665/0.2899, allocations: 417.1 kB / 451.9 MB, free: 2.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.291, allocations: 491.5 kB / 452.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.291, allocations: 0 / 452.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002506/0.2935, allocations: 0.8017 MB / 453.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/0.2936, allocations: 37.73 kB / 453.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2936, allocations: 0 / 453.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.2947, allocations: 222.3 kB / 453.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007547/0.2954, allocations: 123.8 kB / 453.5 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.3037, allocations: 5.301 MB / 458.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.3046, allocations: 75.64 kB / 458.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.3046, allocations: 20 kB / 458.9 MB, free: 11.29 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.0003513/0.305, allocations: 205.1 kB / 459.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.3051, allocations: 71.58 kB / 459.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.3075, allocations: 0.7679 MB / 459.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.3075, allocations: 8 kB / 460 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.3075, allocations: 0 / 460 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002385/0.3099, allocations: 1.037 MB / 461 MB, free: 9.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/0.3135, allocations: 1.464 MB / 462.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3135, allocations: 3.938 kB / 462.5 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.3143, allocations: 131.8 kB / 462.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008991/0.3152, allocations: 181.5 kB / 462.8 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.3152, allocations: 8 kB / 462.8 MB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005866/0.3211, allocations: 3.589 MB / 466.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3211, allocations: 192 / 466.4 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003204/0.3243, allocations: 1.073 MB / 467.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/0.3247, allocations: 131.3 kB / 467.6 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.779e-05/0.3248, allocations: 16 kB / 467.6 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.3253, allocations: 35.95 kB / 467.6 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.3255, allocations: 48.42 kB / 467.7 MB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.3255, allocations: 15.92 kB / 467.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005848/0.3261, allocations: 386.8 kB / 468.1 MB, free: 1.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3261, allocations: 0 / 468.1 MB, free: 1.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008568/0.327, allocations: 219.9 kB / 468.3 MB, free: 1.477 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.0002046/0.3272, allocations: 111.2 kB / 468.4 MB, free: 1.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.3296, allocations: 1.013 MB / 469.4 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3297, allocations: 0 / 469.4 MB, free: 304 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.3308, allocations: 0.5197 MB / 469.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.3317, allocations: 188.9 kB / 470.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.3342, allocations: 1.324 MB / 471.4 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005788/0.3348, allocations: 0.884 MB / 472.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.3349, allocations: 55.42 kB / 472.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3349, allocations: 3.938 kB / 472.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.02184/0.3568, allocations: 15.49 MB / 487.9 MB, free: 13.81 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/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: 9.041253082919866]