Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.001348/0.001348, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001718/0.001718, allocations: 169.7 kB / 24.82 MB, free: 8.934 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 1.047/1.047, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.2587/0.2587, allocations: 32.8 MB / 294.6 MB, free: 1.238 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.CurvedBend,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.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,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.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 376.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.848e-05, allocations: 5.406 kB / 376.5 MB, free: 4.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2857/0.2857, allocations: 146.1 MB / 0.5103 GB, free: 18.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.2893, allocations: 3.405 MB / 0.5137 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.2896, allocations: 25.44 kB / 0.5137 GB, free: 16.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.29, allocations: 182.1 kB / 0.5139 GB, free: 16.49 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.2923, allocations: 1.558 MB / 0.5154 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007298/0.293, allocations: 0.5621 MB / 0.5159 GB, free: 15.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009172/0.2939, allocations: 1.541 MB / 0.5174 GB, free: 14.72 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.2943, allocations: 370.2 kB / 0.5178 GB, free: 14.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.2948, allocations: 0.7683 MB / 0.5185 GB, free: 14.2 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004092/0.2953, allocations: 493.1 kB / 0.519 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.2953, allocations: 52.38 kB / 0.5191 GB, free: 14.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.2965, allocations: 1.102 MB / 0.5201 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2966, allocations: 166.4 kB / 0.5203 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.2967, allocations: 248.7 kB / 0.5205 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.2979, allocations: 1.437 MB / 0.5219 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2979, allocations: 6.344 kB / 0.5219 GB, free: 13.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2979, allocations: 0 / 0.5219 GB, free: 13.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2979, allocations: 0 / 0.5219 GB, free: 13.05 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.001012/0.2989, allocations: 1.111 MB / 0.523 GB, free: 12.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.299, allocations: 10.25 kB / 0.523 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000545/0.2995, allocations: 216.2 kB / 0.5232 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.2999, allocations: 426.8 kB / 0.5236 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2999, allocations: 33.47 kB / 0.5237 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.3, allocations: 46.47 kB / 0.5237 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.3004, allocations: 0.7688 MB / 0.5245 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3004, allocations: 4 kB / 0.5245 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.319e-05/0.3005, allocations: 17.5 kB / 0.5245 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3005, allocations: 10.91 kB / 0.5245 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.3007, allocations: 230 kB / 0.5247 GB, free: 11.2 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.001249/0.302, allocations: 2.195 MB / 0.5269 GB, free: 9.434 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.3023, allocations: 203.2 kB / 0.5271 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.3023, allocations: 72.55 kB / 0.5271 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.3025, allocations: 62.33 kB / 0.5272 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3025, allocations: 42.92 kB / 0.5272 GB, free: 9.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.3025, allocations: 0 / 0.5272 GB, free: 9.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006847/0.3032, allocations: 439.1 kB / 0.5277 GB, free: 9.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3032, allocations: 131.5 kB / 0.5278 GB, free: 9.004 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3034, allocations: 424.6 kB / 0.5282 GB, free: 8.754 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.3034, allocations: 43.59 kB / 0.5282 GB, free: 8.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3035, allocations: 340.7 kB / 0.5285 GB, free: 8.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.3036, allocations: 126 kB / 0.5287 GB, free: 8.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.3037, allocations: 104.1 kB / 0.5288 GB, free: 8.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.3037, allocations: 0.5306 MB / 0.5293 GB, free: 7.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.3038, allocations: 61.12 kB / 0.5293 GB, free: 7.754 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.304, allocations: 316.3 kB / 0.5296 GB, free: 7.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.3042, allocations: 300.2 kB / 0.5299 GB, free: 7.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3042, allocations: 2.875 kB / 0.5299 GB, free: 7.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004705/0.3046, allocations: 381.6 kB / 0.5303 GB, free: 7.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3047, allocations: 7.547 kB / 0.5303 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3047, allocations: 9.219 kB / 0.5303 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006162/0.3053, allocations: 200.4 kB / 0.5305 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.3055, allocations: 99.31 kB / 0.5306 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000218/0.3057, allocations: 0.8252 MB / 0.5314 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.3058, allocations: 45.34 kB / 0.5315 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.3058, allocations: 46.38 kB / 0.5315 GB, free: 6.164 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.0001027/0.306, allocations: 180.7 kB / 0.5317 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.864e-05/0.306, allocations: 58.03 kB / 0.5317 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008963/0.3069, allocations: 0.9535 MB / 0.5327 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3069, allocations: 3.438 kB / 0.5327 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3069, allocations: 6.688 kB / 0.5327 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3069, allocations: 7.938 kB / 0.5327 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006179/0.3075, allocations: 0.7476 MB / 0.5334 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3075, allocations: 2.25 kB / 0.5334 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3076, allocations: 53.55 kB / 0.5335 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.3087, allocations: 314.5 kB / 0.5338 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.3087, allocations: 14.16 kB / 0.5338 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001753/0.3089, allocations: 0.841 MB / 0.5346 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3089, allocations: 2.719 kB / 0.5346 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.3092, allocations: 453 kB / 0.535 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.3092, allocations: 48.34 kB / 0.5351 GB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.3093, allocations: 17.55 kB / 0.5351 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.3094, allocations: 19.94 kB / 0.5351 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3094, allocations: 27.05 kB / 0.5351 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.3095, allocations: 13.06 kB / 0.5351 GB, free: 3.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3096, allocations: 294.9 kB / 0.5354 GB, free: 3.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3096, allocations: 0 / 0.5354 GB, free: 3.719 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000518/0.3101, allocations: 335.3 kB / 0.5357 GB, free: 3.637 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.0005284/0.3106, allocations: 428.9 kB / 0.5362 GB, free: 3.441 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3109, allocations: 231.3 kB / 0.5364 GB, free: 3.387 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3109, allocations: 0 / 0.5364 GB, free: 3.387 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.311, allocations: 111.1 kB / 0.5365 GB, free: 3.352 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.3117, allocations: 316.7 kB / 0.5368 GB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009687/0.3127, allocations: 0.8412 MB / 0.5376 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.08e-05/0.3128, allocations: 133.2 kB / 0.5377 GB, free: 2.637 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.3133, allocations: 479.6 kB / 0.5382 GB, free: 2.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004876/0.3138, allocations: 370.6 kB / 0.5385 GB, free: 2.461 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3138, allocations: 0 / 0.5385 GB, free: 2.461 MB / 410.7 MB Notification: Performance of Templates: time 0.01807/0.3318, allocations: 18.47 MB / 0.5566 GB, free: 3.293 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Bends/CurvedBend/CurvedBend.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.679227503016591]