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.001001/0.001001, allocations: 80.8 kB / 22.29 MB, free: 2.203 MB / 18.57 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.000935/0.000935, allocations: 170.2 kB / 25.69 MB, free: 8.453 MB / 18.57 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.8623/0.8623, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.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 1.483e-06/1.483e-06, allocations: 0 / 251.5 MB, free: 7.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.283e-05, allocations: 2.312 kB / 251.5 MB, free: 7.281 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003577/0.00359, allocations: 4.323 MB / 255.8 MB, free: 2.938 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.005429, allocations: 1.289 MB / 257.1 MB, free: 1.637 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.005637, allocations: 7.938 kB / 257.1 MB, free: 1.629 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.005908, allocations: 146.8 kB / 257.3 MB, free: 1.48 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.006316, allocations: 285.5 kB / 257.6 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.006617, allocations: 191.6 kB / 257.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006572/0.007274, allocations: 0.9682 MB / 258.7 MB, free: 40 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.007477, allocations: 170.9 kB / 258.9 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004207/0.007898, allocations: 0.5301 MB / 259.4 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.00817, allocations: 303.1 kB / 259.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.642e-05/0.008246, allocations: 83.94 kB / 259.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.008319, allocations: 76 kB / 259.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.00841, allocations: 171.4 kB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.008603, allocations: 299.3 kB / 260.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.009035, allocations: 0.6033 MB / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.009037, allocations: 0 / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.009038, allocations: 0 / 260.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.009043, allocations: 0 / 260.9 MB, free: 13.81 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.0009632/0.01001, allocations: 1.001 MB / 261.9 MB, free: 12.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.854e-05/0.01004, allocations: 11.98 kB / 261.9 MB, free: 12.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.01014, allocations: 96.84 kB / 262 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.01047, allocations: 337.6 kB / 262.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.01057, allocations: 152.3 kB / 262.5 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.01063, allocations: 52.38 kB / 262.6 MB, free: 12.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.01123, allocations: 1.01 MB / 263.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.01124, allocations: 3.984 kB / 263.6 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.01127, allocations: 24 kB / 263.6 MB, free: 10.85 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.01128, allocations: 12 kB / 263.6 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.01148, allocations: 154.9 kB / 263.8 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.01281, allocations: 1.043 MB / 264.8 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.01342, allocations: 341.5 kB / 265.1 MB, free: 9.262 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.01354, allocations: 98.33 kB / 265.2 MB, free: 9.164 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.01357, allocations: 8.5 kB / 265.2 MB, free: 9.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.01359, allocations: 51.02 kB / 265.3 MB, free: 9.094 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.743e-06/0.01359, allocations: 4 kB / 265.3 MB, free: 9.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001679/0.01527, allocations: 0.7575 MB / 266.1 MB, free: 8.316 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.01541, allocations: 0.5683 MB / 266.6 MB, free: 7.613 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.01565, allocations: 423.3 kB / 267 MB, free: 7.188 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.01568, allocations: 37.7 kB / 267.1 MB, free: 7.145 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01578, allocations: 234.9 kB / 267.3 MB, free: 6.906 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.01587, allocations: 198.3 kB / 267.5 MB, free: 6.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.01598, allocations: 110.3 kB / 267.6 MB, free: 6.598 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.333e-05/0.01607, allocations: 374.6 kB / 268 MB, free: 6.223 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.315e-05/0.01616, allocations: 82.98 kB / 268.1 MB, free: 6.133 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.01647, allocations: 0.819 MB / 268.9 MB, free: 5.102 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.01694, allocations: 243.8 kB / 269.1 MB, free: 4.844 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01695, allocations: 4 kB / 269.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000633/0.01758, allocations: 484.1 kB / 269.6 MB, free: 4.336 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.0176, allocations: 33.69 kB / 269.6 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01761, allocations: 0 / 269.6 MB, free: 4.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.01812, allocations: 190.3 kB / 269.8 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.0184, allocations: 115.9 kB / 269.9 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.02114, allocations: 4.275 MB / 274.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.02136, allocations: 59.64 kB / 274.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.02139, allocations: 15.98 kB / 274.3 MB, free: 15.38 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.0001228/0.02151, allocations: 149.7 kB / 274.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.02157, allocations: 63.94 kB / 274.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.02221, allocations: 435.1 kB / 274.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.02221, allocations: 4 kB / 274.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-07/0.02221, allocations: 4 kB / 274.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006064/0.02282, allocations: 0.718 MB / 275.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.02408, allocations: 0.8066 MB / 276.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02408, allocations: 4 kB / 276.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.02438, allocations: 115.9 kB / 276.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.02481, allocations: 153.7 kB / 276.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.02483, allocations: 15.98 kB / 276.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.0266, allocations: 2.878 MB / 279.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.0266, allocations: 0 / 279.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.02733, allocations: 0.5782 MB / 280.2 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.02745, allocations: 71.48 kB / 280.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.0275, allocations: 12 kB / 280.3 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.02769, allocations: 27.97 kB / 280.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.02776, allocations: 64.28 kB / 280.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.02778, allocations: 4 kB / 280.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001274/0.0279, allocations: 196.4 kB / 280.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.0279, allocations: 0 / 280.5 MB, free: 8.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004103/0.02831, allocations: 227.7 kB / 280.8 MB, free: 8.508 MB / 266.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.664e-05/0.02841, allocations: 92.36 kB / 280.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007562/0.02917, allocations: 0.7892 MB / 281.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.02917, allocations: 4 kB / 281.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.02948, allocations: 437.7 kB / 282.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.02988, allocations: 186.6 kB / 282.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.03153, allocations: 1.12 MB / 283.4 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.901e-05/0.0316, allocations: 139.6 kB / 283.5 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001719/0.03178, allocations: 76.92 kB / 283.6 MB, free: 5.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.03216, allocations: 289 kB / 283.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.03216, allocations: 4 kB / 283.9 MB, free: 5.246 MB / 266.7 MB Notification: Performance of Templates: time 0.01594/0.0481, allocations: 15.46 MB / 299.3 MB, free: 5.809 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 -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: 3.019845075905323]