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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001844/0.001844, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002307/0.002307, allocations: 208.6 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 230.2 MB / 256.8 MB, free: 8.621 MB / 206.1 MB [Timeout remaining time 88] 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.001892/0.001892, allocations: 63.84 kB / 376.9 MB, free: 3.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2463, allocations: 53.32 MB / 430.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00609/0.2524, allocations: 4.395 MB / 434.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002661/0.2551, allocations: 1.254 MB / 435.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003354/0.2554, allocations: 11.94 kB / 435.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.2558, allocations: 130.8 kB / 436 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006229/0.2564, allocations: 273.8 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.257, allocations: 203.5 kB / 436.4 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001103/0.2581, allocations: 0.922 MB / 437.4 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000321/0.2584, allocations: 170.2 kB / 437.5 MB, free: 260 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.2589, allocations: 382.5 kB / 437.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.2594, allocations: 402.3 kB / 438.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.2595, allocations: 76 kB / 438.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.2597, allocations: 80 kB / 438.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.2599, allocations: 183.3 kB / 438.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004268/0.2603, allocations: 414.1 kB / 439 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.2614, allocations: 0.9218 MB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2614, allocations: 0 / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2614, allocations: 4 kB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2614, allocations: 0 / 440 MB, free: 13.82 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.002143/0.2636, allocations: 1.128 MB / 441.1 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2636, allocations: 8.031 kB / 441.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002626/0.2639, allocations: 104.3 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.2647, allocations: 493.1 kB / 441.7 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.2648, allocations: 96.95 kB / 441.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/0.2649, allocations: 48.38 kB / 441.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.2662, allocations: 0.6438 MB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.2662, allocations: 0 / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.027e-05/0.2663, allocations: 27.98 kB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.2663, allocations: 12 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.2674, allocations: 455.6 kB / 443 MB, free: 10.64 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.003399/0.2708, allocations: 1.944 MB / 444.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.2728, allocations: 0.6587 MB / 445.6 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.2734, allocations: 234 kB / 445.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.2735, allocations: 8.438 kB / 445.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.178e-05/0.2735, allocations: 51.55 kB / 445.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.703e-06/0.2735, allocations: 0 / 445.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005394/0.2789, allocations: 1.48 MB / 447.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003465/0.2793, allocations: 0.5683 MB / 447.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/0.28, allocations: 0.5382 MB / 448.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.28, allocations: 41.7 kB / 448.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002481/0.2803, allocations: 281.2 kB / 448.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.2805, allocations: 198.2 kB / 448.9 MB, free: 4.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.2807, allocations: 110.2 kB / 449 MB, free: 4.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.2809, allocations: 374.8 kB / 449.4 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005603/0.2814, allocations: 200.9 kB / 449.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.2822, allocations: 412.3 kB / 450 MB, free: 3.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.2833, allocations: 496.5 kB / 450.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2833, allocations: 0 / 450.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002495/0.2858, allocations: 0.8031 MB / 451.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.2859, allocations: 41.72 kB / 451.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2859, allocations: 0 / 451.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.2869, allocations: 218.3 kB / 451.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007602/0.2877, allocations: 127.8 kB / 451.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/0.2962, allocations: 5.608 MB / 457.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006731/0.2969, allocations: 75.64 kB / 457.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.2969, allocations: 16 kB / 457.4 MB, free: 11.25 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.0002942/0.2972, allocations: 201.7 kB / 457.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.2973, allocations: 71.58 kB / 457.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.2998, allocations: 0.7695 MB / 458.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.2998, allocations: 4.188 kB / 458.4 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.2998, allocations: 3.938 kB / 458.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002387/0.3022, allocations: 1.039 MB / 459.5 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.3056, allocations: 1.486 MB / 460.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.3056, allocations: 7.938 kB / 460.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007983/0.3064, allocations: 132 kB / 461.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/0.3073, allocations: 177.5 kB / 461.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.3073, allocations: 15.98 kB / 461.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005847/0.3132, allocations: 3.795 MB / 465.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3132, allocations: 0 / 465.1 MB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/0.3162, allocations: 1.075 MB / 466.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.3165, allocations: 208.8 kB / 466.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.3166, allocations: 12 kB / 466.4 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005343/0.3171, allocations: 35.95 kB / 466.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.3172, allocations: 52.48 kB / 466.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.605e-05/0.3172, allocations: 19.94 kB / 466.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004917/0.3177, allocations: 386.8 kB / 466.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3177, allocations: 0 / 466.8 MB, free: 1.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007332/0.3185, allocations: 219.8 kB / 467.1 MB, free: 1.035 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.0001579/0.3186, allocations: 115.1 kB / 467.2 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.3211, allocations: 1.01 MB / 468.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.3211, allocations: 4 kB / 468.2 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3221, allocations: 0.5202 MB / 468.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.323, allocations: 186.4 kB / 468.9 MB, free: 15.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.3254, allocations: 1.319 MB / 470.2 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.3259, allocations: 0.8879 MB / 471.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.3261, allocations: 55.44 kB / 471.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3261, allocations: 0 / 471.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of Templates: time 0.01992/0.346, allocations: 15.5 MB / 486.6 MB, free: 13.38 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