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.001053/0.001053, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001514/0.001514, allocations: 173.9 kB / 25 MB, free: 8.34 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.995/0.995, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2513/0.2513, allocations: 34.25 MB / 296 MB, free: 0.7734 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.603e-06/1.603e-06, allocations: 3.938 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.098e-05, allocations: 5.969 kB / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3206/0.3206, allocations: 179.9 MB / 0.5449 GB, free: 10.61 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.3259, allocations: 3.64 MB / 0.5485 GB, free: 8.215 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.3263, allocations: 31.22 kB / 0.5485 GB, free: 8.195 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.3274, allocations: 319.5 kB / 0.5488 GB, free: 8.012 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.3304, allocations: 1.784 MB / 0.5505 GB, free: 6.98 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3316, allocations: 0.7271 MB / 0.5513 GB, free: 6.441 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.3329, allocations: 1.561 MB / 0.5528 GB, free: 5.523 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004693/0.3334, allocations: 376.9 kB / 0.5531 GB, free: 5.258 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007979/0.3342, allocations: 0.8028 MB / 0.5539 GB, free: 4.773 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/0.3346, allocations: 413.3 kB / 0.5543 GB, free: 4.566 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-05/0.3346, allocations: 51.72 kB / 0.5544 GB, free: 4.566 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3361, allocations: 1.208 MB / 0.5555 GB, free: 3.973 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3362, allocations: 172.5 kB / 0.5557 GB, free: 3.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.3364, allocations: 251.6 kB / 0.5559 GB, free: 3.73 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.3379, allocations: 1.52 MB / 0.5574 GB, free: 2.289 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3379, allocations: 0 / 0.5574 GB, free: 2.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3379, allocations: 0 / 0.5574 GB, free: 2.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3379, allocations: 4 kB / 0.5574 GB, free: 2.285 MB / 426.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.001234/0.3391, allocations: 1.125 MB / 0.5585 GB, free: 1.121 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3392, allocations: 12.03 kB / 0.5585 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.3398, allocations: 227 kB / 0.5588 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005954/0.3404, allocations: 427.4 kB / 0.5592 GB, free: 456 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3405, allocations: 36.94 kB / 0.5592 GB, free: 420 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/0.3405, allocations: 44 kB / 0.5592 GB, free: 376 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000733/0.3412, allocations: 0.8289 MB / 0.5601 GB, free: 15.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3413, allocations: 7.875 kB / 0.5601 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.033e-05/0.3413, allocations: 24 kB / 0.5601 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.3413, allocations: 12 kB / 0.5601 GB, free: 15.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003871/0.3417, allocations: 269.7 kB / 0.5604 GB, free: 15.1 MB / 442.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.00165/0.3433, allocations: 2.279 MB / 0.5626 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003545/0.3437, allocations: 210.5 kB / 0.5628 GB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3438, allocations: 92.2 kB / 0.5629 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.344, allocations: 48.25 kB / 0.5629 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.344, allocations: 45.11 kB / 0.563 GB, free: 12.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.763e-06/0.344, allocations: 4 kB / 0.563 GB, free: 12.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.000863/0.3449, allocations: 474.7 kB / 0.5634 GB, free: 11.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.3449, allocations: 132.5 kB / 0.5635 GB, free: 11.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.3452, allocations: 434.5 kB / 0.564 GB, free: 11.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.3452, allocations: 33.7 kB / 0.564 GB, free: 11.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3454, allocations: 343 kB / 0.5643 GB, free: 10.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/0.3455, allocations: 123 kB / 0.5644 GB, free: 10.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3456, allocations: 111.8 kB / 0.5645 GB, free: 10.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3457, allocations: 0.5274 MB / 0.5651 GB, free: 10.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.3458, allocations: 72.95 kB / 0.5651 GB, free: 10.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.346, allocations: 324.4 kB / 0.5654 GB, free: 9.613 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.3465, allocations: 327.2 kB / 0.5657 GB, free: 9.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3465, allocations: 0 / 0.5657 GB, free: 9.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004799/0.347, allocations: 408.6 kB / 0.5661 GB, free: 8.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.347, allocations: 4 kB / 0.5661 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.347, allocations: 4 kB / 0.5661 GB, free: 8.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006433/0.3477, allocations: 199.8 kB / 0.5663 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3479, allocations: 107.8 kB / 0.5664 GB, free: 8.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003391/0.3482, allocations: 0.835 MB / 0.5673 GB, free: 7.641 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3483, allocations: 35.72 kB / 0.5673 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/0.3484, allocations: 47.98 kB / 0.5673 GB, free: 7.559 MB / 442.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.0001285/0.3485, allocations: 180.5 kB / 0.5675 GB, free: 7.371 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.102e-05/0.3486, allocations: 71.61 kB / 0.5676 GB, free: 7.301 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.3496, allocations: 0.9757 MB / 0.5685 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3496, allocations: 0 / 0.5685 GB, free: 6.312 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3496, allocations: 4 kB / 0.5685 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3496, allocations: 0 / 0.5685 GB, free: 6.309 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.3503, allocations: 0.7773 MB / 0.5693 GB, free: 5.465 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.3503, allocations: 11.92 kB / 0.5693 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3504, allocations: 43.97 kB / 0.5693 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.3515, allocations: 347.2 kB / 0.5697 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.3516, allocations: 11.98 kB / 0.5697 GB, free: 5.055 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002958/0.3519, allocations: 0.836 MB / 0.5705 GB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3519, allocations: 4 kB / 0.5705 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.3522, allocations: 451.3 kB / 0.5709 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.3523, allocations: 51.64 kB / 0.571 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.3523, allocations: 19.83 kB / 0.571 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3525, allocations: 12 kB / 0.571 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.3525, allocations: 27.98 kB / 0.571 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.3525, allocations: 21.05 kB / 0.5711 GB, free: 3.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002194/0.3528, allocations: 319 kB / 0.5714 GB, free: 3.262 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3528, allocations: 3.938 kB / 0.5714 GB, free: 3.258 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005556/0.3533, allocations: 350.9 kB / 0.5717 GB, free: 2.914 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.0006282/0.3539, allocations: 444.9 kB / 0.5721 GB, free: 2.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.3543, allocations: 252.8 kB / 0.5724 GB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3543, allocations: 0.875 kB / 0.5724 GB, free: 2.223 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3545, allocations: 115.8 kB / 0.5725 GB, free: 2.105 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008945/0.3554, allocations: 331.8 kB / 0.5728 GB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.3565, allocations: 0.8373 MB / 0.5736 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.826e-05/0.3566, allocations: 130.4 kB / 0.5737 GB, free: 0.7656 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005919/0.3572, allocations: 0.532 MB / 0.5743 GB, free: 236 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3574, allocations: 84.45 kB / 0.5743 GB, free: 152 kB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.3574, allocations: 0 / 0.5743 GB, free: 152 kB / 442.7 MB Notification: Performance of Templates: time 0.01714/0.3745, allocations: 16.71 MB / 0.5907 GB, free: 15.67 MB / 474.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.9359382099937648]