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.0009754/0.0009754, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001164/0.001164, allocations: 165 kB / 24.82 MB, free: 8.918 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.01/1.01, allocations: 177 MB / 205.1 MB, free: 5.473 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.2705/0.2705, allocations: 34.86 MB / 296.6 MB, free: 0.5117 MB / 266.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 1.824e-06/1.824e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.42e-05, allocations: 6.25 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2962/0.2963, allocations: 146.4 MB / 0.5133 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.3008, allocations: 4.132 MB / 0.5173 GB, free: 13.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00036/0.3011, allocations: 26.41 kB / 0.5174 GB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.3016, allocations: 195.2 kB / 0.5175 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.3047, allocations: 1.699 MB / 0.5192 GB, free: 12.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.3059, allocations: 0.7507 MB / 0.5199 GB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.3074, allocations: 1.73 MB / 0.5216 GB, free: 10.99 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.3078, allocations: 398.9 kB / 0.522 GB, free: 10.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.3088, allocations: 0.9798 MB / 0.523 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.3093, allocations: 0.5208 MB / 0.5235 GB, free: 10.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.587e-05/0.3094, allocations: 53.41 kB / 0.5235 GB, free: 10.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.3109, allocations: 1.13 MB / 0.5246 GB, free: 9.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.311, allocations: 186.9 kB / 0.5248 GB, free: 9.789 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3111, allocations: 271.5 kB / 0.5251 GB, free: 9.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.3128, allocations: 1.527 MB / 0.5265 GB, free: 9.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3128, allocations: 0 / 0.5265 GB, free: 9.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3128, allocations: 0 / 0.5265 GB, free: 9.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3128, allocations: 0 / 0.5265 GB, free: 9.148 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.001409/0.3142, allocations: 1.151 MB / 0.5277 GB, free: 8.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3142, allocations: 11.25 kB / 0.5277 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009646/0.3152, allocations: 263.3 kB / 0.5279 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.3157, allocations: 448.3 kB / 0.5284 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.3157, allocations: 33.94 kB / 0.5284 GB, free: 7.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.375e-05/0.3158, allocations: 51.78 kB / 0.5284 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.3165, allocations: 0.9243 MB / 0.5293 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3165, allocations: 0 / 0.5293 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.3165, allocations: 24.25 kB / 0.5294 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3165, allocations: 11.06 kB / 0.5294 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003807/0.3169, allocations: 255.8 kB / 0.5296 GB, free: 7.074 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.001639/0.3185, allocations: 2.366 MB / 0.5319 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.3189, allocations: 196 kB / 0.5321 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.901e-05/0.319, allocations: 74.94 kB / 0.5322 GB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.3191, allocations: 55.12 kB / 0.5322 GB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3191, allocations: 46.61 kB / 0.5323 GB, free: 5.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.563e-06/0.3191, allocations: 0 / 0.5323 GB, free: 5.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008483/0.32, allocations: 472.7 kB / 0.5327 GB, free: 4.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.32, allocations: 161.4 kB / 0.5329 GB, free: 4.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.3203, allocations: 442.2 kB / 0.5333 GB, free: 4.438 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.3203, allocations: 33.7 kB / 0.5333 GB, free: 4.398 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.3204, allocations: 372.2 kB / 0.5337 GB, free: 4.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.3205, allocations: 126.9 kB / 0.5338 GB, free: 3.988 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.3206, allocations: 129.7 kB / 0.5339 GB, free: 3.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.3207, allocations: 0.5374 MB / 0.5345 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.3208, allocations: 63 kB / 0.5345 GB, free: 3.398 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.321, allocations: 412.2 kB / 0.5349 GB, free: 2.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.3213, allocations: 379.5 kB / 0.5353 GB, free: 2.637 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3213, allocations: 4 kB / 0.5353 GB, free: 2.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005344/0.3219, allocations: 435.4 kB / 0.5357 GB, free: 2.477 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3219, allocations: 11.97 kB / 0.5357 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3219, allocations: 10.25 kB / 0.5357 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007318/0.3226, allocations: 197.4 kB / 0.5359 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.3229, allocations: 117.1 kB / 0.536 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002446/0.3231, allocations: 0.8208 MB / 0.5368 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.3233, allocations: 51.64 kB / 0.5369 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.3234, allocations: 47.67 kB / 0.5369 GB, free: 1.59 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.0001279/0.3235, allocations: 191.6 kB / 0.5371 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.3236, allocations: 60.34 kB / 0.5372 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3247, allocations: 1.02 MB / 0.5382 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3248, allocations: 6.844 kB / 0.5382 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.3248, allocations: 0 / 0.5382 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.3248, allocations: 2.578 kB / 0.5382 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/0.3254, allocations: 0.7132 MB / 0.5389 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3254, allocations: 6.797 kB / 0.5389 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.3255, allocations: 49.16 kB / 0.5389 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.3269, allocations: 315.2 kB / 0.5392 GB, free: 488 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.3269, allocations: 13.44 kB / 0.5392 GB, free: 480 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002863/0.3272, allocations: 0.8362 MB / 0.54 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3272, allocations: 3.031 kB / 0.5401 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.3276, allocations: 462.5 kB / 0.5405 GB, free: 15.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.3276, allocations: 46.09 kB / 0.5405 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.3277, allocations: 21.33 kB / 0.5406 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.3279, allocations: 11.97 kB / 0.5406 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.3279, allocations: 26.86 kB / 0.5406 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.328, allocations: 17.47 kB / 0.5406 GB, free: 15.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3282, allocations: 314.1 kB / 0.5409 GB, free: 15.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3282, allocations: 0 / 0.5409 GB, free: 15.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007423/0.3289, allocations: 354.3 kB / 0.5412 GB, free: 15 MB / 426.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.0006727/0.3296, allocations: 422 kB / 0.5417 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00038/0.33, allocations: 245.1 kB / 0.5419 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.33, allocations: 6.75 kB / 0.5419 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.3301, allocations: 102.5 kB / 0.542 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3311, allocations: 347.4 kB / 0.5423 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.3324, allocations: 0.8657 MB / 0.5432 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.897e-05/0.3325, allocations: 137.7 kB / 0.5433 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007417/0.3332, allocations: 0.5442 MB / 0.5438 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006601/0.3339, allocations: 405.2 kB / 0.5442 GB, free: 13.31 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3339, allocations: 0 / 0.5442 GB, free: 13.31 MB / 426.7 MB Notification: Performance of Templates: time 0.04738/0.3813, allocations: 18.95 MB / 0.5627 GB, free: 11.67 MB / 442.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.015261264052242]