Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001344, allocations: 113.4 kB / 17.99 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 209.8 kB / 18.92 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.13 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 81.39 kB / 417.8 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1155, allocations: 62.45 MB / 480.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4013/0.5168, allocations: 183.7 MB / 0.6484 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004404/0.5212, allocations: 2.205 MB / 0.6506 GB, free: 9.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.5218, allocations: 19.88 kB / 0.6506 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.5227, allocations: 258.5 kB / 0.6508 GB, free: 9.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003042/0.5258, allocations: 1.067 MB / 0.6519 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.5275, allocations: 0.6367 MB / 0.6525 GB, free: 7.512 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.5295, allocations: 1.484 MB / 0.6539 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.5301, allocations: 411.4 kB / 0.6543 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008806/0.531, allocations: 0.5761 MB / 0.6549 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.5315, allocations: 454.1 kB / 0.6553 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.293e-05/0.5316, allocations: 48 kB / 0.6554 GB, free: 4.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.5333, allocations: 0.7645 MB / 0.6561 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.5334, allocations: 159.5 kB / 0.6563 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00036/0.5338, allocations: 330.5 kB / 0.6566 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001285/0.5351, allocations: 0.8925 MB / 0.6575 GB, free: 2.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.5351, allocations: 0 / 0.6575 GB, free: 2.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5351, allocations: 0 / 0.6575 GB, free: 2.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.5352, allocations: 0 / 0.6575 GB, free: 2.41 MB / 494.1 MB 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.001903/0.5371, allocations: 0.9934 MB / 0.6584 GB, free: 1.367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.5371, allocations: 8.031 kB / 0.6584 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009689/0.5381, allocations: 135.3 kB / 0.6586 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.5387, allocations: 444.5 kB / 0.659 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/0.5388, allocations: 29 kB / 0.659 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.827e-05/0.5388, allocations: 40 kB / 0.6591 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.5399, allocations: 0.5632 MB / 0.6596 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.54, allocations: 3.938 kB / 0.6596 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.4e-05/0.54, allocations: 23.98 kB / 0.6596 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.5401, allocations: 8 kB / 0.6596 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009047/0.541, allocations: 411.6 kB / 0.66 GB, free: 15.64 MB / 0.4981 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.003306/0.5443, allocations: 2.557 MB / 0.6625 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007311/0.545, allocations: 294.8 kB / 0.6628 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.5453, allocations: 140.8 kB / 0.6629 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004579/0.5458, allocations: 356.4 kB / 0.6633 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.5459, allocations: 42.56 kB / 0.6633 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.5459, allocations: 0 / 0.6633 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002637/0.5485, allocations: 0.7071 MB / 0.664 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.874e-05/0.5486, allocations: 136.5 kB / 0.6641 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.5492, allocations: 449.8 kB / 0.6646 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.799e-05/0.5493, allocations: 29.7 kB / 0.6646 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/0.5496, allocations: 279.8 kB / 0.6649 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.5497, allocations: 98.5 kB / 0.665 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.5499, allocations: 109.5 kB / 0.6651 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.5501, allocations: 354.8 kB / 0.6654 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.5505, allocations: 147.9 kB / 0.6655 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.5511, allocations: 280.3 kB / 0.6658 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.552, allocations: 417.6 kB / 0.6662 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.552, allocations: 7.938 kB / 0.6662 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001429/0.5535, allocations: 0.5252 MB / 0.6667 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.5535, allocations: 6.656 kB / 0.6667 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5535, allocations: 4 kB / 0.6667 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.5557, allocations: 268.5 kB / 0.667 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.5562, allocations: 111.8 kB / 0.6671 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.5573, allocations: 0.5992 MB / 0.6677 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.5578, allocations: 67.47 kB / 0.6678 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.511e-05/0.5579, allocations: 51.97 kB / 0.6678 GB, free: 7.137 MB / 0.4981 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.0003242/0.5582, allocations: 185.6 kB / 0.668 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.5584, allocations: 51.52 kB / 0.668 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.5608, allocations: 1.016 MB / 0.669 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5608, allocations: 4 kB / 0.669 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5608, allocations: 0 / 0.669 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5609, allocations: 0 / 0.669 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.5628, allocations: 0.9702 MB / 0.67 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5628, allocations: 7.938 kB / 0.67 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.5631, allocations: 39.97 kB / 0.67 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.565, allocations: 264.6 kB / 0.6703 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.5651, allocations: 19.92 kB / 0.6703 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.5662, allocations: 0.603 MB / 0.6709 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.5662, allocations: 0 / 0.6709 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/0.5676, allocations: 0.5155 MB / 0.6714 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.5678, allocations: 128.5 kB / 0.6715 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.568, allocations: 11.94 kB / 0.6715 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.5685, allocations: 35.88 kB / 0.6716 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.5686, allocations: 23.91 kB / 0.6716 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.5686, allocations: 23.97 kB / 0.6716 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00055/0.5692, allocations: 382.8 kB / 0.672 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5692, allocations: 0 / 0.672 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000854/0.57, allocations: 223.8 kB / 0.6722 GB, free: 2.473 MB / 0.4981 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.0008877/0.5709, allocations: 303.9 kB / 0.6725 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.5725, allocations: 383.5 kB / 0.6728 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5725, allocations: 0 / 0.6728 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.5733, allocations: 164.9 kB / 0.673 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.575, allocations: 348.8 kB / 0.6733 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.5776, allocations: 1.1 MB / 0.6744 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.5781, allocations: 0.8472 MB / 0.6752 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.5786, allocations: 123.3 kB / 0.6753 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.5786, allocations: 0 / 0.6753 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Templates: time 0.02118/0.5998, allocations: 13.23 MB / 0.6883 GB, free: 2 MB / 0.5137 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches