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.001488/0.001487, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0019/0.0019, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 84.09 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 62.44 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4618/0.5844, allocations: 185.8 MB / 0.6502 GB, free: 9.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004726/0.5892, allocations: 2.128 MB / 0.6523 GB, free: 7.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008163/0.59, allocations: 11.94 kB / 0.6523 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.5912, allocations: 297.9 kB / 0.6525 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003848/0.5951, allocations: 1.179 MB / 0.6537 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.5971, allocations: 0.6846 MB / 0.6544 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002306/0.5994, allocations: 1.473 MB / 0.6558 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.6003, allocations: 423.5 kB / 0.6562 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.6018, allocations: 0.5605 MB / 0.6568 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.6031, allocations: 450.1 kB / 0.6572 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002415/0.6033, allocations: 48 kB / 0.6572 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.6058, allocations: 0.7525 MB / 0.658 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002911/0.6061, allocations: 147.5 kB / 0.6581 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006952/0.6068, allocations: 330.5 kB / 0.6584 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.6097, allocations: 1.2 MB / 0.6596 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6097, allocations: 4 kB / 0.6596 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.977e-06/0.6097, allocations: 0 / 0.6596 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.6098, allocations: 0 / 0.6596 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.003127/0.6129, allocations: 0.9856 MB / 0.6606 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.613, allocations: 16.03 kB / 0.6606 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.6142, allocations: 131.2 kB / 0.6607 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.615, allocations: 444.4 kB / 0.6611 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.615, allocations: 33 kB / 0.6612 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.6151, allocations: 40 kB / 0.6612 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.6162, allocations: 0.5593 MB / 0.6617 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.6162, allocations: 3.938 kB / 0.6617 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.6163, allocations: 20 kB / 0.6618 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.6163, allocations: 8 kB / 0.6618 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008863/0.6172, allocations: 415.6 kB / 0.6622 GB, free: 12.99 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.003254/0.6205, allocations: 2.577 MB / 0.6647 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.6212, allocations: 289 kB / 0.665 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.6215, allocations: 153 kB / 0.6651 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00041/0.6219, allocations: 356.4 kB / 0.6654 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6219, allocations: 38.56 kB / 0.6655 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.944e-06/0.6219, allocations: 0 / 0.6655 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.002387/0.6243, allocations: 0.7061 MB / 0.6662 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.6244, allocations: 136.5 kB / 0.6663 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.6249, allocations: 445.8 kB / 0.6667 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.625, allocations: 33.7 kB / 0.6668 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.6252, allocations: 271.9 kB / 0.667 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.6253, allocations: 106.5 kB / 0.6671 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.6255, allocations: 105.7 kB / 0.6672 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6257, allocations: 354.8 kB / 0.6676 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.6261, allocations: 139.9 kB / 0.6677 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.6266, allocations: 284.2 kB / 0.668 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.6275, allocations: 425.5 kB / 0.6684 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.6275, allocations: 7.375 kB / 0.6684 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001341/0.6288, allocations: 0.5248 MB / 0.6689 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.6289, allocations: 8 kB / 0.6689 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6289, allocations: 7.984 kB / 0.6689 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.631, allocations: 268.8 kB / 0.6692 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.6314, allocations: 103.9 kB / 0.6693 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.6325, allocations: 0.5992 MB / 0.6698 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.633, allocations: 47.58 kB / 0.6699 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/0.6331, allocations: 52.94 kB / 0.6699 GB, free: 4.48 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.0004479/0.6335, allocations: 185.6 kB / 0.6701 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.6337, allocations: 47.44 kB / 0.6702 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.6361, allocations: 1.024 MB / 0.6712 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.6361, allocations: 4 kB / 0.6712 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.6361, allocations: 0 / 0.6712 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.6361, allocations: 7.984 kB / 0.6712 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.6381, allocations: 0.9712 MB / 0.6721 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6381, allocations: 0 / 0.6721 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.6384, allocations: 47.91 kB / 0.6722 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001778/0.6401, allocations: 260.6 kB / 0.6724 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.6402, allocations: 15.92 kB / 0.6724 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008974/0.6411, allocations: 0.603 MB / 0.673 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6411, allocations: 4.062 kB / 0.673 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.6425, allocations: 0.5116 MB / 0.6735 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.6427, allocations: 132.4 kB / 0.6737 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.6428, allocations: 15.92 kB / 0.6737 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/0.6432, allocations: 15.98 kB / 0.6737 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.6434, allocations: 19.91 kB / 0.6737 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.6435, allocations: 19.98 kB / 0.6737 GB, free: 428 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005679/0.644, allocations: 390.8 kB / 0.6741 GB, free: 36 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.644, allocations: 4 kB / 0.6741 GB, free: 32 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008895/0.6449, allocations: 219.8 kB / 0.6743 GB, free: 15.82 MB / 0.5137 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.0007762/0.6457, allocations: 296.1 kB / 0.6746 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.6471, allocations: 391.7 kB / 0.675 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6472, allocations: 0 / 0.675 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.648, allocations: 151.8 kB / 0.6751 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.6498, allocations: 352.8 kB / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.6523, allocations: 0.9079 MB / 0.6763 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.6528, allocations: 0.8472 MB / 0.6772 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001279/0.6541, allocations: 0.5391 MB / 0.6777 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.6544, allocations: 95.36 kB / 0.6778 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of SimCode: time 8.12e-07/0.6544, allocations: 0 / 0.6778 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.026/0.6804, allocations: 14.17 MB / 0.6916 GB, free: 14.16 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/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