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.001504/0.001504, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00162/0.00162, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.39/1.39, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.001551/0.001551, allocations: 47.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2337, allocations: 53.36 MB / 432.4 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005807/0.2395, allocations: 4.422 MB / 436.8 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.2418, allocations: 1.258 MB / 438.1 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.242, allocations: 15.88 kB / 438.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.2424, allocations: 134.8 kB / 438.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005234/0.2429, allocations: 265.8 kB / 438.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.2433, allocations: 203.6 kB / 438.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2444, allocations: 0.9336 MB / 439.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.2447, allocations: 170.6 kB / 439.8 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004957/0.2452, allocations: 378.6 kB / 440.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005177/0.2457, allocations: 402.3 kB / 440.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.2458, allocations: 76 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.2459, allocations: 84 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.2461, allocations: 175.3 kB / 440.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003894/0.2465, allocations: 418.1 kB / 441.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.2475, allocations: 0.9257 MB / 442.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2475, allocations: 0 / 442.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2475, allocations: 4 kB / 442.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.2476, allocations: 0 / 442.2 MB, free: 13.04 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.002098/0.2497, allocations: 1.068 MB / 443.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2497, allocations: 8.031 kB / 443.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.25, allocations: 88.47 kB / 443.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.2507, allocations: 435.2 kB / 443.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/0.2509, allocations: 148.4 kB / 443.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.286e-05/0.251, allocations: 48.38 kB / 444 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2522, allocations: 0.6516 MB / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.2522, allocations: 0 / 444.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.2523, allocations: 20 kB / 444.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2523, allocations: 12 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.2533, allocations: 455.6 kB / 445.1 MB, free: 9.969 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.003161/0.2565, allocations: 1.877 MB / 447 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.2584, allocations: 0.5849 MB / 447.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.259, allocations: 241.8 kB / 447.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/0.259, allocations: 8.438 kB / 447.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.2591, allocations: 46.94 kB / 447.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.903e-06/0.2591, allocations: 0 / 447.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.004956/0.264, allocations: 1.246 MB / 449.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003279/0.2643, allocations: 0.5682 MB / 449.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006878/0.265, allocations: 0.5459 MB / 450.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/0.2651, allocations: 45.7 kB / 450.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.2653, allocations: 281.2 kB / 450.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.2655, allocations: 198.3 kB / 450.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.2657, allocations: 110.3 kB / 450.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2659, allocations: 370.8 kB / 451.2 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.2665, allocations: 193.2 kB / 451.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.2672, allocations: 413.2 kB / 451.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.2683, allocations: 495.5 kB / 452.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2683, allocations: 0 / 452.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002383/0.2706, allocations: 0.8056 MB / 453.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.2707, allocations: 33.7 kB / 453.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.2707, allocations: 0 / 453.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2717, allocations: 222.4 kB / 453.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007242/0.2724, allocations: 123.8 kB / 453.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00802/0.2805, allocations: 5.308 MB / 458.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006524/0.2811, allocations: 83.62 kB / 458.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.2812, allocations: 19.98 kB / 458.9 MB, free: 11.41 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.0002878/0.2814, allocations: 193.7 kB / 459 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.2816, allocations: 79.52 kB / 459.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.2839, allocations: 0.7601 MB / 459.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.2839, allocations: 8 kB / 459.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2839, allocations: 7.984 kB / 459.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002281/0.2862, allocations: 1.025 MB / 460.9 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.2895, allocations: 1.472 MB / 462.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.2895, allocations: 3.938 kB / 462.4 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007764/0.2903, allocations: 131.8 kB / 462.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008674/0.2911, allocations: 173.5 kB / 462.7 MB, free: 7.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.2912, allocations: 8 kB / 462.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/0.2966, allocations: 3.592 MB / 466.3 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2966, allocations: 4.125 kB / 466.3 MB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.2995, allocations: 1.069 MB / 467.4 MB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.2998, allocations: 127.5 kB / 467.5 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.919e-05/0.2999, allocations: 12 kB / 467.5 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.3004, allocations: 43.89 kB / 467.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3005, allocations: 48.34 kB / 467.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.363e-05/0.3005, allocations: 19.94 kB / 467.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004924/0.301, allocations: 382.8 kB / 468 MB, free: 1.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.301, allocations: 4 kB / 468 MB, free: 1.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007324/0.3018, allocations: 215.9 kB / 468.2 MB, free: 1.605 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.0001473/0.3019, allocations: 121.2 kB / 468.3 MB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.3042, allocations: 1.009 MB / 469.3 MB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3042, allocations: 4 kB / 469.3 MB, free: 428 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.3053, allocations: 0.5078 MB / 469.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008228/0.3061, allocations: 190.8 kB / 470 MB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3084, allocations: 1.328 MB / 471.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/0.3089, allocations: 0.8879 MB / 472.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.3091, allocations: 63.36 kB / 472.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3091, allocations: 0 / 472.3 MB, free: 13.35 MB / 382.1 MB Notification: Performance of Templates: time 0.01913/0.3282, allocations: 15.5 MB / 487.8 MB, free: 13.94 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/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_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: 8.284088229062036]