Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001419/0.001419, allocations: 84.25 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009827/0.0009827, allocations: 158.9 kB / 25.61 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9854/0.9854, allocations: 177 MB / 205.9 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.451e-05, allocations: 2.312 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005264/0.005279, allocations: 4.322 MB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.007647, allocations: 1.232 MB / 279.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.007946, allocations: 11.94 kB / 279.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.008316, allocations: 130.8 kB / 279.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000611/0.008927, allocations: 285.5 kB / 280.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.009398, allocations: 207.5 kB / 280.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.01045, allocations: 0.9638 MB / 281.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.01075, allocations: 173 kB / 281.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007447/0.0115, allocations: 0.5417 MB / 282 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.01193, allocations: 299.1 kB / 282.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.01204, allocations: 76 kB / 282.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.01219, allocations: 80 kB / 282.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.01232, allocations: 179.3 kB / 282.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.01263, allocations: 291.4 kB / 282.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.01338, allocations: 0.6072 MB / 283.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01338, allocations: 0 / 283.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.01338, allocations: 8 kB / 283.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.01339, allocations: 0 / 283.5 MB, free: 10.9 MB / 266.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.001608/0.015, allocations: 1.141 MB / 284.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.01503, allocations: 12.03 kB / 284.6 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.01531, allocations: 132.4 kB / 284.8 MB, free: 9.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.01588, allocations: 408.3 kB / 285.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.01602, allocations: 148.4 kB / 285.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.24e-05/0.01611, allocations: 56.38 kB / 285.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/0.01705, allocations: 1.063 MB / 286.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.01707, allocations: 0 / 286.4 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.01712, allocations: 24 kB / 286.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.01714, allocations: 12 kB / 286.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.01753, allocations: 186.7 kB / 286.6 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.01982, allocations: 1.4 MB / 288 MB, free: 5.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.02089, allocations: 387.2 kB / 288.4 MB, free: 5.566 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.02109, allocations: 117 kB / 288.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.02113, allocations: 16.48 kB / 288.5 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.02116, allocations: 45.89 kB / 288.6 MB, free: 5.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.844e-06/0.02117, allocations: 0 / 288.6 MB, free: 5.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.002831/0.024, allocations: 0.8624 MB / 289.4 MB, free: 4.496 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002048/0.0242, allocations: 0.5683 MB / 290 MB, free: 3.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/0.02466, allocations: 0.5062 MB / 290.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.02471, allocations: 41.7 kB / 290.6 MB, free: 3.219 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.02497, allocations: 352.4 kB / 290.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.02508, allocations: 198.2 kB / 291.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.02521, allocations: 119.9 kB / 291.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.02536, allocations: 0.5507 MB / 291.8 MB, free: 1.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/0.02549, allocations: 98.89 kB / 291.9 MB, free: 1.879 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003733/0.02586, allocations: 0.887 MB / 292.8 MB, free: 0.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.02613, allocations: 266 kB / 293 MB, free: 476 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.02613, allocations: 4 kB / 293 MB, free: 472 kB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008499/0.02698, allocations: 0.5773 MB / 293.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.02701, allocations: 29.7 kB / 293.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.02702, allocations: 4 kB / 293.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.02759, allocations: 210.8 kB / 293.8 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.0279, allocations: 111.9 kB / 293.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00366/0.03157, allocations: 6.102 MB / 300 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.03181, allocations: 55.72 kB / 300.1 MB, free: 8.992 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.03184, allocations: 19.92 kB / 300.1 MB, free: 8.973 MB / 282.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.0001411/0.03198, allocations: 192.5 kB / 300.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.664e-05/0.03207, allocations: 87.58 kB / 300.4 MB, free: 8.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007702/0.03284, allocations: 0.5103 MB / 300.9 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.03284, allocations: 4 kB / 300.9 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.03284, allocations: 4 kB / 300.9 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000962/0.03381, allocations: 0.7849 MB / 301.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.035, allocations: 1.01 MB / 302.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.035, allocations: 4 kB / 302.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.03533, allocations: 119.8 kB / 302.8 MB, free: 6.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.03581, allocations: 183.2 kB / 303 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.03584, allocations: 11.94 kB / 303 MB, free: 5.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.03804, allocations: 4.121 MB / 307.1 MB, free: 1.527 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.03804, allocations: 4.062 kB / 307.1 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000884/0.03893, allocations: 0.7078 MB / 307.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.03908, allocations: 127.4 kB / 308 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.03913, allocations: 15.98 kB / 308 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002179/0.03935, allocations: 27.98 kB / 308 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.03941, allocations: 44.41 kB / 308.1 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.03943, allocations: 12 kB / 308.1 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003999/0.03983, allocations: 326.7 kB / 308.4 MB, free: 252 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.03983, allocations: 0 / 308.4 MB, free: 252 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000409/0.04024, allocations: 227.7 kB / 308.6 MB, free: 24 kB / 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.0001072/0.04035, allocations: 123.1 kB / 308.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008474/0.0412, allocations: 0.9741 MB / 309.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.0412, allocations: 4 kB / 309.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.04157, allocations: 0.5418 MB / 310.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.04204, allocations: 197.7 kB / 310.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.0435, allocations: 1.153 MB / 311.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.921e-05/0.04358, allocations: 143.6 kB / 311.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001841/0.04376, allocations: 76.92 kB / 311.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004129/0.04418, allocations: 334 kB / 312.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.04418, allocations: 0 / 312.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of Templates: time 0.01516/0.05934, allocations: 15.94 MB / 328.1 MB, free: 12.66 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.219112135004252]