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.001373/0.001373, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001504/0.001504, allocations: 172.9 kB / 24.91 MB, free: 9.211 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.954/0.954, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2528/0.2528, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.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.382e-06/1.382e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.395e-05, allocations: 8.531 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.2951/0.2951, allocations: 148.2 MB / 473.5 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.2991, allocations: 3.471 MB / 476.9 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.2996, allocations: 25 kB / 476.9 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000483/0.3001, allocations: 184.9 kB / 477.1 MB, free: 16.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.3031, allocations: 1.571 MB / 478.7 MB, free: 16.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.3042, allocations: 0.5612 MB / 479.3 MB, free: 16.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.306, allocations: 1.533 MB / 480.8 MB, free: 16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006195/0.3066, allocations: 374.4 kB / 481.2 MB, free: 15.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001105/0.3077, allocations: 0.7669 MB / 481.9 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008117/0.3085, allocations: 470.6 kB / 482.4 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.3086, allocations: 53.56 kB / 482.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.3111, allocations: 1.106 MB / 483.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3112, allocations: 166 kB / 483.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.3116, allocations: 251.2 kB / 484 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.3139, allocations: 1.44 MB / 485.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3139, allocations: 0 / 485.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3139, allocations: 0 / 485.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.3139, allocations: 0 / 485.4 MB, free: 15.61 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.001543/0.3155, allocations: 0.9717 MB / 486.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3155, allocations: 11.22 kB / 486.4 MB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/0.3163, allocations: 214 kB / 486.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.3169, allocations: 376.7 kB / 487 MB, free: 14.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.657e-05/0.3169, allocations: 35.53 kB / 487 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.715e-05/0.317, allocations: 45.56 kB / 487 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.3176, allocations: 0.7463 MB / 487.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3177, allocations: 0 / 487.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.3177, allocations: 26.59 kB / 487.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.3177, allocations: 11.16 kB / 487.8 MB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.3181, allocations: 218 kB / 488 MB, free: 14.27 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.001626/0.3197, allocations: 1.564 MB / 489.6 MB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.3201, allocations: 156.6 kB / 489.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3202, allocations: 109.1 kB / 489.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.3204, allocations: 91.11 kB / 489.9 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3204, allocations: 43.94 kB / 490 MB, free: 13.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.3204, allocations: 0 / 490 MB, free: 13.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008064/0.3212, allocations: 338.8 kB / 490.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3213, allocations: 136.6 kB / 490.4 MB, free: 12.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.3215, allocations: 355.2 kB / 490.8 MB, free: 12.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3215, allocations: 35.48 kB / 490.8 MB, free: 12.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.911e-05/0.3216, allocations: 246.9 kB / 491.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.3217, allocations: 128.5 kB / 491.2 MB, free: 12.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3218, allocations: 93.27 kB / 491.3 MB, free: 12.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.3219, allocations: 362.8 kB / 491.6 MB, free: 12.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.322, allocations: 43.66 kB / 491.7 MB, free: 12.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3221, allocations: 267.5 kB / 491.9 MB, free: 11.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.3224, allocations: 243.8 kB / 492.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3224, allocations: 2.906 kB / 492.2 MB, free: 11.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003894/0.3227, allocations: 267 kB / 492.4 MB, free: 11.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3228, allocations: 17.31 kB / 492.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3228, allocations: 3.031 kB / 492.5 MB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007652/0.3235, allocations: 200.5 kB / 492.7 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3238, allocations: 91.73 kB / 492.8 MB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002134/0.324, allocations: 0.5443 MB / 493.3 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001924/0.3242, allocations: 35.48 kB / 493.3 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.663e-05/0.3242, allocations: 43.25 kB / 493.4 MB, free: 11.21 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.0001304/0.3244, allocations: 140 kB / 493.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.3244, allocations: 39.42 kB / 493.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.3255, allocations: 0.8768 MB / 494.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3255, allocations: 5.219 kB / 494.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3255, allocations: 1.359 kB / 494.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3255, allocations: 1.594 kB / 494.4 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.3262, allocations: 0.5639 MB / 495 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3262, allocations: 1.5 kB / 495 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.3263, allocations: 50.5 kB / 495 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.3276, allocations: 312.8 kB / 495.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.3277, allocations: 6.375 kB / 495.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000193/0.3278, allocations: 0.5582 MB / 495.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3279, allocations: 0 / 495.9 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.3281, allocations: 328.8 kB / 496.2 MB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.3282, allocations: 43.97 kB / 496.3 MB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.733e-05/0.3283, allocations: 15.83 kB / 496.3 MB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.3284, allocations: 12.67 kB / 496.3 MB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.3285, allocations: 24.02 kB / 496.3 MB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.3285, allocations: 18.83 kB / 496.4 MB, free: 9.891 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3287, allocations: 166.5 kB / 496.5 MB, free: 9.875 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3287, allocations: 3.031 kB / 496.5 MB, free: 9.875 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008727/0.3296, allocations: 334.2 kB / 496.8 MB, free: 9.812 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.0006965/0.3302, allocations: 401.2 kB / 497.2 MB, free: 9.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003666/0.3306, allocations: 204.9 kB / 497.4 MB, free: 9.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.3306, allocations: 9.594 kB / 497.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3307, allocations: 94.86 kB / 497.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008661/0.3316, allocations: 311 kB / 497.8 MB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.3329, allocations: 0.8429 MB / 498.7 MB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.056e-05/0.3329, allocations: 127.1 kB / 498.8 MB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006612/0.3336, allocations: 485.5 kB / 499.3 MB, free: 8.879 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/0.3342, allocations: 307 kB / 499.6 MB, free: 8.75 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.3342, allocations: 3.938 kB / 499.6 MB, free: 8.746 MB / 410.7 MB Notification: Performance of Templates: time 0.02318/0.3574, allocations: 18.38 MB / 0.5058 GB, free: 12.14 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.6909003877080977]