Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008185/0.0008185, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001829, allocations: 445.7 kB / 10.37 MB, free: 328 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.0007336/0.0007336, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009886/0.001722, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8557/0.8557, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.149/1.005, allocations: 49.49 MB / 220.6 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.967e-05, allocations: 2.312 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00553/0.005549, allocations: 4.386 MB / 226.2 MB, free: 11.76 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.007718, allocations: 1.289 MB / 227.5 MB, free: 10.46 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.007957, allocations: 11.94 kB / 227.5 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.008232, allocations: 138.8 kB / 227.7 MB, free: 10.31 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.008556, allocations: 293.4 kB / 227.9 MB, free: 10.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.008812, allocations: 191.6 kB / 228.1 MB, free: 9.832 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006136/0.009425, allocations: 0.9797 MB / 229.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.009624, allocations: 178.9 kB / 229.3 MB, free: 8.668 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004823/0.01011, allocations: 0.6343 MB / 229.9 MB, free: 8.035 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.01036, allocations: 291.2 kB / 230.2 MB, free: 7.75 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 7.623e-05/0.01044, allocations: 76 kB / 230.3 MB, free: 7.676 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.543e-05/0.01052, allocations: 76 kB / 230.3 MB, free: 7.602 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.01059, allocations: 123.6 kB / 230.5 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.01076, allocations: 243.6 kB / 230.7 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.01118, allocations: 0.5565 MB / 231.3 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.01119, allocations: 0 / 231.3 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01119, allocations: 0 / 231.3 MB, free: 6.684 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.0112, allocations: 4 kB / 231.3 MB, free: 6.68 MB / 234.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.001052/0.01226, allocations: 1.157 MB / 232.4 MB, free: 5.484 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.616e-05/0.01228, allocations: 12.03 kB / 232.4 MB, free: 5.473 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.507e-05/0.01238, allocations: 100.8 kB / 232.5 MB, free: 5.375 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.0127, allocations: 321.6 kB / 232.8 MB, free: 5.035 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/0.01279, allocations: 148.3 kB / 233 MB, free: 4.867 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.01284, allocations: 56.38 kB / 233 MB, free: 4.812 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.0134, allocations: 1.014 MB / 234.1 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01342, allocations: 0 / 234.1 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.01344, allocations: 24 kB / 234.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.01345, allocations: 8 kB / 234.1 MB, free: 3.562 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.01365, allocations: 154.9 kB / 234.2 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.01488, allocations: 1.055 MB / 235.3 MB, free: 2.32 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.01547, allocations: 341.5 kB / 235.6 MB, free: 1.98 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01558, allocations: 102.3 kB / 235.7 MB, free: 1.879 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.01562, allocations: 12.48 kB / 235.7 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.01564, allocations: 47.06 kB / 235.8 MB, free: 1.809 MB / 234.7 MB Notification: Performance of pre-optimization done (n=54): time 1.402e-06/0.01564, allocations: 0 / 235.8 MB, free: 1.809 MB / 234.7 MB Notification: Performance of matching and sorting (n=54): time 0.001504/0.01715, allocations: 0.7574 MB / 236.5 MB, free: 1.035 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.01717, allocations: 67.86 kB / 236.6 MB, free: 0.957 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.01741, allocations: 427.3 kB / 237 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.01744, allocations: 37.7 kB / 237.1 MB, free: 496 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.422e-05/0.01753, allocations: 230.9 kB / 237.3 MB, free: 260 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.587e-05/0.01762, allocations: 198.3 kB / 237.5 MB, free: 60 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.01773, allocations: 110.3 kB / 237.6 MB, free: 15.94 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.01782, allocations: 374.6 kB / 238 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.01791, allocations: 86.92 kB / 238 MB, free: 15.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.01822, allocations: 0.8113 MB / 238.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.01844, allocations: 247.8 kB / 239.1 MB, free: 14.19 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01844, allocations: 0 / 239.1 MB, free: 14.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006268/0.01907, allocations: 488 kB / 239.6 MB, free: 13.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/0.0191, allocations: 33.7 kB / 239.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.0191, allocations: 0 / 239.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.0196, allocations: 190.4 kB / 239.8 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.01998, allocations: 155.8 kB / 239.9 MB, free: 13.29 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002846/0.02283, allocations: 4.293 MB / 244.2 MB, free: 8.742 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.02305, allocations: 67.72 kB / 244.3 MB, free: 8.676 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.02307, allocations: 15.98 kB / 244.3 MB, free: 8.66 MB / 250.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.0001305/0.02321, allocations: 145.7 kB / 244.5 MB, free: 8.508 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.02327, allocations: 63.94 kB / 244.5 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006561/0.02392, allocations: 439.1 kB / 245 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.02393, allocations: 4 kB / 245 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.02393, allocations: 7.938 kB / 245 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006473/0.02458, allocations: 0.714 MB / 245.7 MB, free: 7.164 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.02554, allocations: 0.799 MB / 246.5 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.02555, allocations: 3.984 kB / 246.5 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.02593, allocations: 159.7 kB / 246.6 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.02605, allocations: 79.42 kB / 246.7 MB, free: 6.09 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004216/0.02648, allocations: 157.5 kB / 246.9 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.02649, allocations: 15.98 kB / 246.9 MB, free: 5.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.02844, allocations: 2.878 MB / 249.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02844, allocations: 0 / 249.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.02918, allocations: 0.5782 MB / 250.3 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.489e-05/0.02923, allocations: 12 kB / 250.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.02941, allocations: 27.98 kB / 250.4 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.02948, allocations: 48.41 kB / 250.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.02949, allocations: 15.98 kB / 250.4 MB, free: 2.156 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.02961, allocations: 196.4 kB / 250.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02961, allocations: 0 / 250.6 MB, free: 1.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.03, allocations: 227.7 kB / 250.9 MB, free: 1.742 MB / 250.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 9.23e-05/0.03009, allocations: 92.36 kB / 250.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.03114, allocations: 0.7853 MB / 251.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-05/0.03116, allocations: 15.98 kB / 251.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003136/0.03148, allocations: 425.7 kB / 252.2 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.03191, allocations: 266.1 kB / 252.4 MB, free: 84 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007362/0.03928, allocations: 1.113 MB / 253.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.794e-05/0.03936, allocations: 143.7 kB / 253.7 MB, free: 14.78 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.03955, allocations: 77.03 kB / 253.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.03995, allocations: 289.1 kB / 254 MB, free: 14.42 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03995, allocations: 4 kB / 254 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Templates: time 0.01725/0.0572, allocations: 16.89 MB / 270.9 MB, free: 13.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.905864435248077]