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.0009284/0.0009284, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.0008883/0.0008883, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.072/1.072, allocations: 177 MB / 204.8 MB, free: 5.219 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.2672/0.2672, allocations: 34.86 MB / 296.3 MB, free: 476 kB / 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.954e-06/1.954e-06, allocations: 0 / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.542e-05, allocations: 3.156 kB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3217/0.3217, allocations: 149.1 MB / 0.5155 GB, free: 14.51 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.3274, allocations: 4.158 MB / 0.5196 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004141/0.3278, allocations: 31.47 kB / 0.5196 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006155/0.3285, allocations: 196 kB / 0.5198 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.3321, allocations: 1.699 MB / 0.5215 GB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.3336, allocations: 0.7589 MB / 0.5222 GB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.3353, allocations: 1.727 MB / 0.5239 GB, free: 9.586 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.3359, allocations: 397.2 kB / 0.5243 GB, free: 9.352 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.3373, allocations: 0.9599 MB / 0.5252 GB, free: 8.957 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.3379, allocations: 459.2 kB / 0.5256 GB, free: 8.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.338, allocations: 54.25 kB / 0.5257 GB, free: 8.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.34, allocations: 1.132 MB / 0.5268 GB, free: 8.516 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.3401, allocations: 181.3 kB / 0.527 GB, free: 8.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.3403, allocations: 271.6 kB / 0.5272 GB, free: 8.316 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.3421, allocations: 1.536 MB / 0.5287 GB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3421, allocations: 2.688 kB / 0.5287 GB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3421, allocations: 0 / 0.5287 GB, free: 7.762 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.3422, allocations: 0 / 0.5287 GB, free: 7.762 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.001627/0.3438, allocations: 1.161 MB / 0.5299 GB, free: 6.957 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.3438, allocations: 11.91 kB / 0.5299 GB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007535/0.3446, allocations: 271.4 kB / 0.5301 GB, free: 6.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.3451, allocations: 459.4 kB / 0.5306 GB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.3451, allocations: 34.34 kB / 0.5306 GB, free: 6.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.3452, allocations: 50.12 kB / 0.5307 GB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006936/0.3459, allocations: 0.9795 MB / 0.5316 GB, free: 5.688 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3459, allocations: 3.938 kB / 0.5316 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.3459, allocations: 24.78 kB / 0.5316 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.346, allocations: 11.38 kB / 0.5316 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004001/0.3464, allocations: 296.9 kB / 0.5319 GB, free: 5.621 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.001677/0.348, allocations: 2.44 MB / 0.5343 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.3484, allocations: 212.3 kB / 0.5345 GB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.3485, allocations: 93.12 kB / 0.5346 GB, free: 3.582 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.3486, allocations: 52.97 kB / 0.5347 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.3487, allocations: 40.17 kB / 0.5347 GB, free: 3.523 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.3487, allocations: 2.719 kB / 0.5347 GB, free: 3.523 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008668/0.3495, allocations: 0.4929 MB / 0.5352 GB, free: 3.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.3496, allocations: 158.9 kB / 0.5353 GB, free: 3.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.3498, allocations: 454.4 kB / 0.5358 GB, free: 2.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.3499, allocations: 44.2 kB / 0.5358 GB, free: 2.871 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.35, allocations: 359.6 kB / 0.5361 GB, free: 2.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/0.3501, allocations: 131.2 kB / 0.5363 GB, free: 2.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3502, allocations: 127 kB / 0.5364 GB, free: 2.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.3503, allocations: 0.5253 MB / 0.5369 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3504, allocations: 81.38 kB / 0.537 GB, free: 1.883 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.3506, allocations: 426.1 kB / 0.5374 GB, free: 1.434 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.3509, allocations: 405.1 kB / 0.5378 GB, free: 1.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3509, allocations: 5.656 kB / 0.5378 GB, free: 1.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005105/0.3514, allocations: 472 kB / 0.5382 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3515, allocations: 8.156 kB / 0.5382 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3515, allocations: 3.125 kB / 0.5382 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006886/0.3522, allocations: 198.8 kB / 0.5384 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.3524, allocations: 122.3 kB / 0.5385 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002742/0.3527, allocations: 0.8249 MB / 0.5394 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3528, allocations: 49.5 kB / 0.5394 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.3529, allocations: 54.23 kB / 0.5395 GB, free: 40 kB / 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.0001682/0.353, allocations: 196.4 kB / 0.5396 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.319e-05/0.3531, allocations: 59.09 kB / 0.5397 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.3542, allocations: 1.026 MB / 0.5407 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3542, allocations: 5.812 kB / 0.5407 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3542, allocations: 0 / 0.5407 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3542, allocations: 3.938 kB / 0.5407 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007974/0.355, allocations: 0.7953 MB / 0.5415 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.355, allocations: 192 / 0.5415 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.3552, allocations: 56.83 kB / 0.5415 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.3563, allocations: 343.9 kB / 0.5419 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.3564, allocations: 13.86 kB / 0.5419 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006634/0.357, allocations: 0.8301 MB / 0.5427 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.357, allocations: 2.594 kB / 0.5427 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.3574, allocations: 482.6 kB / 0.5432 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.854e-05/0.3575, allocations: 47.02 kB / 0.5432 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.181e-05/0.3575, allocations: 17.73 kB / 0.5432 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.3577, allocations: 16.52 kB / 0.5432 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.3577, allocations: 30.94 kB / 0.5433 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.3578, allocations: 19.52 kB / 0.5433 GB, free: 13.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002425/0.358, allocations: 344.7 kB / 0.5436 GB, free: 13.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.358, allocations: 0 / 0.5436 GB, free: 13.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007191/0.3587, allocations: 346.1 kB / 0.5439 GB, free: 13.22 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.0006728/0.3594, allocations: 412.7 kB / 0.5443 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004832/0.3599, allocations: 270.8 kB / 0.5446 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3599, allocations: 0 / 0.5446 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.36, allocations: 114.3 kB / 0.5447 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.3608, allocations: 345.3 kB / 0.545 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.3621, allocations: 0.867 MB / 0.5459 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.309e-05/0.3622, allocations: 132.8 kB / 0.546 GB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006349/0.3628, allocations: 0.5591 MB / 0.5465 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.363, allocations: 92.58 kB / 0.5466 GB, free: 11.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.363, allocations: 0 / 0.5466 GB, free: 11.63 MB / 426.7 MB Notification: Performance of Templates: time 0.01762/0.3806, allocations: 16.71 MB / 0.563 GB, free: 11.72 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: 3.996086386963725]