Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.00127/0.00127, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001329/0.001329, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2661/0.2661, allocations: 32.8 MB / 294.3 MB, free: 1.176 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|ramp.y|boundary.ports.[0-9,]+..m_flow|boundary.ports.[0-9,]+..p|boundary.ports.[0-9,]+..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.94e-05/3.107e-05, allocations: 6.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.2965/0.2965, allocations: 148.8 MB / 0.5125 GB, free: 17.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003921/0.3005, allocations: 3.451 MB / 0.5159 GB, free: 15.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.3008, allocations: 20.72 kB / 0.5159 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005148/0.3013, allocations: 185.3 kB / 0.5161 GB, free: 15.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.3041, allocations: 1.541 MB / 0.5176 GB, free: 14.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008827/0.305, allocations: 0.5786 MB / 0.5182 GB, free: 14.02 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.3062, allocations: 1.521 MB / 0.5197 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004318/0.3067, allocations: 364.5 kB / 0.52 GB, free: 13.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.3073, allocations: 0.7656 MB / 0.5208 GB, free: 12.78 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.3078, allocations: 498.3 kB / 0.5212 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.558e-05/0.3079, allocations: 49.09 kB / 0.5213 GB, free: 12.62 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.3091, allocations: 1.04 MB / 0.5223 GB, free: 12.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3092, allocations: 166.1 kB / 0.5225 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.3094, allocations: 247.6 kB / 0.5227 GB, free: 12.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.3107, allocations: 1.404 MB / 0.5241 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3107, allocations: 4 kB / 0.5241 GB, free: 11.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3107, allocations: 0 / 0.5241 GB, free: 11.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.3107, allocations: 0 / 0.5241 GB, free: 11.66 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.00112/0.3118, allocations: 1.101 MB / 0.5251 GB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.3119, allocations: 8.5 kB / 0.5251 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005525/0.3124, allocations: 216.7 kB / 0.5254 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.3129, allocations: 432.5 kB / 0.5258 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3129, allocations: 33.97 kB / 0.5258 GB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.3129, allocations: 51.69 kB / 0.5258 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.3135, allocations: 0.7955 MB / 0.5266 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3135, allocations: 2.594 kB / 0.5266 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.3136, allocations: 21.47 kB / 0.5266 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.3136, allocations: 9 kB / 0.5267 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.3139, allocations: 268.7 kB / 0.5269 GB, free: 9.785 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.001364/0.3153, allocations: 2.262 MB / 0.5291 GB, free: 7.988 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.3156, allocations: 204.4 kB / 0.5293 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3157, allocations: 94.94 kB / 0.5294 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.3159, allocations: 43.72 kB / 0.5294 GB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.3159, allocations: 44.55 kB / 0.5295 GB, free: 7.836 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.292e-06/0.3159, allocations: 0 / 0.5295 GB, free: 7.836 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007708/0.3166, allocations: 477.7 kB / 0.5299 GB, free: 7.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3167, allocations: 131.6 kB / 0.5301 GB, free: 7.523 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.3169, allocations: 426.6 kB / 0.5305 GB, free: 7.273 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3169, allocations: 33.7 kB / 0.5305 GB, free: 7.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.317, allocations: 334 kB / 0.5308 GB, free: 6.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.3171, allocations: 121.3 kB / 0.5309 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.3172, allocations: 106.9 kB / 0.531 GB, free: 6.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/0.3173, allocations: 0.5291 MB / 0.5316 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.3174, allocations: 76.44 kB / 0.5316 GB, free: 6.281 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.3175, allocations: 325.7 kB / 0.5319 GB, free: 5.953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.3178, allocations: 321.7 kB / 0.5323 GB, free: 5.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3178, allocations: 0 / 0.5323 GB, free: 5.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004402/0.3182, allocations: 408.4 kB / 0.5326 GB, free: 5.555 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3183, allocations: 15.19 kB / 0.5327 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3183, allocations: 2.344 kB / 0.5327 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006364/0.3189, allocations: 201.5 kB / 0.5329 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3191, allocations: 102.5 kB / 0.5329 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002186/0.3193, allocations: 0.8333 MB / 0.5338 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.3194, allocations: 37.78 kB / 0.5338 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.3195, allocations: 46.59 kB / 0.5338 GB, free: 4.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0001067/0.3196, allocations: 189.4 kB / 0.534 GB, free: 4.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.3196, allocations: 55.88 kB / 0.5341 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008996/0.3205, allocations: 0.9634 MB / 0.535 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3205, allocations: 3.094 kB / 0.535 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3205, allocations: 4 kB / 0.535 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3206, allocations: 0 / 0.535 GB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006756/0.3212, allocations: 0.843 MB / 0.5358 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3212, allocations: 0 / 0.5358 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.3213, allocations: 47.41 kB / 0.5359 GB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.3224, allocations: 320.1 kB / 0.5362 GB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3225, allocations: 17.56 kB / 0.5362 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000216/0.3227, allocations: 0.8354 MB / 0.537 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3227, allocations: 0.5156 kB / 0.537 GB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.3232, allocations: 472.5 kB / 0.5375 GB, free: 2.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.3232, allocations: 48.33 kB / 0.5375 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.3233, allocations: 9.5 kB / 0.5375 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.3235, allocations: 16.3 kB / 0.5376 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.3236, allocations: 31.3 kB / 0.5376 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.3236, allocations: 21.59 kB / 0.5376 GB, free: 2.312 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.3239, allocations: 301.9 kB / 0.5379 GB, free: 2.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3239, allocations: 0 / 0.5379 GB, free: 2.156 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005819/0.3245, allocations: 352.2 kB / 0.5382 GB, free: 2.059 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.0005518/0.325, allocations: 431.4 kB / 0.5386 GB, free: 1.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.3254, allocations: 247.9 kB / 0.5389 GB, free: 1.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3254, allocations: 2.969 kB / 0.5389 GB, free: 1.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.3255, allocations: 116.1 kB / 0.539 GB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.3263, allocations: 310.6 kB / 0.5393 GB, free: 1.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.3273, allocations: 0.8377 MB / 0.5401 GB, free: 1.141 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.937e-05/0.3274, allocations: 121.6 kB / 0.5402 GB, free: 1.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005111/0.3279, allocations: 499.1 kB / 0.5407 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.328, allocations: 85.98 kB / 0.5408 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.328, allocations: 0 / 0.5408 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of Templates: time 0.01938/0.3474, allocations: 18.03 MB / 0.5584 GB, free: 1.895 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/EdgedBend/EdgedBend.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.826784876175225]