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.006602/0.006602, allocations: 109.8 kB / 21.98 MB, free: 5.184 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.001483/0.001483, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.574/1.574, allocations: 230.6 MB / 259 MB, free: 8.035 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.001982/0.001982, allocations: 67.89 kB / 379.8 MB, free: 2.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2841, allocations: 53.36 MB / 433.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006204/0.2903, allocations: 4.424 MB / 437.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.2931, allocations: 1.258 MB / 438.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.2935, allocations: 11.94 kB / 438.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.2939, allocations: 138.8 kB / 439 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006775/0.2946, allocations: 273.8 kB / 439.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.2952, allocations: 191.7 kB / 439.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.2963, allocations: 0.932 MB / 440.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.2967, allocations: 174.5 kB / 440.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005681/0.2972, allocations: 378.7 kB / 440.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.2978, allocations: 406.3 kB / 441.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.2979, allocations: 76 kB / 441.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.2981, allocations: 84 kB / 441.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.2982, allocations: 171.4 kB / 441.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.2986, allocations: 418 kB / 442 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2998, allocations: 0.9257 MB / 443 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.2998, allocations: 0 / 443 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.2998, allocations: 4 kB / 443 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2998, allocations: 0 / 443 MB, free: 13.12 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.002168/0.302, allocations: 1.057 MB / 444 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.302, allocations: 11.97 kB / 444 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002831/0.3023, allocations: 96.45 kB / 444.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008456/0.3031, allocations: 427.2 kB / 444.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.3033, allocations: 96.95 kB / 444.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.293e-05/0.3034, allocations: 48.38 kB / 444.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.3048, allocations: 0.6516 MB / 445.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.3048, allocations: 0 / 445.4 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.3048, allocations: 24 kB / 445.4 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3048, allocations: 12 kB / 445.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.3061, allocations: 455.6 kB / 445.8 MB, free: 10.12 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.003573/0.3096, allocations: 1.873 MB / 447.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.3117, allocations: 0.5806 MB / 448.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.3123, allocations: 238 kB / 448.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/0.3123, allocations: 20.41 kB / 448.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.3124, allocations: 43 kB / 448.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.475e-06/0.3124, allocations: 0 / 448.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005243/0.3176, allocations: 1.243 MB / 449.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003817/0.318, allocations: 0.5682 MB / 450.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00086/0.3189, allocations: 0.5459 MB / 450.9 MB, free: 4.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.608e-05/0.3189, allocations: 37.7 kB / 451 MB, free: 4.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3192, allocations: 285.2 kB / 451.3 MB, free: 4.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.3195, allocations: 194.3 kB / 451.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3197, allocations: 118.3 kB / 451.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.3199, allocations: 370.8 kB / 451.9 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.3204, allocations: 193.2 kB / 452.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/0.3212, allocations: 425.1 kB / 452.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.3223, allocations: 487.5 kB / 453 MB, free: 2.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.3224, allocations: 0 / 453 MB, free: 2.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002478/0.3248, allocations: 0.8056 MB / 453.8 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.459e-05/0.3249, allocations: 29.7 kB / 453.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3249, allocations: 0 / 453.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.326, allocations: 226.3 kB / 454.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.3267, allocations: 127.8 kB / 454.2 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008335/0.335, allocations: 5.306 MB / 459.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.3358, allocations: 83.64 kB / 459.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.3359, allocations: 16 kB / 459.6 MB, free: 11.55 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.0003738/0.3363, allocations: 193.7 kB / 459.8 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.3364, allocations: 71.58 kB / 459.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.3388, allocations: 0.768 MB / 460.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.523e-06/0.3388, allocations: 7.938 kB / 460.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.3388, allocations: 3.938 kB / 460.6 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002357/0.3412, allocations: 1.037 MB / 461.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.3446, allocations: 1.468 MB / 463.1 MB, free: 7.812 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3446, allocations: 7.938 kB / 463.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.3454, allocations: 127.8 kB / 463.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008834/0.3463, allocations: 173.5 kB / 463.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.3463, allocations: 15.98 kB / 463.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005767/0.3521, allocations: 3.584 MB / 467 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3521, allocations: 0 / 467 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.3551, allocations: 1.065 MB / 468.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.3554, allocations: 131.6 kB / 468.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.3555, allocations: 12 kB / 468.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.356, allocations: 43.91 kB / 468.3 MB, free: 2.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.3562, allocations: 44.41 kB / 468.3 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/0.3562, allocations: 23.92 kB / 468.3 MB, free: 2.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005186/0.3567, allocations: 382.8 kB / 468.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3567, allocations: 0 / 468.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007816/0.3575, allocations: 215.9 kB / 468.9 MB, free: 1.758 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.0001833/0.3577, allocations: 119.2 kB / 469 MB, free: 1.633 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.3602, allocations: 1.017 MB / 470.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3602, allocations: 0 / 470.1 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3612, allocations: 0.5157 MB / 470.6 MB, free: 24 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.3621, allocations: 188.8 kB / 470.8 MB, free: 15.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.3648, allocations: 1.326 MB / 472.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.3653, allocations: 0.8879 MB / 473 MB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.3655, allocations: 59.42 kB / 473 MB, free: 13.5 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3655, allocations: 0 / 473 MB, free: 13.5 MB / 382.1 MB Notification: Performance of Templates: time 0.0216/0.3871, allocations: 15.5 MB / 488.5 MB, free: 14.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/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-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: 9.09003865905106]