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.001387/0.001387, allocations: 104.8 kB / 16.4 MB, free: 6.457 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.001222/0.001222, 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.495/1.495, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2368/0.2368, allocations: 43.53 MB / 314.1 MB, free: 444 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.002046/0.002047, allocations: 67.89 kB / 441.3 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1231, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.4952/0.6184, allocations: 189.8 MB / 0.6727 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004106/0.6226, allocations: 2.143 MB / 0.6748 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005523/0.6231, allocations: 11.94 kB / 0.6749 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009382/0.6241, allocations: 297.9 kB / 0.6751 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.628, allocations: 1.416 MB / 0.6765 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.6299, allocations: 0.6759 MB / 0.6772 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002194/0.6321, allocations: 1.469 MB / 0.6786 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007217/0.6329, allocations: 423.4 kB / 0.679 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.6339, allocations: 0.5644 MB / 0.6796 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.6346, allocations: 434.2 kB / 0.68 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.6347, allocations: 52 kB / 0.68 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.637, allocations: 0.9985 MB / 0.681 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.6372, allocations: 151.5 kB / 0.6812 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003803/0.6376, allocations: 326.5 kB / 0.6815 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.6402, allocations: 1.328 MB / 0.6828 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6402, allocations: 0 / 0.6828 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6402, allocations: 0 / 0.6828 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.6402, allocations: 0 / 0.6828 GB, free: 2.652 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.001976/0.6422, allocations: 1.058 MB / 0.6838 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6423, allocations: 11.89 kB / 0.6838 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.6424, allocations: 82.53 kB / 0.6839 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009614/0.6433, allocations: 131.5 kB / 0.684 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007925/0.6441, allocations: 476.9 kB / 0.6845 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.6442, allocations: 32.98 kB / 0.6845 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.6443, allocations: 40 kB / 0.6845 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.6453, allocations: 0.5438 MB / 0.6851 GB, free: 156 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.6453, allocations: 9.25 kB / 0.6851 GB, free: 148 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/0.6454, allocations: 20 kB / 0.6851 GB, free: 128 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.6454, allocations: 12 kB / 0.6851 GB, free: 116 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.6463, 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.002928/0.6492, allocations: 2.589 MB / 0.688 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.6499, allocations: 308.3 kB / 0.6883 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.6502, allocations: 144.8 kB / 0.6885 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/0.6514, allocations: 1.221 MB / 0.6896 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.6515, allocations: 38.56 kB / 0.6897 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.6515, allocations: 4 kB / 0.6897 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=29): time 0.0024/0.6539, allocations: 0.6961 MB / 0.6904 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.225e-05/0.654, allocations: 132.5 kB / 0.6905 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000554/0.6546, allocations: 449.9 kB / 0.6909 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.6546, allocations: 29.7 kB / 0.6909 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.6549, allocations: 284.2 kB / 0.6912 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.655, allocations: 111 kB / 0.6913 GB, free: 9.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001701/0.6552, allocations: 93.66 kB / 0.6914 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.6554, allocations: 358.8 kB / 0.6918 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.6557, allocations: 143.9 kB / 0.6919 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.6563, allocations: 275.2 kB / 0.6922 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009242/0.6572, allocations: 428.8 kB / 0.6926 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.6572, allocations: 0 / 0.6926 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001247/0.6585, allocations: 0.5224 MB / 0.6931 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6585, allocations: 16 kB / 0.6931 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6585, allocations: 0 / 0.6931 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.6605, allocations: 264.5 kB / 0.6933 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.661, allocations: 103.8 kB / 0.6934 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009381/0.6619, allocations: 0.6047 MB / 0.694 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.6623, allocations: 47.72 kB / 0.6941 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/0.6624, allocations: 43.97 kB / 0.6941 GB, free: 6.211 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.0002768/0.6627, allocations: 189.5 kB / 0.6943 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.6628, allocations: 55.67 kB / 0.6944 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.6645, allocations: 0.6605 MB / 0.695 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.6645, allocations: 4 kB / 0.695 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6645, allocations: 3.984 kB / 0.695 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.6645, allocations: 7.938 kB / 0.695 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.6664, allocations: 0.9792 MB / 0.696 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.6664, allocations: 4 kB / 0.696 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.6667, allocations: 51.89 kB / 0.696 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.6685, allocations: 256.5 kB / 0.6963 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/0.6685, allocations: 15.98 kB / 0.6963 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009116/0.6695, allocations: 0.5992 MB / 0.6969 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6695, allocations: 4.031 kB / 0.6969 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001298/0.6708, allocations: 0.5078 MB / 0.6974 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.671, allocations: 136.6 kB / 0.6975 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-05/0.6711, allocations: 8 kB / 0.6975 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.6714, allocations: 19.97 kB / 0.6975 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.6715, allocations: 31.84 kB / 0.6976 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.9e-05/0.6716, allocations: 15.98 kB / 0.6976 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005545/0.6722, allocations: 390.8 kB / 0.6979 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6722, allocations: 0 / 0.6979 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009131/0.6731, allocations: 255.5 kB / 0.6982 GB, free: 1.848 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.002421/0.6755, allocations: 1.325 MB / 0.6995 GB, free: 492 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.677, allocations: 384.7 kB / 0.6998 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.677, allocations: 0 / 0.6998 GB, free: 108 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.6777, allocations: 159.9 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.001659/0.6794, allocations: 346 kB / 0.7003 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007953/0.6873, allocations: 4.714 MB / 0.7049 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.6879, allocations: 0.8472 MB / 0.7058 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007908/0.6887, allocations: 196.5 kB / 0.7059 GB, free: 9.633 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.6891, allocations: 203.4 kB / 0.7061 GB, free: 9.438 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.6891, allocations: 0 / 0.7061 GB, free: 9.438 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05536/0.7444, allocations: 20.36 MB / 0.726 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.13, allocations: 4.5 kB / 0.726 GB, free: 5.051 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