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.001006/0.001006, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001467/0.002473, allocations: 453.8 kB / 10.46 MB, free: 236 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.0007316/0.0007316, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009971/0.001729, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9278/0.9278, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1679/1.096, allocations: 49.5 MB / 220.7 MB, free: 1.355 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.344e-06/2.344e-06, allocations: 0 / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.742e-05/3.976e-05, allocations: 2.312 kB / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006283/0.006323, allocations: 4.398 MB / 226.4 MB, free: 11.64 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.00897, allocations: 1.289 MB / 227.7 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.009348, allocations: 11.94 kB / 227.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.009653, allocations: 134.8 kB / 227.8 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006156/0.01027, allocations: 297.4 kB / 228.1 MB, free: 9.906 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.01075, allocations: 195.6 kB / 228.3 MB, free: 9.715 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001185/0.01194, allocations: 0.9764 MB / 229.3 MB, free: 8.734 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.01218, allocations: 166.9 kB / 229.4 MB, free: 8.562 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007956/0.01297, allocations: 0.6382 MB / 230.1 MB, free: 7.926 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.01363, allocations: 303.1 kB / 230.4 MB, free: 7.629 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.01376, allocations: 76 kB / 230.4 MB, free: 7.555 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.0139, allocations: 76 kB / 230.5 MB, free: 7.48 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.014, allocations: 123.6 kB / 230.6 MB, free: 7.359 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002375/0.01424, allocations: 239.6 kB / 230.9 MB, free: 7.125 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.0148, allocations: 0.5449 MB / 231.4 MB, free: 6.578 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.01481, allocations: 0 / 231.4 MB, free: 6.578 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.01481, allocations: 0 / 231.4 MB, free: 6.578 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.01483, allocations: 3.938 kB / 231.4 MB, free: 6.574 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.001246/0.01608, allocations: 1.164 MB / 232.6 MB, free: 5.371 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.01611, allocations: 12.03 kB / 232.6 MB, free: 5.359 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.01624, allocations: 96.84 kB / 232.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004332/0.01667, allocations: 321.6 kB / 233 MB, free: 4.926 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.01679, allocations: 152.4 kB / 233.1 MB, free: 4.754 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.01686, allocations: 60.3 kB / 233.2 MB, free: 4.695 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009769/0.01784, allocations: 1.01 MB / 234.2 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.01785, allocations: 0 / 234.2 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.01788, allocations: 24 kB / 234.2 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.01789, allocations: 12 kB / 234.3 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.01811, allocations: 150.9 kB / 234.4 MB, free: 3.301 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.01952, allocations: 1.063 MB / 235.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006463/0.02017, allocations: 337.5 kB / 235.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.0203, allocations: 110.3 kB / 235.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.02033, allocations: 12.5 kB / 235.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.02036, allocations: 43.06 kB / 236 MB, free: 1.691 MB / 234.7 MB Notification: Performance of pre-optimization done (n=54): time 1.382e-06/0.02036, allocations: 0 / 236 MB, free: 1.691 MB / 234.7 MB Notification: Performance of matching and sorting (n=54): time 0.001573/0.02193, allocations: 0.7614 MB / 236.7 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.02196, allocations: 71.86 kB / 236.8 MB, free: 0.832 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.02223, allocations: 423.3 kB / 237.2 MB, free: 416 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.02226, allocations: 41.7 kB / 237.2 MB, free: 368 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.02236, allocations: 230.9 kB / 237.5 MB, free: 132 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.02247, allocations: 198.3 kB / 237.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.02259, allocations: 110.3 kB / 237.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.0227, allocations: 370.7 kB / 238.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.02279, allocations: 82.98 kB / 238.2 MB, free: 15.36 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.02315, allocations: 0.8151 MB / 239 MB, free: 14.33 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.02339, allocations: 255.8 kB / 239.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.02339, allocations: 0 / 239.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006474/0.02404, allocations: 488 kB / 239.8 MB, free: 13.55 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.02408, allocations: 33.7 kB / 239.8 MB, free: 13.51 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.02409, allocations: 7.922 kB / 239.8 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005609/0.02465, allocations: 186.4 kB / 240 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.02504, allocations: 155.8 kB / 240.1 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.02829, allocations: 4.29 MB / 244.4 MB, free: 8.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.02857, allocations: 67.7 kB / 244.5 MB, free: 8.543 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.02859, allocations: 15.98 kB / 244.5 MB, free: 8.527 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.0001454/0.02874, allocations: 149.7 kB / 244.6 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/0.02881, allocations: 59.94 kB / 244.7 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006553/0.02946, allocations: 439.1 kB / 245.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.02947, allocations: 8 kB / 245.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.02947, allocations: 3.938 kB / 245.1 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006651/0.03014, allocations: 0.7179 MB / 245.9 MB, free: 7.027 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.03123, allocations: 0.8028 MB / 246.7 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.03123, allocations: 0 / 246.7 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003925/0.03162, allocations: 163.7 kB / 246.8 MB, free: 6.023 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.03175, allocations: 75.44 kB / 246.9 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/0.0322, allocations: 157.5 kB / 247.1 MB, free: 5.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.03222, allocations: 15.98 kB / 247.1 MB, free: 5.773 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.0344, allocations: 2.886 MB / 250 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.03441, allocations: 0 / 250 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007332/0.03514, allocations: 0.5821 MB / 250.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.03519, allocations: 12 kB / 250.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.03538, allocations: 23.98 kB / 250.6 MB, free: 2.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.481e-05/0.03546, allocations: 52.41 kB / 250.6 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.03548, allocations: 15.92 kB / 250.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.03563, allocations: 192.4 kB / 250.8 MB, free: 1.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03563, allocations: 4 kB / 250.8 MB, free: 1.816 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004792/0.03611, allocations: 227.7 kB / 251.1 MB, free: 1.594 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 0.0001168/0.03622, allocations: 92.36 kB / 251.1 MB, free: 1.496 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008116/0.03703, allocations: 0.7976 MB / 251.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/0.03705, allocations: 12 kB / 252 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.03742, allocations: 466.8 kB / 252.4 MB, free: 152 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009606/0.03838, allocations: 1.811 MB / 254.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008524/0.04691, allocations: 1.115 MB / 255.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.04703, allocations: 143.8 kB / 255.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003346/0.04737, allocations: 81.06 kB / 255.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/0.04782, allocations: 313 kB / 255.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.04782, allocations: 0 / 255.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.02011/0.06793, allocations: 17.44 MB / 273.3 MB, free: 10.83 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0766599448397756]