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.001742/0.001742, allocations: 80.56 kB / 20.68 MB, free: 1.027 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.002076/0.002076, allocations: 163.9 kB / 23.95 MB, free: 4.152 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.445/1.445, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.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 1.282e-06/1.282e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.452e-05/2.58e-05, allocations: 3.625 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005383/0.005409, allocations: 3.978 MB / 329 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.00768, allocations: 1.198 MB / 330.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.007919, allocations: 10.38 kB / 330.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.008291, allocations: 132.8 kB / 330.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006088/0.0089, allocations: 283.8 kB / 330.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.009382, allocations: 203.8 kB / 330.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.01043, allocations: 0.9666 MB / 331.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.01072, allocations: 165.6 kB / 332 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.01143, allocations: 0.5453 MB / 332.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004385/0.01186, allocations: 299.5 kB / 332.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.01198, allocations: 77.12 kB / 332.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.01217, allocations: 87.03 kB / 333 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001706/0.01234, allocations: 172.2 kB / 333.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.0127, allocations: 296.6 kB / 333.4 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.01374, allocations: 0.956 MB / 334.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.01375, allocations: 0 / 334.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.01375, allocations: 1.156 kB / 334.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.01376, allocations: 0 / 334.4 MB, free: 10.43 MB / 302.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.01583, allocations: 1.048 MB / 335.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.01586, allocations: 13.36 kB / 335.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/0.01615, allocations: 93.06 kB / 335.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007276/0.01688, allocations: 435.4 kB / 336 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.01707, allocations: 146 kB / 336.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.575e-05/0.01716, allocations: 46.97 kB / 336.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.01866, allocations: 1.161 MB / 337.3 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.01868, allocations: 5.125 kB / 337.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-05/0.01874, allocations: 25.84 kB / 337.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.01875, allocations: 10.47 kB / 337.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.01988, allocations: 445.8 kB / 337.8 MB, free: 7.695 MB / 302.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.00296/0.02284, allocations: 1.469 MB / 339.3 MB, free: 6.598 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.02489, allocations: 0.5723 MB / 339.8 MB, free: 6.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.0255, allocations: 240.9 kB / 340.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.917e-05/0.02555, allocations: 16.48 kB / 340.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.02559, allocations: 39.06 kB / 340.1 MB, free: 5.719 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.054e-06/0.02559, allocations: 3.938 kB / 340.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005227/0.03082, allocations: 1.248 MB / 341.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000339/0.03116, allocations: 0.5722 MB / 341.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006371/0.03179, allocations: 0.4911 MB / 342.4 MB, free: 3.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.03185, allocations: 37.7 kB / 342.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.03211, allocations: 297.7 kB / 342.8 MB, free: 2.895 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.03229, allocations: 198.2 kB / 343 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.0325, allocations: 110.3 kB / 343.1 MB, free: 2.586 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.03269, allocations: 370.8 kB / 343.4 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005708/0.03326, allocations: 218.9 kB / 343.6 MB, free: 1.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.03437, allocations: 0.9596 MB / 344.6 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.03551, allocations: 491.8 kB / 345.1 MB, free: 328 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.03551, allocations: 0 / 345.1 MB, free: 328 kB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002458/0.03797, allocations: 0.8346 MB / 345.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.03801, allocations: 33.7 kB / 346 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.03802, allocations: 4 kB / 346 MB, free: 15.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.03907, allocations: 222.4 kB / 346.2 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000771/0.03984, allocations: 131.8 kB / 346.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008094/0.04794, allocations: 5.186 MB / 351.5 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/0.04863, allocations: 71.91 kB / 351.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.04867, allocations: 19.98 kB / 351.6 MB, free: 9.473 MB / 318.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.0003224/0.049, allocations: 192.8 kB / 351.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.04912, allocations: 67.75 kB / 351.8 MB, free: 9.211 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/0.05156, allocations: 0.7675 MB / 352.6 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.05157, allocations: 12 kB / 352.6 MB, free: 8.422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.05157, allocations: 3.984 kB / 352.6 MB, free: 8.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/0.05398, allocations: 1.029 MB / 353.6 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.05739, allocations: 1.297 MB / 354.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-06/0.05739, allocations: 3.984 kB / 354.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.05822, allocations: 127.8 kB / 355.1 MB, free: 5.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009026/0.05912, allocations: 173.6 kB / 355.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.05916, allocations: 11.98 kB / 355.2 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005657/0.06482, allocations: 3.516 MB / 358.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.06482, allocations: 0 / 358.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/0.06791, allocations: 1.061 MB / 359.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003439/0.06825, allocations: 127.4 kB / 360 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/0.06834, allocations: 12 kB / 360 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005404/0.06888, allocations: 39.97 kB / 360 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.06904, allocations: 56.28 kB / 360.1 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.06908, allocations: 16 kB / 360.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004583/0.06954, allocations: 358.9 kB / 360.4 MB, free: 220 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.06954, allocations: 0 / 360.4 MB, free: 220 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007817/0.07032, allocations: 219.8 kB / 360.6 MB, free: 0 / 318.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.0002401/0.07056, allocations: 117.7 kB / 360.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.07308, allocations: 1.038 MB / 361.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.07308, allocations: 0 / 361.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.07417, allocations: 0.5197 MB / 362.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.075, allocations: 174.5 kB / 362.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.07727, allocations: 1.175 MB / 363.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.07757, allocations: 289.9 kB / 363.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002827/0.07785, allocations: 76.92 kB / 364 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.07801, allocations: 56.48 kB / 364.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.07801, allocations: 0 / 364.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of Templates: time 0.02525/0.1033, allocations: 14.43 MB / 378.5 MB, free: 14.27 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/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: 4.992240373045206]