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.001345/0.001345, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.001507/0.001507, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.477/1.477, allocations: 177 MB / 204.1 MB, free: 9.16 MB / 190.1 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.422e-06/1.422e-06, allocations: 0 / 325 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.081e-05, allocations: 2.281 kB / 325 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005356/0.005376, allocations: 3.971 MB / 329 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.007554, allocations: 1.194 MB / 330.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.007785, allocations: 14.75 kB / 330.2 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.008137, allocations: 132.1 kB / 330.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006039/0.008741, allocations: 284 kB / 330.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.009228, allocations: 200.9 kB / 330.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.01033, allocations: 0.975 MB / 331.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.01063, allocations: 166 kB / 331.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.01133, allocations: 0.541 MB / 332.5 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.01178, allocations: 300.3 kB / 332.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01189, allocations: 76.75 kB / 332.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.01206, allocations: 78.81 kB / 332.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.01226, allocations: 176.6 kB / 333.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.01271, allocations: 296 kB / 333.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.01384, allocations: 0.9606 MB / 334.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01384, allocations: 0 / 334.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.01384, allocations: 0 / 334.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.01385, allocations: 0 / 334.3 MB, free: 10.4 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.002127/0.01598, allocations: 1.049 MB / 335.4 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01602, allocations: 13.23 kB / 335.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002622/0.01628, allocations: 92.95 kB / 335.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.01712, allocations: 439.7 kB / 335.9 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.01731, allocations: 150.1 kB / 336.1 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/0.01739, allocations: 46.59 kB / 336.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.01894, allocations: 1.157 MB / 337.3 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.01896, allocations: 5.297 kB / 337.3 MB, free: 7.883 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.01903, allocations: 21.38 kB / 337.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.01904, allocations: 11.28 kB / 337.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.02016, allocations: 450.1 kB / 337.7 MB, free: 7.656 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.003068/0.02322, allocations: 1.465 MB / 339.2 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.02527, allocations: 0.5793 MB / 339.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006144/0.02588, allocations: 238.2 kB / 340 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.02593, allocations: 8.5 kB / 340 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.02598, allocations: 47.06 kB / 340.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 4.138e-06/0.02598, allocations: 3.984 kB / 340.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005357/0.03134, allocations: 1.256 MB / 341.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003413/0.03168, allocations: 0.5644 MB / 341.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.03234, allocations: 0.495 MB / 342.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.03241, allocations: 41.7 kB / 342.4 MB, free: 3.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.03266, allocations: 289.7 kB / 342.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.03285, allocations: 202.2 kB / 342.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.03306, allocations: 110.3 kB / 343 MB, free: 2.504 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.03325, allocations: 366.8 kB / 343.4 MB, free: 2.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.03383, allocations: 218.9 kB / 343.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.03495, allocations: 0.9635 MB / 344.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.03617, allocations: 487.8 kB / 345 MB, free: 248 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.03617, allocations: 0 / 345 MB, free: 248 kB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002604/0.03878, allocations: 0.8346 MB / 345.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.03882, allocations: 29.7 kB / 345.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.03883, allocations: 4 kB / 345.9 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.03992, allocations: 218.4 kB / 346.1 MB, free: 15.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008128/0.04074, allocations: 127.8 kB / 346.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/0.04919, allocations: 5.197 MB / 351.4 MB, free: 9.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/0.04991, allocations: 71.75 kB / 351.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.04996, allocations: 16 kB / 351.5 MB, free: 9.402 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.0003119/0.05027, allocations: 189.7 kB / 351.7 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.0504, allocations: 67.62 kB / 351.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.05301, allocations: 0.7676 MB / 352.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.05302, allocations: 4 kB / 352.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.05302, allocations: 0 / 352.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002509/0.05553, allocations: 1.041 MB / 353.6 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00341/0.05894, allocations: 1.297 MB / 354.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.05894, allocations: 0 / 354.9 MB, free: 5.863 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008231/0.05976, allocations: 127.8 kB / 355 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009322/0.0607, allocations: 181.5 kB / 355.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.06074, allocations: 12 kB / 355.2 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00589/0.06663, allocations: 3.516 MB / 358.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.06663, allocations: 0 / 358.7 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003175/0.0698, allocations: 1.057 MB / 359.8 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/0.07013, allocations: 135.5 kB / 359.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.444e-05/0.07022, allocations: 12 kB / 359.9 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005489/0.07077, allocations: 35.97 kB / 359.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.07091, allocations: 52.34 kB / 360 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.07095, allocations: 19.98 kB / 360 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004622/0.07141, allocations: 350.9 kB / 360.4 MB, free: 156 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07141, allocations: 0 / 360.4 MB, free: 156 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.07223, allocations: 223.8 kB / 360.6 MB, free: 15.93 MB / 334.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.0001662/0.07239, allocations: 115.2 kB / 360.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002625/0.07502, allocations: 1.038 MB / 361.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.07502, allocations: 4 kB / 361.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.07617, allocations: 0.5196 MB / 362.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.07705, allocations: 174.5 kB / 362.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.07936, allocations: 1.176 MB / 363.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.07968, allocations: 293.8 kB / 363.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000302/0.07998, allocations: 76.92 kB / 364 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.08013, allocations: 48.5 kB / 364 MB, free: 12.35 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.08013, allocations: 4 kB / 364 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Templates: time 0.02605/0.1062, allocations: 14.42 MB / 378.4 MB, free: 14.19 MB / 350.1 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.068091031163931]