Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001177/0.001177, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004678/0.004678, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8607/0.8607, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.705e-05, allocations: 2.844 kB / 325.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003535/0.003562, allocations: 3.981 MB / 329.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.005078, allocations: 1.199 MB / 330.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001809/0.005259, allocations: 11.94 kB / 331 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.005538, allocations: 126.8 kB / 331.1 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.005902, allocations: 285.5 kB / 331.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.006198, allocations: 203.5 kB / 331.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006059/0.006804, allocations: 0.972 MB / 332.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.007019, allocations: 161 kB / 332.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.007464, allocations: 0.5418 MB / 333.2 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.007715, allocations: 303.1 kB / 333.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.007783, allocations: 76 kB / 333.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.007878, allocations: 83.98 kB / 333.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.419e-05/0.007962, allocations: 167.4 kB / 333.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.008133, allocations: 303.3 kB / 334.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.008777, allocations: 0.9579 MB / 335.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.008781, allocations: 0 / 335.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.008782, allocations: 0 / 335.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.008791, allocations: 4 kB / 335.1 MB, free: 5.879 MB / 298.7 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.001189/0.00998, allocations: 1.049 MB / 336.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.01002, allocations: 11.98 kB / 336.2 MB, free: 4.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.01019, allocations: 96.45 kB / 336.3 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.01073, allocations: 430.4 kB / 336.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.01085, allocations: 152.3 kB / 336.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.848e-05/0.01091, allocations: 48.38 kB / 336.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008319/0.01174, allocations: 1.158 MB / 338 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.01176, allocations: 0 / 338 MB, free: 2.656 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.01179, allocations: 24 kB / 338.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.0118, allocations: 8 kB / 338.1 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006018/0.01241, allocations: 455.6 kB / 338.5 MB, free: 2.18 MB / 298.7 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.001802/0.01421, allocations: 1.468 MB / 340 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/0.01525, allocations: 0.5687 MB / 340.5 MB, free: 72 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.01558, allocations: 242.9 kB / 340.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.01561, allocations: 8.5 kB / 340.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.01564, allocations: 47 kB / 340.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=54): time 1.954e-06/0.01564, allocations: 0 / 340.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=54): time 0.002497/0.01814, allocations: 1.248 MB / 342.1 MB, free: 14.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001673/0.01831, allocations: 0.576 MB / 342.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.01869, allocations: 0.4951 MB / 343.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.01873, allocations: 37.7 kB / 343.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.01887, allocations: 293.6 kB / 343.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.01898, allocations: 198.2 kB / 343.7 MB, free: 12.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.01909, allocations: 114.3 kB / 343.8 MB, free: 12.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.0192, allocations: 366.8 kB / 344.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.0195, allocations: 218.9 kB / 344.4 MB, free: 12.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005459/0.02004, allocations: 0.9597 MB / 345.3 MB, free: 10.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.02065, allocations: 491.8 kB / 345.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02065, allocations: 0 / 345.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001254/0.02191, allocations: 0.8345 MB / 346.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.02194, allocations: 33.7 kB / 346.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.02195, allocations: 0 / 346.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005538/0.0225, allocations: 218.4 kB / 346.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.02286, allocations: 127.8 kB / 347 MB, free: 9.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004333/0.02719, allocations: 5.186 MB / 352.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.02757, allocations: 71.91 kB / 352.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.02759, allocations: 20 kB / 352.3 MB, free: 3.539 MB / 314.7 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.0002312/0.02783, allocations: 189.8 kB / 352.5 MB, free: 3.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.02789, allocations: 67.61 kB / 352.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.02912, allocations: 0.7675 MB / 353.3 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.02913, allocations: 11.98 kB / 353.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.02913, allocations: 0 / 353.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001144/0.03027, allocations: 1.029 MB / 354.3 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/0.032, allocations: 1.301 MB / 355.6 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.03201, allocations: 112 / 355.6 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.03238, allocations: 139.8 kB / 355.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.03279, allocations: 169.6 kB / 355.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.03281, allocations: 8 kB / 355.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.03562, allocations: 3.516 MB / 359.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.03562, allocations: 0 / 359.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.0371, allocations: 1.065 MB / 360.5 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.03728, allocations: 123.6 kB / 360.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.03733, allocations: 16 kB / 360.7 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.03757, allocations: 43.89 kB / 360.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/0.03766, allocations: 48.36 kB / 360.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.03768, allocations: 15.98 kB / 360.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002741/0.03796, allocations: 358.9 kB / 361.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03796, allocations: 3.938 kB / 361.1 MB, free: 10.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004966/0.03845, allocations: 223.8 kB / 361.3 MB, free: 10.06 MB / 330.7 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.0001325/0.03859, allocations: 111.2 kB / 361.5 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.03989, allocations: 1.034 MB / 362.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.03989, allocations: 0 / 362.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005203/0.04041, allocations: 0.5158 MB / 363 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/0.04092, allocations: 179.3 kB / 363.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.04237, allocations: 1.219 MB / 364.4 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.04255, allocations: 289.9 kB / 364.7 MB, free: 6.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.04266, allocations: 52.48 kB / 364.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.04266, allocations: 0 / 364.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of Templates: time 0.01139/0.05405, allocations: 15.58 MB / 380.3 MB, free: 7.016 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.162298477254808]