Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009695/0.0009695, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009431/0.0009431, allocations: 170.5 kB / 25.61 MB, free: 8.906 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.973/0.973, allocations: 177.2 MB / 206.1 MB, free: 4.492 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.142/0.142, allocations: 34.26 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.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.1.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.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.335e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2942/0.2942, allocations: 146.1 MB / 0.5131 GB, free: 16.42 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003669/0.2978, allocations: 3.398 MB / 0.5164 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003188/0.2982, allocations: 22.59 kB / 0.5164 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.2986, allocations: 186 kB / 0.5166 GB, free: 16.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0024/0.301, allocations: 1.562 MB / 0.5181 GB, free: 16.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.3019, allocations: 0.5712 MB / 0.5187 GB, free: 16.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.3032, allocations: 1.535 MB / 0.5202 GB, free: 16.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.3036, allocations: 374.6 kB / 0.5205 GB, free: 16.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007706/0.3043, allocations: 0.764 MB / 0.5213 GB, free: 16.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005855/0.3049, allocations: 490.3 kB / 0.5217 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.305, allocations: 52.41 kB / 0.5218 GB, free: 15.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.3066, allocations: 1.095 MB / 0.5229 GB, free: 15.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.3067, allocations: 178.4 kB / 0.523 GB, free: 15.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.3069, allocations: 251.1 kB / 0.5233 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3082, allocations: 1.435 MB / 0.5247 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3082, allocations: 0 / 0.5247 GB, free: 15.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3082, allocations: 0 / 0.5247 GB, free: 15.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.3082, allocations: 0 / 0.5247 GB, free: 15.73 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.001116/0.3093, allocations: 1.112 MB / 0.5258 GB, free: 15.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3094, allocations: 10.72 kB / 0.5258 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.3099, allocations: 221.8 kB / 0.526 GB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.3103, allocations: 425.9 kB / 0.5264 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.3104, allocations: 37.75 kB / 0.5264 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.637e-05/0.3104, allocations: 44.97 kB / 0.5265 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.3109, allocations: 0.7675 MB / 0.5272 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3109, allocations: 0 / 0.5272 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.3109, allocations: 19.28 kB / 0.5272 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.729e-06/0.311, allocations: 11.91 kB / 0.5272 GB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.3112, allocations: 231.8 kB / 0.5275 GB, free: 14.21 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.001287/0.3125, allocations: 2.201 MB / 0.5296 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3128, allocations: 191.9 kB / 0.5298 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.3129, allocations: 73.39 kB / 0.5299 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.313, allocations: 48.73 kB / 0.5299 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.313, allocations: 42.42 kB / 0.53 GB, free: 12.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.313, allocations: 0 / 0.53 GB, free: 12.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007474/0.3138, allocations: 442.7 kB / 0.5304 GB, free: 12.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.3138, allocations: 133.8 kB / 0.5305 GB, free: 12.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.314, allocations: 425.8 kB / 0.5309 GB, free: 12.19 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.314, allocations: 34.14 kB / 0.5309 GB, free: 12.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3141, allocations: 343.2 kB / 0.5313 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.3142, allocations: 124.9 kB / 0.5314 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3143, allocations: 111.7 kB / 0.5315 GB, free: 11.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.3144, allocations: 0.5285 MB / 0.532 GB, free: 11.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.3144, allocations: 57.02 kB / 0.5321 GB, free: 11.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3146, allocations: 323.1 kB / 0.5324 GB, free: 11.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.3148, allocations: 302.7 kB / 0.5327 GB, free: 10.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3148, allocations: 0 / 0.5327 GB, free: 10.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004063/0.3152, allocations: 378 kB / 0.533 GB, free: 10.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3152, allocations: 12.34 kB / 0.533 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3152, allocations: 6.344 kB / 0.533 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/0.3159, allocations: 197.3 kB / 0.5332 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.3161, allocations: 106.7 kB / 0.5333 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002244/0.3163, allocations: 0.8219 MB / 0.5341 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.3164, allocations: 40.42 kB / 0.5342 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.3165, allocations: 41.98 kB / 0.5342 GB, free: 9.93 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.0001118/0.3166, allocations: 185 kB / 0.5344 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.854e-05/0.3167, allocations: 58.91 kB / 0.5344 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009653/0.3176, allocations: 0.9546 MB / 0.5354 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3176, allocations: 5.656 kB / 0.5354 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.3176, allocations: 0 / 0.5354 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3176, allocations: 2.812 kB / 0.5354 GB, free: 9.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.3183, allocations: 0.7501 MB / 0.5361 GB, free: 9.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3183, allocations: 7.125 kB / 0.5361 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3184, allocations: 48.52 kB / 0.5362 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/0.3196, allocations: 317.4 kB / 0.5365 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.3196, allocations: 17.89 kB / 0.5365 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002207/0.3199, allocations: 0.8329 MB / 0.5373 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3199, allocations: 2.844 kB / 0.5373 GB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.3202, allocations: 453.9 kB / 0.5377 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3202, allocations: 51.06 kB / 0.5378 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.3203, allocations: 21.31 kB / 0.5378 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.3204, allocations: 13.3 kB / 0.5378 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.3205, allocations: 25.84 kB / 0.5378 GB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3205, allocations: 15.09 kB / 0.5379 GB, free: 8.008 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.3207, allocations: 288.2 kB / 0.5381 GB, free: 7.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3207, allocations: 5.656 kB / 0.5381 GB, free: 7.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000577/0.3212, allocations: 338.5 kB / 0.5385 GB, free: 7.82 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.0005945/0.3218, allocations: 428 kB / 0.5389 GB, free: 7.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.3222, allocations: 226.6 kB / 0.5391 GB, free: 7.641 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3222, allocations: 0 / 0.5391 GB, free: 7.641 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3223, allocations: 120.1 kB / 0.5392 GB, free: 7.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.323, allocations: 315.8 kB / 0.5395 GB, free: 7.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3241, allocations: 0.838 MB / 0.5403 GB, free: 7.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.319e-05/0.3241, allocations: 129.8 kB / 0.5404 GB, free: 6.988 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005183/0.3247, allocations: 488.3 kB / 0.5409 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.3251, allocations: 358.9 kB / 0.5413 GB, free: 6.664 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3251, allocations: 0 / 0.5413 GB, free: 6.664 MB / 410.7 MB Notification: Performance of Templates: time 0.01963/0.3448, allocations: 18.66 MB / 0.5595 GB, free: 10.2 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9641928537748754]