Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.001205/0.001205, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001174/0.001174, allocations: 170 kB / 25.61 MB, free: 8.578 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 1.05/1.05, allocations: 177 MB / 205.9 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1553/0.1553, allocations: 34.87 MB / 297.4 MB, free: 13.32 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.[0-9,]+..m_flow|IN_p.ports.[0-9,]+..p|IN_p.ports.[0-9,]+..h_outflow|OUT_dp.ports.[0-9,]+..m_flow|OUT_dp.ports.[0-9,]+..p|OUT_dp.ports.[0-9,]+..h_outflow|OUT_mflow.ports.[0-9,]+..m_flow|OUT_mflow.ports.[0-9,]+..p|OUT_mflow.ports.[0-9,]+..h_outflow|IN_mflow.ports.[0-9,]+..m_flow|IN_mflow.ports.[0-9,]+..p|IN_mflow.ports.[0-9,]+..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.798e-05/4.001e-05, allocations: 4.141 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4068/0.4068, allocations: 146.4 MB / 0.514 GB, free: 16.26 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005755/0.4126, allocations: 4.119 MB / 0.5181 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006227/0.4132, allocations: 25.91 kB / 0.5181 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006247/0.4138, allocations: 196.3 kB / 0.5183 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003524/0.4173, allocations: 1.697 MB / 0.5199 GB, free: 16.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.4189, allocations: 0.763 MB / 0.5207 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002084/0.421, allocations: 1.732 MB / 0.5224 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.4215, allocations: 392 kB / 0.5227 GB, free: 15.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.4226, allocations: 0.9888 MB / 0.5237 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000566/0.4231, allocations: 0.5184 MB / 0.5242 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.4232, allocations: 52.5 kB / 0.5243 GB, free: 15.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.4252, allocations: 1.139 MB / 0.5254 GB, free: 15.65 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.4254, allocations: 181.5 kB / 0.5256 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.4256, allocations: 271.3 kB / 0.5258 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001633/0.4272, allocations: 1.52 MB / 0.5273 GB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4272, allocations: 2.438 kB / 0.5273 GB, free: 15.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4272, allocations: 0 / 0.5273 GB, free: 15.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4272, allocations: 0 / 0.5273 GB, free: 15.45 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001226/0.4285, allocations: 1.164 MB / 0.5284 GB, free: 14.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4285, allocations: 8.812 kB / 0.5284 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006937/0.4292, allocations: 263 kB / 0.5287 GB, free: 14.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.4297, allocations: 446.7 kB / 0.5291 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.4297, allocations: 37.97 kB / 0.5292 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.4297, allocations: 48.72 kB / 0.5292 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.4303, allocations: 0.9226 MB / 0.5301 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4304, allocations: 2.344 kB / 0.5301 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.4304, allocations: 19.28 kB / 0.5301 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.4304, allocations: 11.31 kB / 0.5301 GB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.4307, allocations: 251.5 kB / 0.5304 GB, free: 13.73 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.4323, allocations: 2.361 MB / 0.5327 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.4326, allocations: 200.1 kB / 0.5329 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.146e-05/0.4327, allocations: 73.45 kB / 0.5329 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.4328, allocations: 52.64 kB / 0.533 GB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4329, allocations: 48.8 kB / 0.533 GB, free: 12.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.823e-06/0.4329, allocations: 0 / 0.533 GB, free: 12.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.004262/0.4371, allocations: 463.9 kB / 0.5335 GB, free: 11.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.4372, allocations: 164.5 kB / 0.5336 GB, free: 11.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.4375, allocations: 441.2 kB / 0.5341 GB, free: 11.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.4376, allocations: 35.7 kB / 0.5341 GB, free: 11.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.4377, allocations: 364.5 kB / 0.5344 GB, free: 11.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.4378, allocations: 130.9 kB / 0.5346 GB, free: 11.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.4379, allocations: 131.3 kB / 0.5347 GB, free: 11.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.438, allocations: 0.5374 MB / 0.5352 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.4381, allocations: 63.64 kB / 0.5353 GB, free: 10.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.4383, allocations: 412.7 kB / 0.5357 GB, free: 10.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.4386, allocations: 372.5 kB / 0.536 GB, free: 9.992 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4386, allocations: 6.969 kB / 0.536 GB, free: 9.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005253/0.4391, allocations: 427.8 kB / 0.5364 GB, free: 9.906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.4392, allocations: 16.16 kB / 0.5365 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4392, allocations: 2.781 kB / 0.5365 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007398/0.4399, allocations: 202.2 kB / 0.5366 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.4402, allocations: 119.8 kB / 0.5368 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002784/0.4404, allocations: 0.8191 MB / 0.5376 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.4407, allocations: 50.72 kB / 0.5376 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.735e-05/0.4407, allocations: 52.42 kB / 0.5377 GB, free: 9.066 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001534/0.4409, allocations: 191.8 kB / 0.5378 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/0.441, allocations: 60 kB / 0.5379 GB, free: 8.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.442, allocations: 1.017 MB / 0.5389 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.442, allocations: 7.188 kB / 0.5389 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.442, allocations: 0 / 0.5389 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.442, allocations: 2.812 kB / 0.5389 GB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.4427, allocations: 0.7048 MB / 0.5396 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4427, allocations: 0 / 0.5396 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.4428, allocations: 60.58 kB / 0.5396 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.444, allocations: 318.9 kB / 0.54 GB, free: 8.211 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.444, allocations: 16.66 kB / 0.54 GB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002211/0.4442, allocations: 0.8223 MB / 0.5408 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4442, allocations: 5.125 kB / 0.5408 GB, free: 7.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.4446, allocations: 465.1 kB / 0.5412 GB, free: 7.078 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-05/0.4446, allocations: 45.73 kB / 0.5413 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.4447, allocations: 20.23 kB / 0.5413 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4449, allocations: 16.52 kB / 0.5413 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.4449, allocations: 25.03 kB / 0.5413 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.4449, allocations: 21.88 kB / 0.5413 GB, free: 7.016 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001914/0.4451, allocations: 318.2 kB / 0.5416 GB, free: 6.836 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4451, allocations: 0 / 0.5416 GB, free: 6.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001001/0.4461, allocations: 348.4 kB / 0.542 GB, free: 6.766 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00072/0.4469, allocations: 425.6 kB / 0.5424 GB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.4473, allocations: 250.6 kB / 0.5426 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4473, allocations: 0 / 0.5426 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.4474, allocations: 102.4 kB / 0.5427 GB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008756/0.4483, allocations: 350.1 kB / 0.5431 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.4496, allocations: 0.8763 MB / 0.5439 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.059e-05/0.4497, allocations: 128.2 kB / 0.544 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007281/0.4504, allocations: 0.5389 MB / 0.5446 GB, free: 5.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005688/0.451, allocations: 408 kB / 0.5449 GB, free: 5.246 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.451, allocations: 0 / 0.5449 GB, free: 5.246 MB / 410.7 MB Notification: Performance of Templates: time 0.02322/0.4742, allocations: 19.12 MB / 0.5636 GB, free: 7.375 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.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: 4.4706452577374876]