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.00219/0.002189, allocations: 110.9 kB / 16.4 MB, free: 6.379 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.00205/0.00205, allocations: 190 kB / 17.33 MB, free: 5.844 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.582/1.582, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.239/0.239, allocations: 43.52 MB / 314.1 MB, free: 472 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.002059/0.002059, allocations: 67.83 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1346, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4998/0.6344, allocations: 190 MB / 0.673 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.6446, allocations: 5.702 MB / 0.6785 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.6454, allocations: 11.94 kB / 0.6785 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.6465, allocations: 329.8 kB / 0.6789 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004838/0.6514, allocations: 1.63 MB / 0.6805 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001966/0.6533, allocations: 0.7269 MB / 0.6812 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.6556, allocations: 1.555 MB / 0.6827 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006803/0.6562, allocations: 423.5 kB / 0.6831 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.6573, allocations: 0.5838 MB / 0.6837 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.6579, allocations: 458.1 kB / 0.6841 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.583e-05/0.658, allocations: 52 kB / 0.6841 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.6609, allocations: 1.408 MB / 0.6855 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.6611, allocations: 151.5 kB / 0.6857 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.6615, allocations: 350.4 kB / 0.686 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.664, allocations: 1.628 MB / 0.6876 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.664, allocations: 4 kB / 0.6876 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.664, allocations: 0 / 0.6876 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.664, allocations: 0 / 0.6876 GB, free: 13.7 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.001925/0.6659, allocations: 1.12 MB / 0.6887 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.666, allocations: 15.89 kB / 0.6887 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.6661, allocations: 82.52 kB / 0.6888 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/0.6671, allocations: 147.5 kB / 0.6889 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/0.668, allocations: 0.493 MB / 0.6894 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.668, allocations: 33 kB / 0.6894 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.6681, allocations: 36 kB / 0.6895 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.6692, allocations: 0.5984 MB / 0.69 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.6693, allocations: 0 / 0.69 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.6693, allocations: 19.94 kB / 0.6901 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.6694, allocations: 15.98 kB / 0.6901 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/0.6703, allocations: 475.6 kB / 0.6905 GB, free: 10.54 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.003613/0.674, allocations: 2.706 MB / 0.6932 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/0.6748, allocations: 339.5 kB / 0.6935 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.6751, allocations: 173.3 kB / 0.6937 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001615/0.6767, allocations: 1.304 MB / 0.6949 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.6768, allocations: 42.78 kB / 0.695 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.677e-06/0.6768, allocations: 0 / 0.695 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.002012/0.6788, allocations: 0.7301 MB / 0.6957 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6789, allocations: 132.5 kB / 0.6958 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.6796, allocations: 494.1 kB / 0.6963 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.6796, allocations: 33.7 kB / 0.6963 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.6799, allocations: 288.2 kB / 0.6966 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.68, allocations: 123 kB / 0.6967 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001835/0.6802, allocations: 98.11 kB / 0.6968 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.6804, allocations: 370.7 kB / 0.6972 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.6807, allocations: 148.8 kB / 0.6973 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004329/0.6812, allocations: 278.5 kB / 0.6976 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.6819, allocations: 448.4 kB / 0.698 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.682, allocations: 0 / 0.698 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001066/0.683, allocations: 0.5484 MB / 0.6985 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6831, allocations: 4 kB / 0.6985 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.6831, allocations: 7.938 kB / 0.6985 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001538/0.6846, allocations: 237 kB / 0.6988 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.685, allocations: 99.88 kB / 0.6989 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005198/0.6855, allocations: 0.6031 MB / 0.6995 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.6859, allocations: 51.62 kB / 0.6995 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/0.686, allocations: 51.92 kB / 0.6996 GB, free: 0.6172 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.0003039/0.6863, allocations: 185.6 kB / 0.6997 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6864, allocations: 55.67 kB / 0.6998 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.688, allocations: 0.7269 MB / 0.7005 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.6881, allocations: 4 kB / 0.7005 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.6881, allocations: 0 / 0.7005 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.6881, allocations: 7.922 kB / 0.7005 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.6898, allocations: 1.035 MB / 0.7015 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6898, allocations: 0 / 0.7015 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.69, allocations: 59.84 kB / 0.7016 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003161/0.6932, allocations: 440.4 kB / 0.702 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.6933, allocations: 15.98 kB / 0.702 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005502/0.6938, allocations: 0.6109 MB / 0.7026 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6938, allocations: 4.031 kB / 0.7026 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009501/0.6948, allocations: 0.516 MB / 0.7031 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001968/0.695, allocations: 136.7 kB / 0.7032 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.6951, allocations: 19.94 kB / 0.7033 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.6954, allocations: 19.98 kB / 0.7033 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.6955, allocations: 31.84 kB / 0.7033 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.6956, allocations: 15.98 kB / 0.7033 GB, free: 12.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005912/0.6962, allocations: 418.8 kB / 0.7037 GB, free: 12.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6962, allocations: 0 / 0.7037 GB, free: 12.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009638/0.6971, allocations: 327.2 kB / 0.704 GB, free: 11.83 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.002165/0.6993, allocations: 1.406 MB / 0.7054 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009398/0.7003, allocations: 368.5 kB / 0.7058 GB, free: 10.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.7003, allocations: 7.938 kB / 0.7058 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.7006, allocations: 171.8 kB / 0.7059 GB, free: 9.844 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/0.7023, allocations: 366.2 kB / 0.7063 GB, free: 9.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007281/0.7096, allocations: 4.943 MB / 0.7111 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.7102, allocations: 0.8635 MB / 0.712 GB, free: 3.453 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007401/0.7109, allocations: 197 kB / 0.7121 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.7113, allocations: 215.4 kB / 0.7123 GB, free: 3.047 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.7113, allocations: 4 kB / 0.7124 GB, free: 3.043 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05782/0.7691, allocations: 22.6 MB / 0.7344 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.1, allocations: 7.859 kB / 0.7344 GB, free: 12.43 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