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.001456/0.001456, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001545/0.001545, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.459/1.459, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.463e-06/1.463e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.818e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005996/0.006024, allocations: 3.98 MB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.008567, allocations: 1.191 MB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.008888, allocations: 11.94 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.009284, allocations: 130.8 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006367/0.009921, allocations: 281.5 kB / 277.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005104/0.01043, allocations: 215.5 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.0116, allocations: 0.9643 MB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003194/0.01191, allocations: 165 kB / 279.1 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000755/0.01267, allocations: 0.5417 MB / 279.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004783/0.01315, allocations: 299.2 kB / 279.9 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.01328, allocations: 76 kB / 280 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.01346, allocations: 80 kB / 280.1 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.01366, allocations: 179.3 kB / 280.3 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003906/0.01405, allocations: 295.4 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001276/0.01532, allocations: 0.9657 MB / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01533, allocations: 0 / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01533, allocations: 0 / 281.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.01534, allocations: 0 / 281.5 MB, free: 8.434 MB / 266.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.002219/0.01756, allocations: 1.045 MB / 282.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.0176, allocations: 11.98 kB / 282.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.01799, allocations: 132.5 kB / 282.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008768/0.01886, allocations: 434.4 kB / 283.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.0192, allocations: 152.4 kB / 283.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.01931, allocations: 56.38 kB / 283.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.02097, allocations: 1.154 MB / 284.5 MB, free: 5.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.02099, allocations: 4 kB / 284.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.02105, allocations: 27.94 kB / 284.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.02107, allocations: 12 kB / 284.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.02222, allocations: 443.7 kB / 285 MB, free: 4.695 MB / 266.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.003183/0.0254, allocations: 1.476 MB / 286.4 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.02743, allocations: 0.5691 MB / 287 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006177/0.02805, allocations: 242.2 kB / 287.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.0281, allocations: 12.5 kB / 287.3 MB, free: 2.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.02814, allocations: 43.06 kB / 287.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.124e-06/0.02815, allocations: 0 / 287.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.005381/0.03353, allocations: 1.272 MB / 288.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004182/0.03394, allocations: 0.5761 MB / 289.2 MB, free: 284 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.03466, allocations: 0.495 MB / 289.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-05/0.03473, allocations: 41.7 kB / 289.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.03502, allocations: 285.7 kB / 290 MB, free: 15.44 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002059/0.03522, allocations: 198.2 kB / 290.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000319/0.03554, allocations: 110.3 kB / 290.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002407/0.03578, allocations: 370.8 kB / 290.6 MB, free: 14.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.03638, allocations: 222.9 kB / 290.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/0.0376, allocations: 0.9674 MB / 291.8 MB, free: 13.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.03881, allocations: 491.8 kB / 292.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.03881, allocations: 0 / 292.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002688/0.0415, allocations: 0.8541 MB / 293.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.808e-05/0.04156, allocations: 29.7 kB / 293.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.04157, allocations: 7.938 kB / 293.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001638/0.04321, allocations: 270.3 kB / 293.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.04401, allocations: 123.8 kB / 293.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009172/0.05318, allocations: 5.201 MB / 298.8 MB, free: 6.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.05393, allocations: 75.69 kB / 298.8 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.05399, allocations: 16 kB / 298.9 MB, free: 5.938 MB / 282.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.0003403/0.05433, allocations: 189.8 kB / 299 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/0.05451, allocations: 87.62 kB / 299.1 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.05715, allocations: 0.7675 MB / 299.9 MB, free: 4.863 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.05716, allocations: 4 kB / 299.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.05716, allocations: 0 / 299.9 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002587/0.05975, allocations: 1.033 MB / 300.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.06324, allocations: 1.313 MB / 302.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.06325, allocations: 0 / 302.3 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008145/0.06406, allocations: 123.8 kB / 302.4 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.06544, allocations: 221.4 kB / 302.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.06548, allocations: 11.98 kB / 302.6 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1148/0.1802, allocations: 3.525 MB / 306.1 MB, free: 40.29 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1802, allocations: 0 / 306.1 MB, free: 40.29 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.1831, allocations: 1.076 MB / 307.2 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.1834, allocations: 132.3 kB / 307.3 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.558e-05/0.1835, allocations: 13.12 kB / 307.3 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.184, allocations: 35.92 kB / 307.4 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.1841, allocations: 51.19 kB / 307.4 MB, free: 40.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.1841, allocations: 19.52 kB / 307.4 MB, free: 40.14 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003951/0.1845, allocations: 354.8 kB / 307.8 MB, free: 40.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1845, allocations: 1.781 kB / 307.8 MB, free: 40.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008117/0.1853, allocations: 223.3 kB / 308 MB, free: 40.05 MB / 282.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.0001215/0.1855, allocations: 114.7 kB / 308.1 MB, free: 39.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.1876, allocations: 1.032 MB / 309.2 MB, free: 39.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1876, allocations: 2.344 kB / 309.2 MB, free: 39.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009063/0.1885, allocations: 0.516 MB / 309.7 MB, free: 39.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008085/0.1893, allocations: 191.9 kB / 309.9 MB, free: 39.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1912, allocations: 1.19 MB / 311.1 MB, free: 38.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1914, allocations: 290.8 kB / 311.3 MB, free: 38.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.1918, allocations: 80.67 kB / 311.4 MB, free: 38.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.1919, allocations: 50.62 kB / 311.5 MB, free: 38.4 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1919, allocations: 0 / 311.5 MB, free: 38.4 MB / 282.7 MB Notification: Performance of Templates: time 0.01928/0.2112, allocations: 14.49 MB / 326 MB, free: 30.02 MB / 282.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: 4.9565956820733845]