Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002356/0.002356, allocations: 96.97 kB / 20.21 MB, free: 4.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002705/0.002705, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2294/0.2294, allocations: 32.38 MB / 270 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..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_3.2.3_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.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..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_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 347 MB, free: 9.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.425e-05/3.555e-05, allocations: 2.312 kB / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.5508/0.5509, allocations: 181.3 MB / 0.5159 GB, free: 14.56 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.5655, allocations: 7.403 MB / 0.5231 GB, free: 7.145 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009495/0.5665, allocations: 27.69 kB / 0.5231 GB, free: 7.117 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.5678, allocations: 333.6 kB / 0.5234 GB, free: 6.789 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009129/0.5769, allocations: 2.799 MB / 0.5262 GB, free: 3.98 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.5801, allocations: 0.9306 MB / 0.5271 GB, free: 3.047 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002936/0.583, allocations: 1.694 MB / 0.5287 GB, free: 1.344 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.5838, allocations: 390.7 kB / 0.5291 GB, free: 0.957 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002334/0.5861, allocations: 1.098 MB / 0.5302 GB, free: 15.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.5871, allocations: 462.7 kB / 0.5306 GB, free: 15.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.5873, allocations: 56 kB / 0.5307 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004312/0.5916, allocations: 1.45 MB / 0.5321 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.5919, allocations: 175.4 kB / 0.5323 GB, free: 13.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.5924, allocations: 275.4 kB / 0.5325 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004583/0.597, allocations: 2.057 MB / 0.5345 GB, free: 11.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.597, allocations: 0 / 0.5345 GB, free: 11.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.597, allocations: 0 / 0.5345 GB, free: 11.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.597, allocations: 8 kB / 0.5345 GB, free: 11.38 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.002809/0.5998, allocations: 1.253 MB / 0.5358 GB, free: 10.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5999, allocations: 8.031 kB / 0.5358 GB, free: 10.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.6013, allocations: 254.8 kB / 0.536 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009838/0.6023, allocations: 468.9 kB / 0.5365 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/0.6023, allocations: 29 kB / 0.5365 GB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.6024, allocations: 52 kB / 0.5365 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/0.6041, allocations: 1.087 MB / 0.5376 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6041, allocations: 0 / 0.5376 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.481e-05/0.6042, allocations: 20 kB / 0.5376 GB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.6042, allocations: 8 kB / 0.5376 GB, free: 7.984 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009594/0.6052, allocations: 455.5 kB / 0.5381 GB, free: 7.539 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.004072/0.6092, allocations: 2.64 MB / 0.5406 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.61, allocations: 304.8 kB / 0.5409 GB, free: 4.504 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.6103, allocations: 143.7 kB / 0.5411 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/0.6114, allocations: 402.2 kB / 0.5414 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.6114, allocations: 41.39 kB / 0.5415 GB, free: 3.914 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.6114, allocations: 0 / 0.5415 GB, free: 3.914 MB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.001899/0.6133, allocations: 0.6251 MB / 0.5421 GB, free: 3.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.6135, allocations: 170 kB / 0.5423 GB, free: 3.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007429/0.6142, allocations: 0.5338 MB / 0.5428 GB, free: 2.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.6143, allocations: 37.7 kB / 0.5428 GB, free: 2.484 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.6146, allocations: 374.9 kB / 0.5432 GB, free: 2.113 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.6148, allocations: 134.8 kB / 0.5433 GB, free: 1.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.615, allocations: 139.8 kB / 0.5434 GB, free: 1.836 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00038/0.6154, allocations: 0.5508 MB / 0.544 GB, free: 1.273 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.6157, allocations: 128.9 kB / 0.5441 GB, free: 1.145 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006603/0.6164, allocations: 491.8 kB / 0.5446 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009278/0.6173, allocations: 0.5139 MB / 0.5451 GB, free: 15.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6173, allocations: 0 / 0.5451 GB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001216/0.6185, allocations: 0.5704 MB / 0.5456 GB, free: 15.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.6186, allocations: 10.34 kB / 0.5456 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6186, allocations: 4 kB / 0.5456 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.62, allocations: 208 kB / 0.5458 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.6204, allocations: 115.8 kB / 0.5459 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008141/0.6213, allocations: 0.8624 MB / 0.5468 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003594/0.6216, allocations: 43.67 kB / 0.5468 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/0.6217, allocations: 64 kB / 0.5469 GB, free: 14.02 MB / 426.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.0003719/0.6221, allocations: 228.4 kB / 0.5471 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.6223, allocations: 67.61 kB / 0.5472 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/0.624, allocations: 0.7864 MB / 0.5479 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.624, allocations: 4 kB / 0.5479 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.624, allocations: 0 / 0.5479 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.624, allocations: 3.984 kB / 0.548 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.6259, allocations: 1.008 MB / 0.5489 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.6259, allocations: 0 / 0.5489 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.6262, allocations: 55.91 kB / 0.549 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002886/0.629, allocations: 351.4 kB / 0.5493 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.6291, allocations: 11.98 kB / 0.5493 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/0.6299, allocations: 0.8663 MB / 0.5502 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.6299, allocations: 4 kB / 0.5502 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.6309, allocations: 0.5561 MB / 0.5507 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.631, allocations: 51.59 kB / 0.5508 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.968e-05/0.6311, allocations: 19.91 kB / 0.5508 GB, free: 9.816 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003172/0.6314, allocations: 15.98 kB / 0.5508 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.87e-05/0.6315, allocations: 23.97 kB / 0.5508 GB, free: 9.777 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.419e-05/0.6316, allocations: 19.98 kB / 0.5509 GB, free: 9.758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006154/0.6322, allocations: 398.8 kB / 0.5512 GB, free: 9.367 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.6322, allocations: 0 / 0.5512 GB, free: 9.367 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00165/0.6338, allocations: 398.8 kB / 0.5516 GB, free: 8.977 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.001461/0.6353, allocations: 0.5396 MB / 0.5521 GB, free: 8.438 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009775/0.6363, allocations: 384.5 kB / 0.5525 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.6363, allocations: 4 kB / 0.5525 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.6367, allocations: 157.1 kB / 0.5527 GB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.6383, allocations: 342.5 kB / 0.553 GB, free: 7.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.6401, allocations: 0.9027 MB / 0.5539 GB, free: 6.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.6404, allocations: 267.5 kB / 0.5541 GB, free: 6.309 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007478/0.6411, allocations: 200.5 kB / 0.5543 GB, free: 6.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.6414, allocations: 76.47 kB / 0.5544 GB, free: 6.035 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.6414, allocations: 4 kB / 0.5544 GB, free: 6.031 MB / 426.7 MB Notification: Performance of Templates: time 0.03549/0.6769, allocations: 18.16 MB / 0.5721 GB, free: 3.98 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Bend/Bend.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.716768271056935]