Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_4_0_0_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.001122/0.001122, allocations: 112.8 kB / 17.77 MB, free: 5.371 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.001171/0.001171, allocations: 180.9 kB / 18.7 MB, free: 4.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2074/0.2074, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4119, allocations: 60.82 MB / 0.5184 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2072/0.6192, allocations: 183.1 MB / 0.6972 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.6251, allocations: 3.263 MB / 0.7004 GB, free: 1.121 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.6258, allocations: 15.94 kB / 0.7004 GB, free: 1.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.6269, allocations: 325.8 kB / 0.7007 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00377/0.6307, allocations: 1.415 MB / 0.7021 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.6326, allocations: 0.732 MB / 0.7028 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.6344, allocations: 1.551 MB / 0.7043 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00056/0.635, allocations: 423.5 kB / 0.7047 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008697/0.6359, allocations: 0.5995 MB / 0.7053 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.6364, allocations: 466.1 kB / 0.7057 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/0.6365, allocations: 52 kB / 0.7058 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.6389, allocations: 1.197 MB / 0.707 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.6391, allocations: 151.5 kB / 0.7071 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.6394, allocations: 354.4 kB / 0.7075 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001901/0.6414, allocations: 1.503 MB / 0.7089 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.6414, allocations: 0 / 0.7089 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6414, allocations: 4 kB / 0.7089 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.6414, allocations: 0 / 0.7089 GB, free: 8.344 MB / 0.5606 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.001837/0.6432, allocations: 1.077 MB / 0.71 GB, free: 7.215 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6433, allocations: 8.031 kB / 0.71 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.6434, allocations: 82.53 kB / 0.7101 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009892/0.6444, allocations: 151.5 kB / 0.7102 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.6452, allocations: 0.4929 MB / 0.7107 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.6452, allocations: 32.94 kB / 0.7107 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.717e-05/0.6453, allocations: 40 kB / 0.7108 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.6464, allocations: 0.5945 MB / 0.7113 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6464, allocations: 4 kB / 0.7113 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.978e-05/0.6465, allocations: 16 kB / 0.7114 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6465, allocations: 12 kB / 0.7114 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009085/0.6474, allocations: 483.5 kB / 0.7118 GB, free: 5.227 MB / 0.5606 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.00289/0.6503, allocations: 2.687 MB / 0.7145 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/0.651, allocations: 342.4 kB / 0.7148 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.6514, allocations: 169.3 kB / 0.7149 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004058/0.6518, allocations: 445.8 kB / 0.7154 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.6518, allocations: 46.78 kB / 0.7154 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.044e-06/0.6518, allocations: 0 / 0.7154 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001713/0.6535, allocations: 0.7307 MB / 0.7161 GB, free: 480 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.207e-05/0.6536, allocations: 132.5 kB / 0.7162 GB, free: 316 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3152/0.9689, allocations: 491.6 kB / 0.7167 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.9692, allocations: 36.73 kB / 0.7168 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.9694, allocations: 282.5 kB / 0.717 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.9696, allocations: 126.8 kB / 0.7171 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002731/0.9699, allocations: 103.9 kB / 0.7172 GB, free: 190.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.97, allocations: 363.2 kB / 0.7176 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.9705, allocations: 153.1 kB / 0.7177 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.971, allocations: 279.1 kB / 0.718 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.9718, allocations: 438.8 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.9718, allocations: 4.875 kB / 0.7184 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001183/0.973, allocations: 0.5563 MB / 0.719 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.973, allocations: 5.625 kB / 0.719 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.973, allocations: 3.562 kB / 0.719 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001679/0.9747, allocations: 237.4 kB / 0.7192 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.9751, allocations: 109.2 kB / 0.7193 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003768/0.9755, allocations: 0.5931 MB / 0.7199 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.9759, allocations: 54.33 kB / 0.7199 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/0.9759, allocations: 46.89 kB / 0.72 GB, free: 189 MB / 0.5606 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.0002457/0.9762, allocations: 185.8 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.9763, allocations: 56.09 kB / 0.7202 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002172/0.9785, allocations: 1.09 MB / 0.7213 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.9785, allocations: 3.812 kB / 0.7213 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9785, allocations: 7.906 kB / 0.7213 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.9785, allocations: 2.375 kB / 0.7213 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.98, allocations: 1.036 MB / 0.7223 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.9801, allocations: 1.031 kB / 0.7223 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.9803, allocations: 50.7 kB / 0.7224 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003211/0.9835, allocations: 445.9 kB / 0.7228 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.9835, allocations: 14.14 kB / 0.7228 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003989/0.9839, allocations: 0.6074 MB / 0.7234 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.984, allocations: 1.375 kB / 0.7234 GB, free: 187.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009109/0.9849, allocations: 0.5185 MB / 0.7239 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.985, allocations: 136 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.9851, allocations: 18.5 kB / 0.724 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000334/0.9855, allocations: 16.2 kB / 0.7241 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/0.9856, allocations: 24.2 kB / 0.7241 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.9856, allocations: 17.73 kB / 0.7241 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006184/0.9862, allocations: 422.5 kB / 0.7245 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9863, allocations: 1.375 kB / 0.7245 GB, free: 186.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001003/0.9873, allocations: 287.7 kB / 0.7248 GB, free: 186.6 MB / 0.5606 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.001772/0.989, allocations: 1.336 MB / 0.7261 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009055/0.99, allocations: 387.8 kB / 0.7264 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.99, allocations: 1.781 kB / 0.7264 GB, free: 185.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.9903, allocations: 166.1 kB / 0.7266 GB, free: 185.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.9919, allocations: 347.7 kB / 0.7269 GB, free: 185.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006101/0.998, allocations: 4.926 MB / 0.7317 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.9984, allocations: 0.8642 MB / 0.7326 GB, free: 181.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00105/0.9994, allocations: 0.5607 MB / 0.7331 GB, free: 181.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003432/0.9998, allocations: 230.9 kB / 0.7334 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.112e-06/0.9998, allocations: 5.156 kB / 0.7334 GB, free: 181.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03932/1.039, allocations: 21.57 MB / 0.7544 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.49, allocations: 1.031 kB / 0.7544 GB, free: 163.7 MB / 0.5606 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches