Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 104 kB / 16.4 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 192.2 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1991/0.1991, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.91 kB / 441.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1227, allocations: 57.78 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4778/0.6006, allocations: 189.8 MB / 0.6727 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00435/0.605, allocations: 2.14 MB / 0.6748 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007676/0.6058, allocations: 15.88 kB / 0.6749 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.6069, allocations: 301.9 kB / 0.6751 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004177/0.6111, allocations: 1.427 MB / 0.6765 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.6131, allocations: 0.6764 MB / 0.6772 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002076/0.6152, allocations: 1.477 MB / 0.6786 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007397/0.616, allocations: 423.4 kB / 0.679 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.6171, allocations: 0.5722 MB / 0.6796 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000722/0.6178, allocations: 442.1 kB / 0.68 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001384/0.618, allocations: 52 kB / 0.6801 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.6202, allocations: 1.006 MB / 0.6811 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.6204, allocations: 143.5 kB / 0.6812 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004484/0.6208, allocations: 318.6 kB / 0.6815 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002309/0.6232, allocations: 1.335 MB / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.6232, allocations: 0 / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6232, allocations: 0 / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.409e-05/0.6232, allocations: 3.984 kB / 0.6828 GB, free: 2.641 MB / 0.5137 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.001989/0.6252, allocations: 1.058 MB / 0.6838 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6253, allocations: 11.89 kB / 0.6838 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.6254, allocations: 78.53 kB / 0.6839 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009962/0.6264, allocations: 135.5 kB / 0.684 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007885/0.6272, allocations: 472.9 kB / 0.6845 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.6272, allocations: 36.42 kB / 0.6845 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.6273, allocations: 40 kB / 0.6846 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009795/0.6283, allocations: 0.5438 MB / 0.6851 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.6283, allocations: 3.938 kB / 0.6851 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.6284, allocations: 20 kB / 0.6851 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.6284, allocations: 12 kB / 0.6851 GB, free: 112 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008288/0.6292, allocations: 407.6 kB / 0.6855 GB, free: 15.71 MB / 0.5294 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.002876/0.6321, allocations: 2.6 MB / 0.6881 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.6327, allocations: 291.2 kB / 0.6883 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.633, allocations: 148.9 kB / 0.6885 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/0.6342, allocations: 1.221 MB / 0.6897 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.6342, allocations: 38.56 kB / 0.6897 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/0.6342, allocations: 4 kB / 0.6897 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.002288/0.6365, allocations: 0.6961 MB / 0.6904 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.6366, allocations: 132.5 kB / 0.6905 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/0.637, allocations: 449.9 kB / 0.691 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.6371, allocations: 29.7 kB / 0.691 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.6373, allocations: 280.2 kB / 0.6912 GB, free: 9.332 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.938e-05/0.6374, allocations: 107 kB / 0.6914 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.6375, allocations: 105.6 kB / 0.6915 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6377, allocations: 354.8 kB / 0.6918 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/0.638, allocations: 143.9 kB / 0.6919 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.6385, allocations: 271.2 kB / 0.6922 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.6393, allocations: 432.8 kB / 0.6926 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6393, allocations: 0 / 0.6926 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001144/0.6405, allocations: 0.5176 MB / 0.6931 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.6405, allocations: 12.03 kB / 0.6931 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6405, allocations: 4 kB / 0.6931 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001937/0.6424, allocations: 268.5 kB / 0.6934 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.6428, allocations: 99.88 kB / 0.6935 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000836/0.6437, allocations: 0.6069 MB / 0.6941 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.6441, allocations: 47.72 kB / 0.6941 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.6441, allocations: 43.98 kB / 0.6942 GB, free: 6.203 MB / 0.5294 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.000219/0.6444, allocations: 181.6 kB / 0.6943 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.6445, allocations: 51.73 kB / 0.6944 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.6459, allocations: 0.674 MB / 0.695 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6459, allocations: 4 kB / 0.695 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6459, allocations: 0 / 0.695 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.646, allocations: 7.922 kB / 0.695 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.6475, allocations: 0.983 MB / 0.696 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6475, allocations: 0 / 0.696 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.6478, allocations: 47.95 kB / 0.696 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.6495, allocations: 264.5 kB / 0.6963 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/0.6495, allocations: 11.98 kB / 0.6963 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008079/0.6504, allocations: 0.5992 MB / 0.6969 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.6504, allocations: 4.031 kB / 0.6969 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.6515, allocations: 0.5117 MB / 0.6974 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.6517, allocations: 136.6 kB / 0.6975 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.6518, allocations: 8 kB / 0.6975 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.6522, allocations: 15.98 kB / 0.6976 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.96e-05/0.6522, allocations: 27.91 kB / 0.6976 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.6523, allocations: 19.97 kB / 0.6976 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004065/0.6527, allocations: 390.8 kB / 0.698 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6527, allocations: 0 / 0.698 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007215/0.6534, allocations: 255.5 kB / 0.6982 GB, free: 1.844 MB / 0.5294 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.002055/0.6555, allocations: 1.324 MB / 0.6995 GB, free: 488 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.6567, allocations: 384.7 kB / 0.6999 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6567, allocations: 0 / 0.6999 GB, free: 104 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000708/0.6574, allocations: 152 kB / 0.7 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.6589, allocations: 350 kB / 0.7004 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/0.6655, allocations: 4.714 MB / 0.705 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.6659, allocations: 0.8511 MB / 0.7058 GB, free: 9.82 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005664/0.6665, allocations: 192.6 kB / 0.706 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/0.6668, allocations: 211.3 kB / 0.7062 GB, free: 9.43 MB / 0.545 GB Notification: Performance of SimCode: time 2.6e-07/0.6668, allocations: 0 / 0.7062 GB, free: 9.43 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09546/0.7622, allocations: 20.36 MB / 0.7261 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/13.26, allocations: 8.312 kB / 0.7261 GB, free: 5.047 MB / 0.5606 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/GenericResistances/VolumeFlowRate/VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches