Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008879/0.0008879, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0009155/0.0009155, allocations: 169.4 kB / 25.61 MB, free: 8.891 MB / 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 0.932/0.932, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1399/0.1399, allocations: 34.28 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.079e-05, allocations: 5.406 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend): time 0.3003/0.3003, allocations: 146 MB / 0.513 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003619/0.304, allocations: 3.404 MB / 0.5163 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.3042, allocations: 22.25 kB / 0.5164 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.3047, allocations: 177.1 kB / 0.5165 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002235/0.3069, allocations: 1.562 MB / 0.5181 GB, free: 16.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.3077, allocations: 0.5777 MB / 0.5186 GB, free: 16.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.3089, allocations: 1.528 MB / 0.5201 GB, free: 16.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004581/0.3093, allocations: 368.5 kB / 0.5205 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007498/0.3101, allocations: 0.7655 MB / 0.5212 GB, free: 16.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004704/0.3106, allocations: 486.3 kB / 0.5217 GB, free: 16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.3106, allocations: 48.34 kB / 0.5217 GB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3119, allocations: 1.045 MB / 0.5227 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.312, allocations: 167.5 kB / 0.5229 GB, free: 15.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3121, allocations: 247.8 kB / 0.5231 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.3134, allocations: 1.405 MB / 0.5245 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3134, allocations: 0 / 0.5245 GB, free: 15.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.3134, allocations: 0 / 0.5245 GB, free: 15.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3134, allocations: 0 / 0.5245 GB, free: 15.77 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.00102/0.3144, allocations: 1.11 MB / 0.5256 GB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3144, allocations: 7.531 kB / 0.5256 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000559/0.315, allocations: 224.9 kB / 0.5258 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3154, allocations: 419.7 kB / 0.5262 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3154, allocations: 36.06 kB / 0.5263 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.3155, allocations: 42.22 kB / 0.5263 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.316, allocations: 0.774 MB / 0.527 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.316, allocations: 0 / 0.527 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.316, allocations: 18.59 kB / 0.5271 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.316, allocations: 10.72 kB / 0.5271 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002727/0.3163, allocations: 234.3 kB / 0.5273 GB, free: 14.24 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.001288/0.3176, allocations: 2.182 MB / 0.5294 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.3179, allocations: 194.5 kB / 0.5296 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.318, allocations: 81.19 kB / 0.5297 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.3181, allocations: 41.14 kB / 0.5297 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.3181, allocations: 40.23 kB / 0.5298 GB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.232e-06/0.3181, allocations: 0 / 0.5298 GB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007029/0.3188, allocations: 441.7 kB / 0.5302 GB, free: 12.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.3188, allocations: 137.5 kB / 0.5303 GB, free: 12.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.319, allocations: 411.9 kB / 0.5307 GB, free: 12.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.319, allocations: 37.8 kB / 0.5308 GB, free: 12.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3191, allocations: 339.5 kB / 0.5311 GB, free: 11.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.753e-05/0.3192, allocations: 125.6 kB / 0.5312 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.3193, allocations: 103.2 kB / 0.5313 GB, free: 11.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.603e-05/0.3194, allocations: 0.5372 MB / 0.5318 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.752e-05/0.3194, allocations: 54.52 kB / 0.5319 GB, free: 11.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3196, allocations: 322.4 kB / 0.5322 GB, free: 11.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/0.3198, allocations: 312.5 kB / 0.5325 GB, free: 10.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3198, allocations: 2.625 kB / 0.5325 GB, free: 10.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004309/0.3202, allocations: 372.2 kB / 0.5328 GB, free: 10.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3203, allocations: 8.688 kB / 0.5328 GB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3203, allocations: 10.34 kB / 0.5329 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006501/0.3209, allocations: 193 kB / 0.533 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.3211, allocations: 108.5 kB / 0.5331 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002121/0.3213, allocations: 0.8207 MB / 0.5339 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3214, allocations: 39.72 kB / 0.534 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.3215, allocations: 43.09 kB / 0.534 GB, free: 9.961 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.0001087/0.3216, allocations: 188.2 kB / 0.5342 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.3217, allocations: 54.78 kB / 0.5343 GB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009469/0.3226, allocations: 0.9554 MB / 0.5352 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3226, allocations: 4.141 kB / 0.5352 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.3226, allocations: 2.906 kB / 0.5352 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3226, allocations: 1.406 kB / 0.5352 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.3233, allocations: 0.7452 MB / 0.5359 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3233, allocations: 0 / 0.5359 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3234, allocations: 56.16 kB / 0.536 GB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.3246, allocations: 314.2 kB / 0.5363 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3246, allocations: 10.12 kB / 0.5363 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000187/0.3248, allocations: 0.8401 MB / 0.5371 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3248, allocations: 0 / 0.5371 GB, free: 8.383 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.3251, allocations: 449.3 kB / 0.5375 GB, free: 8.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.3251, allocations: 53.31 kB / 0.5376 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.3252, allocations: 8.281 kB / 0.5376 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.3253, allocations: 18.19 kB / 0.5376 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3254, allocations: 28.05 kB / 0.5376 GB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.3254, allocations: 15.06 kB / 0.5377 GB, free: 8.051 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3255, allocations: 285.6 kB / 0.5379 GB, free: 7.926 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3255, allocations: 0 / 0.5379 GB, free: 7.926 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006287/0.3261, allocations: 347.5 kB / 0.5383 GB, free: 7.852 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.0005681/0.3267, allocations: 433.7 kB / 0.5387 GB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.327, allocations: 227.6 kB / 0.5389 GB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.327, allocations: 0.875 kB / 0.5389 GB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.3272, allocations: 115.8 kB / 0.539 GB, free: 7.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007648/0.3279, allocations: 313.6 kB / 0.5393 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.3289, allocations: 0.8306 MB / 0.5401 GB, free: 7.102 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.329, allocations: 133.1 kB / 0.5402 GB, free: 7.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005284/0.3295, allocations: 470.8 kB / 0.5407 GB, free: 6.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.33, allocations: 367.4 kB / 0.541 GB, free: 6.781 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.33, allocations: 3.938 kB / 0.541 GB, free: 6.777 MB / 410.7 MB Notification: Performance of Templates: time 0.01934/0.3494, allocations: 18.15 MB / 0.5588 GB, free: 10.88 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9107997021637857]