Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00148/0.00148, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001625/0.001625, allocations: 209.7 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.394/1.394, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 67.84 kB / 378.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2321, allocations: 53.31 MB / 432 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005682/0.2378, allocations: 4.427 MB / 436.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.2401, allocations: 1.248 MB / 437.7 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.2406, allocations: 11.94 kB / 437.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.241, allocations: 134.8 kB / 437.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006871/0.2417, allocations: 269.8 kB / 438.1 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.2422, allocations: 199.6 kB / 438.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.2433, allocations: 0.9258 MB / 439.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.2436, allocations: 176.6 kB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005308/0.2441, allocations: 378.6 kB / 439.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005096/0.2446, allocations: 398.4 kB / 440.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.2447, allocations: 76 kB / 440.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.2449, allocations: 80 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.245, allocations: 179.3 kB / 440.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003904/0.2454, allocations: 414.1 kB / 440.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009969/0.2464, allocations: 0.9337 MB / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2464, allocations: 0 / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2464, allocations: 0 / 441.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.2464, allocations: 0 / 441.8 MB, free: 13.52 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.002053/0.2485, allocations: 1.136 MB / 443 MB, free: 12.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2485, allocations: 12.03 kB / 443 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002642/0.2488, allocations: 92.45 kB / 443.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008011/0.2496, allocations: 485 kB / 443.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/0.2498, allocations: 105 kB / 443.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.2498, allocations: 44.38 kB / 443.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.251, allocations: 0.6477 MB / 444.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.251, allocations: 3.984 kB / 444.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.2511, allocations: 20 kB / 444.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.2511, allocations: 12 kB / 444.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.2522, allocations: 451.6 kB / 444.8 MB, free: 10.35 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.003186/0.2554, allocations: 1.949 MB / 446.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.2573, allocations: 0.6587 MB / 447.4 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.2579, allocations: 238 kB / 447.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.2579, allocations: 17.06 kB / 447.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.258, allocations: 47 kB / 447.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.555e-06/0.258, allocations: 3.938 kB / 447.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005147/0.2631, allocations: 1.464 MB / 449.2 MB, free: 5.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003091/0.2634, allocations: 0.5683 MB / 449.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007037/0.2641, allocations: 0.5382 MB / 450.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.2642, allocations: 41.7 kB / 450.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002541/0.2645, allocations: 289.2 kB / 450.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.2646, allocations: 198.3 kB / 450.8 MB, free: 3.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.2648, allocations: 106.2 kB / 450.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.265, allocations: 378.7 kB / 451.3 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.2656, allocations: 197 kB / 451.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.2663, allocations: 416.3 kB / 451.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.2674, allocations: 488.5 kB / 452.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2674, allocations: 0 / 452.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002379/0.2698, allocations: 0.811 MB / 453.2 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.2698, allocations: 36.67 kB / 453.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2698, allocations: 0 / 453.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.2708, allocations: 226.3 kB / 453.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.2715, allocations: 127.8 kB / 453.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007922/0.2795, allocations: 5.612 MB / 459.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007209/0.2802, allocations: 79.64 kB / 459.2 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.2802, allocations: 19.98 kB / 459.3 MB, free: 10.93 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.0003071/0.2805, allocations: 193.7 kB / 459.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.2807, allocations: 75.58 kB / 459.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/0.283, allocations: 0.7734 MB / 460.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.283, allocations: 4 kB / 460.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.283, allocations: 0 / 460.3 MB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00226/0.2853, allocations: 1.035 MB / 461.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/0.2887, allocations: 1.494 MB / 462.8 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.2887, allocations: 8.062 kB / 462.8 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007598/0.2894, allocations: 123.8 kB / 463 MB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000868/0.2903, allocations: 177.5 kB / 463.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.2903, allocations: 19.98 kB / 463.2 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005505/0.2958, allocations: 3.803 MB / 467 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2958, allocations: 0 / 467 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.2987, allocations: 1.067 MB / 468 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.299, allocations: 208.5 kB / 468.2 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.2991, allocations: 12 kB / 468.2 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.2996, allocations: 35.97 kB / 468.3 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2997, allocations: 40.5 kB / 468.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.933e-05/0.2997, allocations: 23.92 kB / 468.3 MB, free: 1.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004735/0.3002, allocations: 386.8 kB / 468.7 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3002, allocations: 3.938 kB / 468.7 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007444/0.301, allocations: 223.8 kB / 468.9 MB, free: 0.7227 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.0001634/0.3011, allocations: 115.2 kB / 469.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002381/0.3035, allocations: 1.007 MB / 470.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3035, allocations: 4.188 kB / 470.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3045, allocations: 0.5198 MB / 470.6 MB, free: 15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.3054, allocations: 182.7 kB / 470.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.3077, allocations: 1.322 MB / 472.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.3082, allocations: 0.884 MB / 473 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3084, allocations: 59.42 kB / 473 MB, free: 12.49 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3084, allocations: 0 / 473 MB, free: 12.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01927/0.3276, allocations: 15.5 MB / 488.5 MB, free: 13.08 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.246258321218193]