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.001353/0.001353, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.09 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 80.75 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1251, allocations: 62.45 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4094/0.5345, allocations: 185.7 MB / 0.6508 GB, free: 9.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003992/0.5386, allocations: 2.139 MB / 0.6529 GB, free: 7.285 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006046/0.5392, allocations: 11.94 kB / 0.6529 GB, free: 7.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009727/0.5402, allocations: 297.9 kB / 0.6532 GB, free: 6.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.5437, allocations: 1.183 MB / 0.6544 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.5455, allocations: 0.6789 MB / 0.655 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001936/0.5474, allocations: 1.473 MB / 0.6565 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006645/0.5481, allocations: 422.3 kB / 0.6569 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009693/0.5491, allocations: 0.5644 MB / 0.6574 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.5496, allocations: 446.1 kB / 0.6579 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.789e-05/0.5497, allocations: 48 kB / 0.6579 GB, free: 2.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.5514, allocations: 0.7529 MB / 0.6586 GB, free: 1.434 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001674/0.5516, allocations: 151.5 kB / 0.6588 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.5519, allocations: 326.5 kB / 0.6591 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.5536, allocations: 1.2 MB / 0.6603 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5536, allocations: 0 / 0.6603 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5537, allocations: 3.938 kB / 0.6603 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.5537, allocations: 0 / 0.6603 GB, free: 15.75 MB / 0.4981 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.0018/0.5555, allocations: 0.9933 MB / 0.6612 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5555, allocations: 8.031 kB / 0.6612 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009556/0.5565, allocations: 131.3 kB / 0.6614 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.5571, allocations: 448.4 kB / 0.6618 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5572, allocations: 29 kB / 0.6618 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.239e-05/0.5573, allocations: 39.94 kB / 0.6619 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.5583, allocations: 0.5594 MB / 0.6624 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5583, allocations: 3.938 kB / 0.6624 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.5584, allocations: 16 kB / 0.6624 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.5584, allocations: 12 kB / 0.6624 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008108/0.5592, allocations: 411.6 kB / 0.6628 GB, free: 13 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.002883/0.5621, allocations: 2.577 MB / 0.6654 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006453/0.5628, allocations: 293.7 kB / 0.6656 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.5631, allocations: 152.8 kB / 0.6658 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.5635, allocations: 352.4 kB / 0.6661 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5636, allocations: 38.56 kB / 0.6661 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 3.386e-06/0.5636, allocations: 0 / 0.6661 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002461/0.566, allocations: 0.71 MB / 0.6668 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.5662, allocations: 132.5 kB / 0.667 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.5667, allocations: 449.8 kB / 0.6674 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.5668, allocations: 37.64 kB / 0.6674 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.567, allocations: 267.9 kB / 0.6677 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.5671, allocations: 106.5 kB / 0.6678 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.5673, allocations: 101.6 kB / 0.6679 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5675, allocations: 354.8 kB / 0.6682 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004017/0.5679, allocations: 147.9 kB / 0.6684 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.5684, allocations: 284.2 kB / 0.6686 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.5692, allocations: 413.6 kB / 0.669 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5692, allocations: 4 kB / 0.669 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00133/0.5706, allocations: 0.5327 MB / 0.6696 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.5706, allocations: 4 kB / 0.6696 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.5706, allocations: 8.422 kB / 0.6696 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002121/0.5728, allocations: 272.4 kB / 0.6698 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/0.5732, allocations: 99.88 kB / 0.6699 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008999/0.5741, allocations: 0.6031 MB / 0.6705 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.5745, allocations: 53.58 kB / 0.6706 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.5746, allocations: 51.97 kB / 0.6706 GB, free: 4.484 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.0002997/0.5749, allocations: 185.6 kB / 0.6708 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.5751, allocations: 47.44 kB / 0.6708 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/0.5773, allocations: 1.023 MB / 0.6718 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.5773, allocations: 4 kB / 0.6718 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5773, allocations: 0 / 0.6718 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5773, allocations: 0 / 0.6718 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.579, allocations: 0.9712 MB / 0.6728 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.579, allocations: 5.188 kB / 0.6728 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.5792, allocations: 52.05 kB / 0.6728 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/0.581, allocations: 252.5 kB / 0.6731 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.581, allocations: 19.92 kB / 0.6731 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009302/0.582, allocations: 0.6069 MB / 0.6737 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.582, allocations: 0 / 0.6737 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.5833, allocations: 0.5039 MB / 0.6742 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.5835, allocations: 136.4 kB / 0.6743 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5836, allocations: 8.812 kB / 0.6743 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/0.584, allocations: 15.98 kB / 0.6743 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.5841, allocations: 27.91 kB / 0.6744 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/0.5841, allocations: 27.97 kB / 0.6744 GB, free: 436 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004948/0.5846, allocations: 382.8 kB / 0.6748 GB, free: 52 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5847, allocations: 0 / 0.6748 GB, free: 52 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000828/0.5855, allocations: 223.8 kB / 0.675 GB, free: 15.83 MB / 0.5138 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.0007763/0.5863, allocations: 298 kB / 0.6753 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.5877, allocations: 383.5 kB / 0.6756 GB, free: 15.16 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5877, allocations: 0 / 0.6756 GB, free: 15.16 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0007155/0.5884, allocations: 176.3 kB / 0.6758 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.59, allocations: 339.6 kB / 0.6761 GB, free: 14.66 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.5922, allocations: 0.9325 MB / 0.677 GB, free: 13.69 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.5926, allocations: 0.8433 MB / 0.6778 GB, free: 12.82 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004153/0.593, allocations: 127.3 kB / 0.678 GB, free: 12.69 MB / 0.5138 GB Notification: Performance of SimCode: time 8.01e-07/0.593, allocations: 0 / 0.678 GB, free: 12.69 MB / 0.5138 GB Notification: Performance of Templates: time 0.01874/0.6118, allocations: 13.21 MB / 0.6909 GB, free: 15.54 MB / 0.5294 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