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.00103/0.00103, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001174/0.001174, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.9817/0.9817, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2434/0.2434, allocations: 34.26 MB / 296.1 MB, free: 0.7422 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.262e-06/1.262e-06, allocations: 0 / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.282e-05, allocations: 10.73 kB / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3334/0.3334, allocations: 148.2 MB / 473.6 MB, free: 16.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004248/0.3376, allocations: 3.462 MB / 477 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.3381, allocations: 23.53 kB / 477 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005099/0.3386, allocations: 183.8 kB / 477.2 MB, free: 16.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00317/0.3418, allocations: 1.526 MB / 478.7 MB, free: 16.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001112/0.3429, allocations: 0.5626 MB / 479.3 MB, free: 16.07 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3444, allocations: 1.537 MB / 480.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.3449, allocations: 375.9 kB / 481.2 MB, free: 15.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009173/0.3458, allocations: 0.7633 MB / 482 MB, free: 15.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006189/0.3465, allocations: 462.7 kB / 482.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.393e-05/0.3465, allocations: 51.56 kB / 482.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.3485, allocations: 1.154 MB / 483.6 MB, free: 15.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.3486, allocations: 170.2 kB / 483.8 MB, free: 15.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.3488, allocations: 256.2 kB / 484 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3506, allocations: 1.435 MB / 485.5 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3506, allocations: 0 / 485.5 MB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3506, allocations: 0 / 485.5 MB, free: 15.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3506, allocations: 3.938 kB / 485.5 MB, free: 15.55 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.001142/0.3517, allocations: 0.972 MB / 486.5 MB, free: 15.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3517, allocations: 13.06 kB / 486.5 MB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006331/0.3524, allocations: 218.5 kB / 486.7 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.3528, allocations: 372.3 kB / 487 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3528, allocations: 34.91 kB / 487.1 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.3528, allocations: 43.62 kB / 487.1 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.3534, allocations: 0.7468 MB / 487.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3534, allocations: 2.906 kB / 487.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.3534, allocations: 19.31 kB / 487.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3534, allocations: 10.78 kB / 487.9 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.3537, allocations: 217 kB / 488.1 MB, free: 14.22 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.001237/0.3549, allocations: 1.571 MB / 489.7 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.3552, allocations: 157.1 kB / 489.8 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.675e-05/0.3553, allocations: 105 kB / 489.9 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/0.3555, allocations: 94.8 kB / 490 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.3555, allocations: 39.56 kB / 490.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/0.3555, allocations: 0 / 490.1 MB, free: 13.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.000636/0.3562, allocations: 346.8 kB / 490.4 MB, free: 13.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.3562, allocations: 137 kB / 490.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.3564, allocations: 358.1 kB / 490.9 MB, free: 12.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.3564, allocations: 35.36 kB / 490.9 MB, free: 12.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.509e-05/0.3565, allocations: 243.1 kB / 491.2 MB, free: 12.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.469e-05/0.3565, allocations: 125.1 kB / 491.3 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.3566, allocations: 97.34 kB / 491.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.982e-05/0.3567, allocations: 358.8 kB / 491.7 MB, free: 12.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.184e-05/0.3568, allocations: 47.2 kB / 491.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.3569, allocations: 262.4 kB / 492 MB, free: 11.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/0.3571, allocations: 246.5 kB / 492.3 MB, free: 11.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3571, allocations: 0 / 492.3 MB, free: 11.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003048/0.3574, allocations: 272.9 kB / 492.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.3574, allocations: 12.22 kB / 492.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3574, allocations: 5.344 kB / 492.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.358, allocations: 196.6 kB / 492.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.3582, allocations: 106.2 kB / 492.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001915/0.3584, allocations: 0.5442 MB / 493.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.3585, allocations: 33.38 kB / 493.4 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.776e-05/0.3586, allocations: 38.56 kB / 493.5 MB, free: 11.16 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.0001046/0.3587, allocations: 137.2 kB / 493.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.275e-05/0.3587, allocations: 48.23 kB / 493.7 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008539/0.3596, allocations: 0.8678 MB / 494.5 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3596, allocations: 3.844 kB / 494.5 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3596, allocations: 6.344 kB / 494.5 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3596, allocations: 5.625 kB / 494.5 MB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.3602, allocations: 0.5577 MB / 495.1 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3602, allocations: 7.688 kB / 495.1 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3603, allocations: 51.19 kB / 495.2 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009935/0.3613, allocations: 307.3 kB / 495.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3613, allocations: 9.875 kB / 495.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001598/0.3614, allocations: 0.5578 MB / 496 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3615, allocations: 6.562 kB / 496 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.3617, allocations: 325.7 kB / 496.3 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.3617, allocations: 41.22 kB / 496.4 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.3618, allocations: 24.17 kB / 496.4 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3619, allocations: 11.81 kB / 496.4 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.3619, allocations: 25.64 kB / 496.4 MB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3619, allocations: 11.5 kB / 496.5 MB, free: 9.844 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.3621, allocations: 171.3 kB / 496.6 MB, free: 9.828 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3621, allocations: 4.031 kB / 496.6 MB, free: 9.824 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007063/0.3628, allocations: 335.1 kB / 497 MB, free: 9.762 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.0006075/0.3634, allocations: 397.1 kB / 497.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.3637, allocations: 204.7 kB / 497.5 MB, free: 9.613 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.3637, allocations: 9.844 kB / 497.6 MB, free: 9.609 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.3638, allocations: 94.08 kB / 497.6 MB, free: 9.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.3645, allocations: 310.3 kB / 497.9 MB, free: 9.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3656, allocations: 0.8475 MB / 498.8 MB, free: 9.062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.952e-05/0.3657, allocations: 123.3 kB / 498.9 MB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005361/0.3662, allocations: 489.5 kB / 499.4 MB, free: 8.824 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.3667, allocations: 304.4 kB / 499.7 MB, free: 8.695 MB / 410.7 MB Notification: Performance of SimCode: time 1.864e-06/0.3667, allocations: 0 / 499.7 MB, free: 8.695 MB / 410.7 MB Notification: Performance of Templates: time 0.01949/0.3862, allocations: 18.39 MB / 0.5059 GB, free: 12.08 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 -s gbode -gbm=radauIIA3 -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.6460581249557436]