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.001075/0.001075, allocations: 93.67 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2174/0.2174, allocations: 46.19 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002679/0.0002679, allocations: 8 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1111, allocations: 63.55 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4006/0.5118, allocations: 181.4 MB / 0.6489 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.5161, allocations: 2.21 MB / 0.651 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.5167, allocations: 19.81 kB / 0.6511 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008672/0.5176, allocations: 250.6 kB / 0.6513 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.5207, allocations: 1.04 MB / 0.6523 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.5224, allocations: 0.6179 MB / 0.6529 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.5248, allocations: 1.979 MB / 0.6549 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006718/0.5255, allocations: 351.3 kB / 0.6552 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.5266, allocations: 0.5057 MB / 0.6557 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007153/0.5274, allocations: 446.1 kB / 0.6561 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.5275, allocations: 28 kB / 0.6561 GB, free: 7.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.529, allocations: 0.7137 MB / 0.6568 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.5293, allocations: 135.5 kB / 0.657 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004967/0.5298, allocations: 324.2 kB / 0.6573 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001961/0.5318, allocations: 1.184 MB / 0.6584 GB, free: 5.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.5318, allocations: 4 kB / 0.6584 GB, free: 5.449 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.5318, allocations: 0 / 0.6584 GB, free: 5.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.5318, allocations: 3.938 kB / 0.6584 GB, free: 5.445 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.001794/0.5336, allocations: 0.8493 MB / 0.6593 GB, free: 4.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5337, allocations: 15.97 kB / 0.6593 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.5347, allocations: 135.2 kB / 0.6594 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.5355, allocations: 436.6 kB / 0.6598 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.5355, allocations: 33 kB / 0.6599 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.422e-05/0.5356, allocations: 40 kB / 0.6599 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.5367, allocations: 0.5671 MB / 0.6605 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5368, allocations: 4 kB / 0.6605 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.5368, allocations: 19.98 kB / 0.6605 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.5368, allocations: 12 kB / 0.6605 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008967/0.5377, allocations: 419.6 kB / 0.6609 GB, free: 2.809 MB / 494.1 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.003015/0.5408, allocations: 2.573 MB / 0.6634 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006737/0.5415, allocations: 291.7 kB / 0.6637 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.5418, allocations: 156.8 kB / 0.6638 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003817/0.5422, allocations: 352.4 kB / 0.6642 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.5422, allocations: 38.56 kB / 0.6642 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.492e-06/0.5422, allocations: 0 / 0.6642 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002482/0.5447, allocations: 0.7343 MB / 0.6649 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.5448, allocations: 132.5 kB / 0.665 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005406/0.5454, allocations: 445.9 kB / 0.6655 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.565e-05/0.5454, allocations: 29.7 kB / 0.6655 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.5457, allocations: 275.7 kB / 0.6658 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5458, allocations: 110.4 kB / 0.6659 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.5459, allocations: 37.69 kB / 0.6659 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.546, allocations: 354.8 kB / 0.6662 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.5464, allocations: 155.9 kB / 0.6664 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.5469, allocations: 280.3 kB / 0.6667 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.5478, allocations: 426.1 kB / 0.6671 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.5479, allocations: 4 kB / 0.6671 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001296/0.5492, allocations: 0.5369 MB / 0.6676 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5492, allocations: 8 kB / 0.6676 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5492, allocations: 3.938 kB / 0.6676 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.5514, allocations: 312.6 kB / 0.6679 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.5518, allocations: 115.8 kB / 0.668 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009323/0.5527, allocations: 0.592 MB / 0.6686 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.5532, allocations: 71.12 kB / 0.6687 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.623e-05/0.5533, allocations: 51.97 kB / 0.6687 GB, free: 10.25 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.0002437/0.5536, allocations: 177.6 kB / 0.6689 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.5537, allocations: 55.34 kB / 0.6689 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.556, allocations: 1.034 MB / 0.6699 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.556, allocations: 7.984 kB / 0.6699 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.556, allocations: 0.875 kB / 0.6699 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.556, allocations: 0 / 0.6699 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.5578, allocations: 0.9751 MB / 0.6709 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.5578, allocations: 4 kB / 0.6709 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.558, allocations: 55.89 kB / 0.671 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/0.5603, allocations: 340.6 kB / 0.6713 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.5603, allocations: 27.91 kB / 0.6713 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009073/0.5613, allocations: 0.6069 MB / 0.6719 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5613, allocations: 0 / 0.6719 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.5626, allocations: 0.5195 MB / 0.6724 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.5628, allocations: 152.3 kB / 0.6726 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.563, allocations: 8 kB / 0.6726 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.5634, allocations: 39.88 kB / 0.6726 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.5635, allocations: 27.91 kB / 0.6726 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.5636, allocations: 19.91 kB / 0.6726 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000512/0.5641, allocations: 390.8 kB / 0.673 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5641, allocations: 0 / 0.673 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007916/0.5649, allocations: 223.8 kB / 0.6732 GB, free: 5.426 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.0008074/0.5657, allocations: 300.3 kB / 0.6735 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.5672, allocations: 376.5 kB / 0.6739 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5672, allocations: 3.938 kB / 0.6739 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007711/0.568, allocations: 167.1 kB / 0.674 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.5699, allocations: 336.5 kB / 0.6744 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.5722, allocations: 1.11 MB / 0.6754 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004419/0.5726, allocations: 0.8475 MB / 0.6763 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001245/0.5739, allocations: 0.5421 MB / 0.6768 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.5742, allocations: 91.38 kB / 0.6769 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.5742, allocations: 4 kB / 0.6769 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.02408/0.5983, allocations: 13.53 MB / 0.6901 GB, free: 4.215 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins/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