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.001704/0.001704, allocations: 119.9 kB / 19.18 MB, free: 3.949 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.001987/0.001987, allocations: 209 kB / 22.13 MB, free: 1.004 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.488/1.488, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.002103/0.002103, allocations: 71.88 kB / 374.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1112, allocations: 53.31 MB / 428.1 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.2435/0.3546, allocations: 4.401 MB / 432.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.3575, allocations: 1.252 MB / 433.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.3578, allocations: 11.72 kB / 433.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.3582, allocations: 132.2 kB / 433.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.3587, allocations: 269.3 kB / 434.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3592, allocations: 196.1 kB / 434.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008644/0.3601, allocations: 0.9324 MB / 435.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.3603, allocations: 172.3 kB / 435.4 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000484/0.3608, allocations: 365.2 kB / 435.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.3612, allocations: 410.2 kB / 436.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.3614, allocations: 75.62 kB / 436.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.3615, allocations: 79.97 kB / 436.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.3617, allocations: 169.1 kB / 436.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.362, allocations: 418.3 kB / 436.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.3632, allocations: 0.9277 MB / 437.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3632, allocations: 4.562 kB / 437.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.3632, allocations: 0 / 437.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.3632, allocations: 0 / 437.8 MB, free: 7.145 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.002069/0.3653, allocations: 1.134 MB / 438.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3653, allocations: 10.36 kB / 439 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002771/0.3656, allocations: 95.78 kB / 439.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/0.3664, allocations: 495.3 kB / 439.5 MB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.3665, allocations: 97 kB / 439.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/0.3666, allocations: 48.36 kB / 439.7 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.3678, allocations: 0.6499 MB / 440.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.3679, allocations: 1.859 kB / 440.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.3679, allocations: 18 kB / 440.3 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.3679, allocations: 10.88 kB / 440.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.369, allocations: 453.5 kB / 440.8 MB, free: 5.273 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.003095/0.3721, allocations: 1.947 MB / 442.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.374, allocations: 0.6634 MB / 443.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005512/0.3745, allocations: 239 kB / 443.6 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.3746, allocations: 12.05 kB / 443.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.3746, allocations: 44.67 kB / 443.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.993e-06/0.3746, allocations: 0 / 443.7 MB, free: 3.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.00516/0.3798, allocations: 1.473 MB / 445.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.3799, allocations: 0.5665 MB / 445.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007144/0.3806, allocations: 0.5443 MB / 446.3 MB, free: 2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.116e-05/0.3807, allocations: 39.55 kB / 446.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.3809, allocations: 284.3 kB / 446.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.381, allocations: 198.5 kB / 446.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.3812, allocations: 111.8 kB / 446.9 MB, free: 1.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3813, allocations: 373.2 kB / 447.3 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.3818, allocations: 196 kB / 447.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.3825, allocations: 418.4 kB / 447.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.3835, allocations: 487.8 kB / 448.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3835, allocations: 0 / 448.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002385/0.3859, allocations: 0.8065 MB / 449.2 MB, free: 224 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.3859, allocations: 35.09 kB / 449.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.3859, allocations: 3.531 kB / 449.2 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.387, allocations: 224.4 kB / 449.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007168/0.3877, allocations: 124.5 kB / 449.5 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008737/0.3965, allocations: 5.611 MB / 455.1 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.3974, allocations: 75.81 kB / 455.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.3975, allocations: 19.36 kB / 455.2 MB, free: 11.18 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.0004311/0.3979, allocations: 202.3 kB / 455.4 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.3981, allocations: 72.84 kB / 455.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/0.4006, allocations: 0.7615 MB / 456.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.4006, allocations: 11.19 kB / 456.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/0.4006, allocations: 4.5 kB / 456.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002404/0.403, allocations: 1.034 MB / 457.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.4066, allocations: 1.492 MB / 458.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4066, allocations: 3.938 kB / 458.8 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007891/0.4074, allocations: 131.3 kB / 458.9 MB, free: 9.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000868/0.4082, allocations: 179.4 kB / 459.1 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.4083, allocations: 13.91 kB / 459.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005882/0.4142, allocations: 3.812 MB / 462.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4142, allocations: 1.25 kB / 462.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00308/0.4173, allocations: 1.07 MB / 464 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.4177, allocations: 206.4 kB / 464.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4178, allocations: 13.88 kB / 464.2 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005528/0.4184, allocations: 32.09 kB / 464.3 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4185, allocations: 43.88 kB / 464.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.4186, allocations: 21.11 kB / 464.3 MB, free: 4.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000568/0.4191, allocations: 389.2 kB / 464.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4191, allocations: 1.219 kB / 464.7 MB, free: 4.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008904/0.42, allocations: 217.7 kB / 464.9 MB, free: 4.578 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.0001721/0.4202, allocations: 112.3 kB / 465 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.4227, allocations: 1.012 MB / 466 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4227, allocations: 1.188 kB / 466 MB, free: 3.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.4238, allocations: 0.5214 MB / 466.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/0.4247, allocations: 188 kB / 466.7 MB, free: 3.301 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.4273, allocations: 1.313 MB / 468.1 MB, free: 2.461 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.4279, allocations: 0.8909 MB / 468.9 MB, free: 1.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.4281, allocations: 58.83 kB / 469 MB, free: 1.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4281, allocations: 0 / 469 MB, free: 1.66 MB / 366.1 MB Notification: Performance of Templates: time 0.02377/0.4519, allocations: 15.5 MB / 484.5 MB, free: 5.934 MB / 382.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: 8.860622324049473]