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.0007159/0.0007159, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001012/0.001728, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009552/0.0009552, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.002041, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9992/0.9992, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.11, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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.143e-06/1.143e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.075e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003822/0.003843, allocations: 4.41 MB / 249.1 MB, free: 9.812 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.005777, allocations: 1.273 MB / 250.4 MB, free: 8.531 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.006029, allocations: 11.88 kB / 250.4 MB, free: 8.52 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.006262, allocations: 138.8 kB / 250.5 MB, free: 8.383 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.006722, allocations: 285.5 kB / 250.8 MB, free: 8.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.007034, allocations: 211.5 kB / 251 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.007716, allocations: 0.9645 MB / 252 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.007931, allocations: 166.9 kB / 252.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005976/0.008529, allocations: 0.646 MB / 252.8 MB, free: 6.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.008814, allocations: 291.2 kB / 253.1 MB, free: 5.824 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.717e-05/0.008901, allocations: 76 kB / 253.1 MB, free: 5.75 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.009032, allocations: 80 kB / 253.2 MB, free: 5.672 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.009109, allocations: 123.6 kB / 253.3 MB, free: 5.551 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.009279, allocations: 239.6 kB / 253.6 MB, free: 5.316 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000456/0.009735, allocations: 0.5604 MB / 254.1 MB, free: 4.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.009746, allocations: 0 / 254.1 MB, free: 4.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.009747, allocations: 4 kB / 254.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.00976, allocations: 0 / 254.1 MB, free: 4.75 MB / 250.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.001117/0.01088, allocations: 1.161 MB / 255.3 MB, free: 3.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.01091, allocations: 8.031 kB / 255.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.01112, allocations: 181.9 kB / 255.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.01147, allocations: 329.6 kB / 255.8 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.01157, allocations: 148.4 kB / 256 MB, free: 2.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.01163, allocations: 56.38 kB / 256 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.01222, allocations: 1.025 MB / 257 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.01224, allocations: 0 / 257 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.01227, allocations: 20 kB / 257.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.01228, allocations: 12 kB / 257.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.01248, allocations: 150.9 kB / 257.2 MB, free: 1.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.01377, allocations: 1.059 MB / 258.3 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.01441, allocations: 353.1 kB / 258.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.01453, allocations: 106.3 kB / 258.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.01456, allocations: 8.5 kB / 258.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.01459, allocations: 47.06 kB / 258.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.864e-06/0.01459, allocations: 0 / 258.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001549/0.01614, allocations: 0.7575 MB / 259.5 MB, free: 14.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.01617, allocations: 63.91 kB / 259.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.01642, allocations: 431.2 kB / 260 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.01645, allocations: 37.7 kB / 260 MB, free: 14.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.01655, allocations: 219 kB / 260.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.376e-05/0.01664, allocations: 214.1 kB / 260.5 MB, free: 14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01675, allocations: 106.3 kB / 260.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.01685, allocations: 378.6 kB / 260.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.904e-05/0.01695, allocations: 90.97 kB / 261 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/0.01726, allocations: 0.8073 MB / 261.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/0.0175, allocations: 255.8 kB / 262.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0175, allocations: 0 / 262.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006745/0.01817, allocations: 488 kB / 262.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.01821, allocations: 32.17 kB / 262.6 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01821, allocations: 4 kB / 262.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005129/0.01872, allocations: 190.3 kB / 262.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.01911, allocations: 160.6 kB / 262.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.02208, allocations: 4.287 MB / 267.2 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/0.02233, allocations: 67.64 kB / 267.3 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.02236, allocations: 19.92 kB / 267.3 MB, free: 6.59 MB / 266.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.0001317/0.02249, allocations: 141.8 kB / 267.5 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.02256, allocations: 63.94 kB / 267.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006573/0.02321, allocations: 439.1 kB / 267.9 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.02322, allocations: 8 kB / 268 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.02322, allocations: 3.938 kB / 268 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006232/0.02384, allocations: 0.718 MB / 268.7 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.0249, allocations: 0.8067 MB / 269.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.0249, allocations: 0 / 269.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.02529, allocations: 170.9 kB / 269.7 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.02542, allocations: 71.44 kB / 269.7 MB, free: 4.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.02585, allocations: 157.5 kB / 269.9 MB, free: 3.852 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.02587, allocations: 12 kB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.02781, allocations: 2.887 MB / 272.8 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.02781, allocations: 7.875 kB / 272.8 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.02854, allocations: 0.5743 MB / 273.4 MB, free: 180 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.02859, allocations: 12 kB / 273.4 MB, free: 168 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.02879, allocations: 27.98 kB / 273.4 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.02886, allocations: 48.34 kB / 273.4 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.02888, allocations: 15.98 kB / 273.5 MB, free: 76 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001548/0.02904, allocations: 196.4 kB / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02904, allocations: 0 / 273.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004598/0.0295, allocations: 227.8 kB / 273.9 MB, free: 15.66 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.0001132/0.02961, allocations: 96.36 kB / 274 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007914/0.0304, allocations: 0.8025 MB / 274.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/0.03042, allocations: 8 kB / 274.8 MB, free: 14.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.03078, allocations: 462.6 kB / 275.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008973/0.03168, allocations: 1.822 MB / 277.1 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007264/0.03894, allocations: 1.093 MB / 278.1 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.493e-05/0.03904, allocations: 147.6 kB / 278.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002144/0.03925, allocations: 81.12 kB / 278.4 MB, free: 10.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.0397, allocations: 309.1 kB / 278.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of SimCode: time 1.021e-06/0.0397, allocations: 0 / 278.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of Templates: time 0.1116/0.1513, allocations: 17.44 MB / 296.1 MB, free: 31.65 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.01366644538939]