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.001085/0.001085, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001082/0.001082, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9788/0.9788, 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.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.2478/0.2478, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.914e-06/1.914e-06, allocations: 0 / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.062e-05, allocations: 2.312 kB / 376 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3142/0.3142, allocations: 180 MB / 0.5429 GB, free: 12.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.3189, allocations: 3.654 MB / 0.5465 GB, free: 10.3 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003408/0.3192, allocations: 23.38 kB / 0.5465 GB, free: 10.29 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.32, allocations: 311.8 kB / 0.5468 GB, free: 10.11 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.3228, allocations: 1.79 MB / 0.5486 GB, free: 9.25 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.3239, allocations: 0.7227 MB / 0.5493 GB, free: 8.773 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.325, allocations: 1.563 MB / 0.5508 GB, free: 7.855 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.3254, allocations: 376.5 kB / 0.5512 GB, free: 7.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006806/0.3261, allocations: 0.803 MB / 0.5519 GB, free: 7.105 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.3264, allocations: 410.7 kB / 0.5523 GB, free: 6.898 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 6.253e-05/0.3265, allocations: 63 kB / 0.5524 GB, free: 6.887 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.3278, allocations: 1.203 MB / 0.5536 GB, free: 6.301 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.3279, allocations: 160.2 kB / 0.5537 GB, free: 6.18 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.3281, allocations: 255.2 kB / 0.554 GB, free: 6.066 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.3296, allocations: 1.523 MB / 0.5555 GB, free: 5.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3296, allocations: 3.938 kB / 0.5555 GB, free: 5.188 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3296, allocations: 0 / 0.5555 GB, free: 5.188 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.3296, allocations: 2.844 kB / 0.5555 GB, free: 5.188 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.001301/0.3309, allocations: 1.128 MB / 0.5566 GB, free: 4.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.479e-05/0.331, allocations: 8.156 kB / 0.5566 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007044/0.3317, allocations: 229.6 kB / 0.5568 GB, free: 4.086 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004601/0.3321, allocations: 427.4 kB / 0.5572 GB, free: 3.645 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.3321, allocations: 32.94 kB / 0.5572 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.3322, allocations: 48 kB / 0.5573 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.3329, allocations: 0.8242 MB / 0.5581 GB, free: 2.605 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3329, allocations: 11.94 kB / 0.5581 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.333, allocations: 16 kB / 0.5581 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.333, allocations: 12 kB / 0.5581 GB, free: 2.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.3334, allocations: 273.7 kB / 0.5584 GB, free: 2.301 MB / 426.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.001721/0.3351, allocations: 2.28 MB / 0.5606 GB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.3354, allocations: 212 kB / 0.5608 GB, free: 15.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.3355, allocations: 84.2 kB / 0.5609 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.3357, allocations: 52.25 kB / 0.5609 GB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.3357, allocations: 45.67 kB / 0.561 GB, free: 15.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.3357, allocations: 0 / 0.561 GB, free: 15.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008457/0.3366, allocations: 474.7 kB / 0.5614 GB, free: 15.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3366, allocations: 132.5 kB / 0.5616 GB, free: 14.89 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.3369, allocations: 438.5 kB / 0.562 GB, free: 14.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3369, allocations: 33.7 kB / 0.562 GB, free: 14.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.3371, allocations: 335.1 kB / 0.5623 GB, free: 14.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.3371, allocations: 131 kB / 0.5625 GB, free: 13.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3372, allocations: 107.8 kB / 0.5626 GB, free: 13.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3374, allocations: 0.5235 MB / 0.5631 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3375, allocations: 72.95 kB / 0.5631 GB, free: 13.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.3377, allocations: 332.3 kB / 0.5635 GB, free: 12.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.338, allocations: 327.3 kB / 0.5638 GB, free: 12.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.338, allocations: 0 / 0.5638 GB, free: 12.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006268/0.3387, allocations: 408.5 kB / 0.5642 GB, free: 12.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.3387, allocations: 8 kB / 0.5642 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3387, allocations: 4 kB / 0.5642 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.3393, allocations: 199.8 kB / 0.5644 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.3395, allocations: 99.94 kB / 0.5645 GB, free: 11.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003336/0.3399, allocations: 0.835 MB / 0.5653 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.34, allocations: 39.72 kB / 0.5653 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.34, allocations: 52.02 kB / 0.5654 GB, free: 10.75 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.0001264/0.3402, allocations: 176.5 kB / 0.5655 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.3403, allocations: 79.17 kB / 0.5656 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.3413, allocations: 0.9719 MB / 0.5666 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3413, allocations: 4 kB / 0.5666 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3413, allocations: 3.984 kB / 0.5666 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3413, allocations: 0 / 0.5666 GB, free: 9.496 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006652/0.3419, allocations: 0.7733 MB / 0.5673 GB, free: 8.656 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3419, allocations: 4 kB / 0.5673 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3421, allocations: 55.89 kB / 0.5674 GB, free: 8.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.3432, allocations: 339.3 kB / 0.5677 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.3432, allocations: 12 kB / 0.5677 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000306/0.3435, allocations: 0.839 MB / 0.5685 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3435, allocations: 0 / 0.5685 GB, free: 7.379 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3439, allocations: 455.3 kB / 0.569 GB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.344, allocations: 51.59 kB / 0.569 GB, free: 6.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.344, allocations: 19.83 kB / 0.569 GB, free: 6.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3442, allocations: 16.02 kB / 0.569 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.3442, allocations: 27.95 kB / 0.5691 GB, free: 6.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3442, allocations: 12 kB / 0.5691 GB, free: 6.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.3445, allocations: 319 kB / 0.5694 GB, free: 6.457 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3445, allocations: 0 / 0.5694 GB, free: 6.457 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006513/0.3451, allocations: 354.9 kB / 0.5697 GB, free: 6.109 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.0006988/0.3458, allocations: 454.2 kB / 0.5702 GB, free: 5.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004369/0.3463, allocations: 245.6 kB / 0.5704 GB, free: 5.418 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3463, allocations: 0 / 0.5704 GB, free: 5.418 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3464, allocations: 115.5 kB / 0.5705 GB, free: 5.301 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007922/0.3472, allocations: 323.5 kB / 0.5708 GB, free: 5.008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.349, allocations: 0.8334 MB / 0.5716 GB, free: 4.121 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.811e-05/0.3491, allocations: 118.5 kB / 0.5717 GB, free: 3.984 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008638/0.35, allocations: 0.5473 MB / 0.5723 GB, free: 3.434 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3502, allocations: 88.45 kB / 0.5724 GB, free: 3.348 MB / 442.7 MB Notification: Performance of SimCode: time 1.213e-06/0.3502, allocations: 0 / 0.5724 GB, free: 3.348 MB / 442.7 MB Notification: Performance of Templates: time 0.01883/0.369, allocations: 16.72 MB / 0.5887 GB, free: 2.871 MB / 458.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: 4.011977102840319]