Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 77.94 kB / 20.68 MB, free: 1.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 151.2 kB / 23.94 MB, free: 4.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.406e-05, allocations: 4.281 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004681/0.004705, allocations: 3.954 MB / 322.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.006691, allocations: 1.163 MB / 324 MB, free: 84 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.006942, allocations: 11.09 kB / 324 MB, free: 80 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.007308, allocations: 131.8 kB / 324.2 MB, free: 4 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000685/0.007993, allocations: 285.5 kB / 324.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.008511, allocations: 207.4 kB / 324.6 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001126/0.009637, allocations: 0.9678 MB / 325.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.009945, allocations: 156.8 kB / 325.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007617/0.01071, allocations: 0.5363 MB / 326.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.01119, allocations: 296 kB / 326.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.01132, allocations: 76.31 kB / 326.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.01147, allocations: 77.75 kB / 326.7 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.01166, allocations: 178.8 kB / 326.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.01205, allocations: 296.4 kB / 327.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.01325, allocations: 0.9603 MB / 328.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.01325, allocations: 1.438 kB / 328.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01325, allocations: 0 / 328.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.01327, allocations: 0 / 328.2 MB, free: 14.13 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.002114/0.01538, allocations: 1.045 MB / 329.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.01541, allocations: 10.7 kB / 329.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.01557, allocations: 94.83 kB / 329.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007661/0.01634, allocations: 426.5 kB / 329.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.01652, allocations: 147.9 kB / 329.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.56e-05/0.0166, allocations: 52.11 kB / 329.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.01812, allocations: 1.158 MB / 331.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.01814, allocations: 1.031 kB / 331.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-05/0.0182, allocations: 26.44 kB / 331.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.01821, allocations: 10.56 kB / 331.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.01933, allocations: 441.1 kB / 331.6 MB, free: 11.72 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.002973/0.02231, allocations: 1.482 MB / 333 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.02429, allocations: 0.5715 MB / 333.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.02487, allocations: 243 kB / 333.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.02492, allocations: 7.25 kB / 333.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.02496, allocations: 40.69 kB / 333.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.903e-06/0.02496, allocations: 0.875 kB / 333.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005271/0.03023, allocations: 1.252 MB / 335.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003299/0.03056, allocations: 0.5686 MB / 335.7 MB, free: 8.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006048/0.03117, allocations: 0.4979 MB / 336.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.599e-05/0.03123, allocations: 38.98 kB / 336.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.03149, allocations: 292.1 kB / 336.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.03168, allocations: 196.4 kB / 336.7 MB, free: 8.086 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.03188, allocations: 117.1 kB / 336.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.03208, allocations: 368.5 kB / 337.2 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005674/0.03265, allocations: 219.6 kB / 337.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.03375, allocations: 0.9619 MB / 338.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.0349, allocations: 493.9 kB / 338.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.03491, allocations: 0 / 338.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002529/0.03744, allocations: 0.8284 MB / 339.7 MB, free: 5.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.03747, allocations: 33.02 kB / 339.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.03748, allocations: 0 / 339.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.03857, allocations: 230.4 kB / 339.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007662/0.03934, allocations: 123.6 kB / 340.1 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008482/0.04782, allocations: 5.192 MB / 345.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007264/0.04855, allocations: 67.75 kB / 345.3 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.0486, allocations: 16 kB / 345.3 MB, free: 96 kB / 302.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.0003535/0.04895, allocations: 197.9 kB / 345.5 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.04908, allocations: 71.58 kB / 345.6 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.05163, allocations: 0.7637 MB / 346.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.05163, allocations: 12 kB / 346.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.05163, allocations: 0 / 346.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002454/0.05409, allocations: 1.025 MB / 347.4 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/0.0575, allocations: 1.297 MB / 348.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.05751, allocations: 0 / 348.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.05833, allocations: 131.8 kB / 348.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009611/0.05929, allocations: 181.6 kB / 349 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.05933, allocations: 12 kB / 349 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005948/0.06528, allocations: 3.523 MB / 352.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.06528, allocations: 0 / 352.5 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.06863, allocations: 1.065 MB / 353.6 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/0.06906, allocations: 123.4 kB / 353.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.06916, allocations: 12 kB / 353.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/0.06971, allocations: 39.95 kB / 353.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.06984, allocations: 44.36 kB / 353.8 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.06989, allocations: 19.98 kB / 353.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005051/0.07039, allocations: 358.9 kB / 354.2 MB, free: 6.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07039, allocations: 4 kB / 354.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008525/0.07124, allocations: 219.8 kB / 354.4 MB, free: 6.609 MB / 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.0001688/0.07141, allocations: 111.4 kB / 354.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.07412, allocations: 1.038 MB / 355.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.07412, allocations: 4.062 kB / 355.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.07526, allocations: 0.5194 MB / 356.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.07615, allocations: 181.2 kB / 356.3 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.07846, allocations: 1.164 MB / 357.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.07879, allocations: 289.9 kB / 357.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003074/0.0791, allocations: 76.92 kB / 357.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.07924, allocations: 52.5 kB / 357.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of SimCode: time 7.51e-07/0.07924, allocations: 0 / 357.8 MB, free: 3.039 MB / 318.1 MB Notification: Performance of Templates: time 0.02638/0.1056, allocations: 14.43 MB / 372.3 MB, free: 4.891 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.896610252559185]