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.0009959/0.0009959, allocations: 85.8 kB / 21.42 MB, free: 3.074 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.001012/0.001012, allocations: 164.9 kB / 24.82 MB, free: 8.66 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.987/0.987, allocations: 177 MB / 205.1 MB, free: 5.473 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.182e-06/1.182e-06, allocations: 3.938 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.317e-05, allocations: 5.125 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.0106/0.01062, allocations: 4.329 MB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.01239, allocations: 1.219 MB / 278.9 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.01262, allocations: 11.94 kB / 278.9 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.01291, allocations: 134.8 kB / 279 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.01336, allocations: 289.4 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00336/0.01672, allocations: 203.6 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007786/0.0175, allocations: 0.9566 MB / 280.4 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.01772, allocations: 172.9 kB / 280.6 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000535/0.01825, allocations: 0.5457 MB / 281.2 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.01856, allocations: 295.2 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.785e-05/0.01865, allocations: 76 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.01878, allocations: 76 kB / 281.6 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.01888, allocations: 175.4 kB / 281.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.01912, allocations: 299.3 kB / 282.1 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006588/0.0257, allocations: 0.6073 MB / 282.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.02571, allocations: 0 / 282.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02571, allocations: 7.938 kB / 282.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.02571, allocations: 0 / 282.7 MB, free: 7.82 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.001492/0.02721, allocations: 1.141 MB / 283.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.02724, allocations: 27.91 kB / 283.8 MB, free: 6.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.02745, allocations: 124.4 kB / 284 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.02788, allocations: 404.3 kB / 284.4 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.02799, allocations: 156.3 kB / 284.5 MB, free: 5.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.02806, allocations: 56.38 kB / 284.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007632/0.02882, allocations: 1.059 MB / 285.6 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.02883, allocations: 3.984 kB / 285.6 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.02888, allocations: 24 kB / 285.6 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.02889, allocations: 12 kB / 285.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.02918, allocations: 178.8 kB / 285.8 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.03104, allocations: 1.404 MB / 287.2 MB, free: 2.871 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000857/0.0319, allocations: 387 kB / 287.6 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.03207, allocations: 115.9 kB / 287.7 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.0321, allocations: 20.48 kB / 287.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.03213, allocations: 45.89 kB / 287.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.773e-06/0.03213, allocations: 0 / 287.8 MB, free: 2.289 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001858/0.03399, allocations: 0.8625 MB / 288.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/0.03414, allocations: 0.5683 MB / 289.2 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.03448, allocations: 0.5024 MB / 289.7 MB, free: 188 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.03451, allocations: 37.7 kB / 289.8 MB, free: 144 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.03468, allocations: 364.2 kB / 290.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.335e-05/0.03477, allocations: 190.3 kB / 290.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.03488, allocations: 120 kB / 290.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000383/0.03527, allocations: 0.5585 MB / 291 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.03538, allocations: 94.95 kB / 291.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.03575, allocations: 0.8869 MB / 292 MB, free: 13.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.036, allocations: 266 kB / 292.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.036, allocations: 0 / 292.2 MB, free: 13.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007793/0.03678, allocations: 0.5811 MB / 292.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.0368, allocations: 33.83 kB / 292.8 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.03681, allocations: 4 kB / 292.8 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000568/0.03738, allocations: 210.8 kB / 293 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.03767, allocations: 123.8 kB / 293.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/0.0413, allocations: 6.088 MB / 299.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.04155, allocations: 63.72 kB / 299.3 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.04157, allocations: 23.86 kB / 299.3 MB, free: 5.863 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.0001379/0.04171, allocations: 192.5 kB / 299.5 MB, free: 5.664 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.04179, allocations: 91.58 kB / 299.6 MB, free: 5.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.04256, allocations: 0.4986 MB / 300.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.04256, allocations: 8 kB / 300.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.04256, allocations: 0 / 300.1 MB, free: 5.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007274/0.04329, allocations: 0.7888 MB / 300.9 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.04448, allocations: 1.014 MB / 301.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.04449, allocations: 0 / 301.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.04479, allocations: 123.8 kB / 302 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004743/0.04527, allocations: 167.3 kB / 302.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.04529, allocations: 15.92 kB / 302.2 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1078/0.153, allocations: 4.123 MB / 306.3 MB, free: 36.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.153, allocations: 4.344 kB / 306.4 MB, free: 36.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1544, allocations: 0.7041 MB / 307.1 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.1547, allocations: 124.8 kB / 307.2 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.1547, allocations: 15.16 kB / 307.2 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.155, allocations: 27.52 kB / 307.2 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.1551, allocations: 53.2 kB / 307.3 MB, free: 36.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1551, allocations: 12.39 kB / 307.3 MB, free: 36.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002073/0.1553, allocations: 328.2 kB / 307.6 MB, free: 36.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1553, allocations: 1.25 kB / 307.6 MB, free: 36.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005372/0.1559, allocations: 230.9 kB / 307.8 MB, free: 36.18 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.0001029/0.156, allocations: 113.2 kB / 307.9 MB, free: 36.09 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.1571, allocations: 0.9845 MB / 308.9 MB, free: 35.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1572, allocations: 2.375 kB / 308.9 MB, free: 35.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005329/0.1577, allocations: 0.5404 MB / 309.5 MB, free: 35.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007842/0.1585, allocations: 183.3 kB / 309.6 MB, free: 35.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.1607, allocations: 1.142 MB / 310.8 MB, free: 34.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.1609, allocations: 148 kB / 310.9 MB, free: 34.51 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.1612, allocations: 74.89 kB / 311 MB, free: 34.5 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007386/0.1619, allocations: 337.8 kB / 311.3 MB, free: 34.43 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1619, allocations: 0 / 311.3 MB, free: 34.43 MB / 282.7 MB Notification: Performance of Templates: time 0.02253/0.1845, allocations: 15.63 MB / 327 MB, free: 26.49 MB / 282.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.0394995152018964]