Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002449/0.002449, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 7.996 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 44.06 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2313, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005913/0.2372, allocations: 4.423 MB / 436 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2394, allocations: 1.26 MB / 437.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.2396, allocations: 11.94 kB / 437.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.24, allocations: 134.8 kB / 437.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.2406, allocations: 277.8 kB / 437.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.241, allocations: 195.7 kB / 437.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.2421, allocations: 0.9282 MB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/0.2424, allocations: 173 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005143/0.2429, allocations: 378.6 kB / 439.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.2435, allocations: 402.3 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.2436, allocations: 76 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.2437, allocations: 87.98 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.2439, allocations: 179.4 kB / 440.1 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.2443, allocations: 414.1 kB / 440.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.2454, allocations: 0.9218 MB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2454, allocations: 0 / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2454, allocations: 0 / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2454, allocations: 3.938 kB / 441.4 MB, free: 13.07 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.00216/0.2475, allocations: 1.061 MB / 442.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2476, allocations: 12.03 kB / 442.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.2478, allocations: 92.42 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008066/0.2486, allocations: 431.2 kB / 443 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.2488, allocations: 152.3 kB / 443.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.2489, allocations: 48.38 kB / 443.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.2501, allocations: 0.6477 MB / 443.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.2502, allocations: 4 kB / 443.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.2502, allocations: 20 kB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2502, allocations: 8 kB / 443.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2513, allocations: 459.6 kB / 444.3 MB, free: 9.996 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.003319/0.2547, allocations: 1.873 MB / 446.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.2567, allocations: 0.589 MB / 446.8 MB, free: 7.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000588/0.2573, allocations: 238 kB / 447 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.2573, allocations: 12.42 kB / 447 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.885e-05/0.2574, allocations: 47 kB / 447.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.264e-06/0.2574, allocations: 480 / 447.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005326/0.2627, allocations: 1.246 MB / 448.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000348/0.263, allocations: 0.5643 MB / 448.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.2638, allocations: 0.542 MB / 449.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.345e-05/0.2639, allocations: 41.7 kB / 449.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.2642, allocations: 285.2 kB / 449.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.2644, allocations: 198.3 kB / 450 MB, free: 4.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.2646, allocations: 114.3 kB / 450.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.2648, allocations: 374.8 kB / 450.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/0.2654, allocations: 189.2 kB / 450.6 MB, free: 3.383 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007818/0.2661, allocations: 421.1 kB / 451 MB, free: 2.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.2673, allocations: 487.5 kB / 451.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.2673, allocations: 0 / 451.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002528/0.2698, allocations: 0.8056 MB / 452.3 MB, free: 1.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.2698, allocations: 37.7 kB / 452.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2698, allocations: 0 / 452.3 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.271, allocations: 218.4 kB / 452.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007834/0.2717, allocations: 131.8 kB / 452.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008345/0.2801, allocations: 5.293 MB / 458 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.2809, allocations: 83.64 kB / 458.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/0.2809, allocations: 27.92 kB / 458.1 MB, free: 11.43 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.000339/0.2813, allocations: 197.7 kB / 458.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.2814, allocations: 71.58 kB / 458.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.2839, allocations: 0.7679 MB / 459.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.284, allocations: 8 kB / 459.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.284, allocations: 0 / 459.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002512/0.2865, allocations: 1.029 MB / 460.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.29, allocations: 1.464 MB / 461.6 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.2901, allocations: 11.94 kB / 461.6 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008631/0.2909, allocations: 131.8 kB / 461.8 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009427/0.2919, allocations: 177.5 kB / 461.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.2919, allocations: 8 kB / 461.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005968/0.2979, allocations: 3.588 MB / 465.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2979, allocations: 4.031 kB / 465.5 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.3011, allocations: 1.065 MB / 466.6 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.3015, allocations: 127.6 kB / 466.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.3017, allocations: 15.98 kB / 466.7 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005921/0.3022, allocations: 43.91 kB / 466.8 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.3024, allocations: 44.41 kB / 466.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.3024, allocations: 19.94 kB / 466.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005405/0.303, allocations: 382.8 kB / 467.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.303, allocations: 0 / 467.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007813/0.3037, allocations: 215.9 kB / 467.4 MB, free: 1.637 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.0001607/0.3039, allocations: 129.3 kB / 467.6 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.3064, allocations: 1.005 MB / 468.6 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.3064, allocations: 4 kB / 468.6 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.3076, allocations: 0.5157 MB / 469.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.3085, allocations: 182.3 kB / 469.3 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.3108, allocations: 1.296 MB / 470.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.3114, allocations: 0.8878 MB / 471.4 MB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003075/0.3117, allocations: 85.11 kB / 471.5 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.3119, allocations: 51.44 kB / 471.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3119, allocations: 0 / 471.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.02844/0.3403, allocations: 14.69 MB / 486.3 MB, free: 14.86 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.2698534990195185]