Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001256, allocations: 111.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 208.9 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 255.1 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2392/0.2392, allocations: 46.89 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..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-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 79.86 kB / 0.4924 GB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1442, allocations: 65.98 MB / 0.5568 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5108/0.6549, allocations: 186.4 MB / 0.7388 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004777/0.6597, allocations: 2.131 MB / 0.7409 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007783/0.6605, allocations: 11.94 kB / 0.7409 GB, free: 5.035 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.6617, allocations: 305.9 kB / 0.7412 GB, free: 4.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.6656, allocations: 1.193 MB / 0.7424 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.6677, allocations: 0.6776 MB / 0.743 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002484/0.6702, allocations: 1.484 MB / 0.7445 GB, free: 1.379 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008076/0.671, allocations: 371.9 kB / 0.7448 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.6723, allocations: 0.576 MB / 0.7454 GB, free: 440 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009849/0.6733, allocations: 466.1 kB / 0.7458 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.6734, allocations: 48 kB / 0.7459 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.6755, allocations: 0.8113 MB / 0.7467 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.6758, allocations: 155.4 kB / 0.7468 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005665/0.6764, allocations: 322.5 kB / 0.7471 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002612/0.679, allocations: 1.219 MB / 0.7483 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.679, allocations: 0 / 0.7483 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.679, allocations: 0 / 0.7483 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.297e-05/0.679, allocations: 3.984 kB / 0.7483 GB, free: 13.42 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002438/0.6815, allocations: 1.002 MB / 0.7493 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6815, allocations: 16.03 kB / 0.7493 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/0.6827, allocations: 136.4 kB / 0.7495 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008732/0.6835, allocations: 480.7 kB / 0.7499 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.6836, allocations: 29 kB / 0.7499 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.411e-05/0.6836, allocations: 36 kB / 0.75 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6848, allocations: 0.5515 MB / 0.7505 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.6848, allocations: 0 / 0.7505 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.6849, allocations: 20 kB / 0.7505 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.6849, allocations: 8 kB / 0.7505 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009252/0.6858, allocations: 419.6 kB / 0.7509 GB, free: 10.62 MB / 0.5606 GB 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.00332/0.6891, allocations: 2.57 MB / 0.7535 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/0.6899, allocations: 278.9 kB / 0.7537 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.6902, allocations: 136.9 kB / 0.7538 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/0.6906, allocations: 348.4 kB / 0.7542 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.6906, allocations: 38.56 kB / 0.7542 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=29): time 1.793e-06/0.6906, allocations: 0 / 0.7542 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29): time 0.002618/0.6932, allocations: 0.7136 MB / 0.7549 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.6933, allocations: 132.5 kB / 0.755 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.6939, allocations: 441.9 kB / 0.7555 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.6939, allocations: 33.7 kB / 0.7555 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.6942, allocations: 276.2 kB / 0.7558 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.6943, allocations: 111.1 kB / 0.7559 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.6945, allocations: 105.7 kB / 0.756 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.6947, allocations: 358.8 kB / 0.7563 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/0.6951, allocations: 143.9 kB / 0.7564 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.6956, allocations: 276.3 kB / 0.7567 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009418/0.6966, allocations: 429.4 kB / 0.7571 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6966, allocations: 0 / 0.7571 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00134/0.6979, allocations: 0.529 MB / 0.7576 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6979, allocations: 8 kB / 0.7576 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6979, allocations: 4 kB / 0.7576 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.7001, allocations: 280.8 kB / 0.7579 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.7005, allocations: 99.88 kB / 0.758 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.7015, allocations: 0.5991 MB / 0.7586 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.702, allocations: 51.66 kB / 0.7586 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.702, allocations: 52.05 kB / 0.7587 GB, free: 2.141 MB / 0.5606 GB 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 (41): * Single equations (assignments): 40 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003067/0.7023, allocations: 181.6 kB / 0.7589 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.7025, allocations: 51.67 kB / 0.7589 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.7047, allocations: 1.025 MB / 0.7599 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7047, allocations: 4 kB / 0.7599 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.7047, allocations: 0 / 0.7599 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7047, allocations: 0 / 0.7599 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.7067, allocations: 0.9674 MB / 0.7609 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7067, allocations: 4 kB / 0.7609 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.7069, allocations: 51.89 kB / 0.7609 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001857/0.7088, allocations: 252.6 kB / 0.7612 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.7088, allocations: 23.92 kB / 0.7612 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.7099, allocations: 0.5953 MB / 0.7618 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.7099, allocations: 7.969 kB / 0.7618 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.7114, allocations: 0.5042 MB / 0.7623 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.7115, allocations: 132.7 kB / 0.7624 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7116, allocations: 11.94 kB / 0.7624 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.712, allocations: 15.98 kB / 0.7624 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-05/0.7121, allocations: 41.02 kB / 0.7625 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.7122, allocations: 11.98 kB / 0.7625 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000582/0.7127, allocations: 390.8 kB / 0.7628 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7127, allocations: 0 / 0.7628 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008462/0.7136, allocations: 215.6 kB / 0.763 GB, free: 13.5 MB / 0.5762 GB 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 (23): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0008564/0.7144, allocations: 306.6 kB / 0.7633 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.716, allocations: 351.7 kB / 0.7637 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.716, allocations: 0.875 kB / 0.7637 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008017/0.7168, allocations: 155.9 kB / 0.7638 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.7186, allocations: 348 kB / 0.7642 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.721, allocations: 0.951 MB / 0.7651 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.7216, allocations: 0.8433 MB / 0.7659 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.722, allocations: 131.3 kB / 0.766 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.722, allocations: 0 / 0.766 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.02262/0.7446, allocations: 13.32 MB / 0.779 GB, free: 13.1 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.970999755896628]