Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.001073/0.001073, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.001085/0.001085, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.298/1.298, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1946/0.1946, 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.001376/0.001377, allocations: 69.45 kB / 441.3 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1138, allocations: 57.79 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4946/0.6085, allocations: 190 MB / 0.673 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008446/0.6169, allocations: 5.703 MB / 0.6785 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009603/0.618, allocations: 19.88 kB / 0.6786 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.6191, allocations: 325.8 kB / 0.6789 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.6238, allocations: 1.653 MB / 0.6805 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.6259, allocations: 0.727 MB / 0.6812 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.6281, allocations: 1.548 MB / 0.6827 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006353/0.6287, allocations: 419.5 kB / 0.6831 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.6298, allocations: 0.5916 MB / 0.6837 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.6305, allocations: 466.1 kB / 0.6841 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.6307, allocations: 52 kB / 0.6842 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002976/0.6337, allocations: 1.412 MB / 0.6856 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.6339, allocations: 159.5 kB / 0.6857 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.6344, allocations: 338.5 kB / 0.686 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.6373, allocations: 1.632 MB / 0.6876 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6374, allocations: 0 / 0.6876 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6374, allocations: 0 / 0.6876 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.71e-05/0.6374, allocations: 0 / 0.6876 GB, free: 13.66 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002465/0.6399, allocations: 1.12 MB / 0.6887 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.6399, allocations: 11.89 kB / 0.6887 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.6401, allocations: 82.53 kB / 0.6888 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.6412, allocations: 143.5 kB / 0.6889 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.6423, allocations: 0.5007 MB / 0.6894 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.6424, allocations: 33 kB / 0.6895 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.6425, allocations: 44 kB / 0.6895 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6436, allocations: 0.5905 MB / 0.6901 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.6436, allocations: 4 kB / 0.6901 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.6437, allocations: 16.5 kB / 0.6901 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.6437, allocations: 12 kB / 0.6901 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008872/0.6446, allocations: 487.5 kB / 0.6906 GB, free: 10.49 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.003047/0.6476, allocations: 2.687 MB / 0.6932 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/0.6484, allocations: 351.5 kB / 0.6935 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/0.6487, allocations: 177.3 kB / 0.6937 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.65, allocations: 1.301 MB / 0.695 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.6501, allocations: 46.59 kB / 0.695 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.6501, allocations: 0 / 0.695 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001763/0.6518, allocations: 0.7223 MB / 0.6957 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.6519, allocations: 136.5 kB / 0.6959 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005777/0.6525, allocations: 0.4903 MB / 0.6963 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.723e-05/0.6526, allocations: 33.7 kB / 0.6964 GB, free: 4.031 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.6528, allocations: 288.2 kB / 0.6966 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.6529, allocations: 126.9 kB / 0.6968 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.6531, allocations: 98.11 kB / 0.6969 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.6532, allocations: 362.8 kB / 0.6972 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.6536, allocations: 148.8 kB / 0.6973 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004054/0.654, allocations: 283.7 kB / 0.6976 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.6547, allocations: 441.6 kB / 0.698 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.6547, allocations: 4 kB / 0.698 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001014/0.6557, allocations: 0.5409 MB / 0.6986 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6558, allocations: 10.66 kB / 0.6986 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6558, allocations: 4 kB / 0.6986 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.6573, allocations: 236.6 kB / 0.6988 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.6577, allocations: 103.8 kB / 0.6989 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004953/0.6582, allocations: 0.5953 MB / 0.6995 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.6586, allocations: 59.67 kB / 0.6995 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.391e-05/0.6587, allocations: 47.98 kB / 0.6996 GB, free: 0.5742 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 (44): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002599/0.659, allocations: 185.6 kB / 0.6998 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6591, allocations: 55.67 kB / 0.6998 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.6606, allocations: 0.7224 MB / 0.7005 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.882e-06/0.6606, allocations: 4 kB / 0.7005 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6606, allocations: 0 / 0.7005 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.6606, allocations: 7.922 kB / 0.7005 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.6622, allocations: 1.046 MB / 0.7016 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.6622, allocations: 0 / 0.7016 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.6625, allocations: 51.91 kB / 0.7016 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003193/0.6657, allocations: 440.4 kB / 0.702 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.6657, allocations: 20 kB / 0.7021 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006246/0.6664, allocations: 0.6031 MB / 0.7026 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.6664, allocations: 4.031 kB / 0.7026 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008847/0.6673, allocations: 0.5199 MB / 0.7032 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.6675, allocations: 144.7 kB / 0.7033 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.6676, allocations: 15.88 kB / 0.7033 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.668, allocations: 15.98 kB / 0.7033 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.6681, allocations: 31.91 kB / 0.7033 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-05/0.6681, allocations: 16 kB / 0.7034 GB, free: 12.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005567/0.6687, allocations: 422.8 kB / 0.7038 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6687, allocations: 0 / 0.7038 GB, free: 12.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009585/0.6697, allocations: 323.2 kB / 0.7041 GB, free: 11.79 MB / 0.545 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 (27): * Single equations (assignments): 26 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/0.6719, allocations: 1.413 MB / 0.7055 GB, free: 10.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009803/0.6729, allocations: 371.6 kB / 0.7058 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6729, allocations: 0.875 kB / 0.7058 GB, free: 9.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.6733, allocations: 180 kB / 0.706 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.6751, allocations: 357.3 kB / 0.7063 GB, free: 9.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006738/0.6818, allocations: 4.951 MB / 0.7112 GB, free: 4.293 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.6823, allocations: 0.8596 MB / 0.712 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006941/0.683, allocations: 201 kB / 0.7122 GB, free: 3.207 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.6833, allocations: 211.4 kB / 0.7124 GB, free: 3 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.6833, allocations: 0 / 0.7124 GB, free: 3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/0.8385, allocations: 22.6 MB / 0.7345 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/13.03, allocations: 3.859 kB / 0.7345 GB, free: 12.38 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_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_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches