Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 186 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 47.92 kB / 371.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2693, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005698/0.275, allocations: 3.969 MB / 427.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.2774, allocations: 1.157 MB / 428.9 MB, free: 9.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.2776, allocations: 7.938 kB / 428.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.278, allocations: 134.8 kB / 429.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005458/0.2786, allocations: 273.8 kB / 429.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.279, allocations: 195.7 kB / 429.5 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.28, allocations: 0.9375 MB / 430.5 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002972/0.2803, allocations: 157 kB / 430.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004495/0.2808, allocations: 366.7 kB / 431 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.2812, allocations: 358.3 kB / 431.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.2814, allocations: 76 kB / 431.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.2815, allocations: 80 kB / 431.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.2817, allocations: 167.4 kB / 431.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003706/0.2821, allocations: 354.5 kB / 432 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.2831, allocations: 0.9336 MB / 432.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2831, allocations: 0 / 432.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2831, allocations: 0 / 432.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.2831, allocations: 0 / 432.9 MB, free: 5.328 MB / 334.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.00208/0.2852, allocations: 1.057 MB / 434 MB, free: 4.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.2852, allocations: 8.031 kB / 434 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.2854, allocations: 92.42 kB / 434.1 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.2862, allocations: 427.2 kB / 434.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.2864, allocations: 148.3 kB / 434.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-05/0.2865, allocations: 52.33 kB / 434.7 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.288, allocations: 1.161 MB / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.288, allocations: 0 / 435.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.2881, allocations: 24 kB / 435.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2881, allocations: 8 kB / 435.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2892, allocations: 447.7 kB / 436.3 MB, free: 1.637 MB / 334.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.002942/0.2921, allocations: 1.464 MB / 437.8 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.294, allocations: 0.5767 MB / 438.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005744/0.2946, allocations: 248.4 kB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-05/0.2947, allocations: 16.36 kB / 438.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.2947, allocations: 43 kB / 438.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.355e-06/0.2947, allocations: 0 / 438.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004947/0.2996, allocations: 1.25 MB / 439.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003604/0.3, allocations: 0.5643 MB / 440.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006779/0.3007, allocations: 0.4989 MB / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.21e-05/0.3007, allocations: 37.7 kB / 441 MB, free: 12.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.301, allocations: 293.7 kB / 441.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.3012, allocations: 194.3 kB / 441.5 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001991/0.3014, allocations: 114.3 kB / 441.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.3016, allocations: 374.8 kB / 442 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.3021, allocations: 218.9 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.3032, allocations: 0.9596 MB / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3043, allocations: 495.5 kB / 443.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3043, allocations: 0 / 443.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002358/0.3067, allocations: 0.823 MB / 444.5 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.3067, allocations: 33.7 kB / 444.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.3067, allocations: 0 / 444.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.3077, allocations: 222.4 kB / 444.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.3085, allocations: 127.8 kB / 444.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007899/0.3164, allocations: 5.19 MB / 450 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/0.3171, allocations: 75.91 kB / 450.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.405e-05/0.3172, allocations: 20 kB / 450.1 MB, free: 2.984 MB / 350.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.0003248/0.3175, allocations: 193.8 kB / 450.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3176, allocations: 75.45 kB / 450.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.32, allocations: 0.7598 MB / 451.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.32, allocations: 4 kB / 451.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.32, allocations: 0 / 451.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002572/0.3226, allocations: 1.037 MB / 452.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.3258, allocations: 1.293 MB / 453.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3258, allocations: 0 / 453.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.3266, allocations: 135.8 kB / 453.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008553/0.3275, allocations: 177.5 kB / 453.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.3275, allocations: 15.98 kB / 453.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005688/0.3332, allocations: 3.531 MB / 457.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3332, allocations: 0 / 457.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.3362, allocations: 1.061 MB / 458.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.3365, allocations: 127.4 kB / 458.5 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.3366, allocations: 19.94 kB / 458.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004898/0.3371, allocations: 35.95 kB / 458.6 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.3372, allocations: 52.41 kB / 458.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/0.3373, allocations: 12 kB / 458.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004813/0.3377, allocations: 358.9 kB / 459 MB, free: 9.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3377, allocations: 0 / 459 MB, free: 9.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008183/0.3386, allocations: 223.8 kB / 459.2 MB, free: 9.484 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.0001745/0.3387, allocations: 113.2 kB / 459.3 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.3412, allocations: 1.034 MB / 460.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3412, allocations: 4 kB / 460.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3422, allocations: 0.5157 MB / 460.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.343, allocations: 169.5 kB / 461 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.3454, allocations: 1.316 MB / 462.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3457, allocations: 289.8 kB / 462.6 MB, free: 5.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.3459, allocations: 59.42 kB / 462.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3459, allocations: 0 / 462.7 MB, free: 5.848 MB / 366.1 MB Notification: Performance of Templates: time 0.02232/0.3682, allocations: 15.58 MB / 478.3 MB, free: 6.355 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.805295038968325]