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.001826/0.001826, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001637/0.001637, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.402/1.402, 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.2131/0.2131, allocations: 43.52 MB / 314.1 MB, free: 468 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.00211/0.00211, allocations: 76.41 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09909, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.418/0.5172, allocations: 190 MB / 0.673 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008285/0.5255, allocations: 5.712 MB / 0.6785 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006122/0.5262, allocations: 15.88 kB / 0.6786 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009539/0.5271, allocations: 317.8 kB / 0.6789 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004144/0.5313, allocations: 1.639 MB / 0.6805 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.5332, allocations: 0.7291 MB / 0.6812 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.5353, allocations: 1.544 MB / 0.6827 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006611/0.536, allocations: 427.5 kB / 0.6831 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.5369, allocations: 0.5838 MB / 0.6837 GB, free: 1.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.5375, allocations: 466.1 kB / 0.6841 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.5377, allocations: 48 kB / 0.6842 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.5405, allocations: 1.4 MB / 0.6855 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.5407, allocations: 155.4 kB / 0.6857 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.5412, allocations: 350.4 kB / 0.686 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.5442, allocations: 1.628 MB / 0.6876 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.5442, allocations: 4 kB / 0.6876 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5442, allocations: 0 / 0.6876 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.5443, allocations: 0 / 0.6876 GB, free: 13.73 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.002214/0.5465, allocations: 1.116 MB / 0.6887 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5465, allocations: 15.89 kB / 0.6887 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.5467, allocations: 78.53 kB / 0.6888 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.5477, allocations: 147.5 kB / 0.6889 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008609/0.5486, allocations: 0.5007 MB / 0.6894 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.5486, allocations: 34.5 kB / 0.6894 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.5487, allocations: 40 kB / 0.6895 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.5498, allocations: 0.5906 MB / 0.6901 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.5499, allocations: 7.938 kB / 0.6901 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.566e-05/0.5499, allocations: 20 kB / 0.6901 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.55, allocations: 15.94 kB / 0.6901 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009615/0.5509, allocations: 475.6 kB / 0.6905 GB, free: 10.57 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.003225/0.5542, allocations: 2.698 MB / 0.6932 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.5549, allocations: 350 kB / 0.6935 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.5553, allocations: 173.4 kB / 0.6937 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.5566, allocations: 1.301 MB / 0.695 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.5567, allocations: 38.84 kB / 0.695 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.5567, allocations: 0 / 0.695 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001815/0.5585, allocations: 0.7339 MB / 0.6957 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/0.5586, allocations: 136.5 kB / 0.6958 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.5592, allocations: 494.1 kB / 0.6963 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.5593, allocations: 29.7 kB / 0.6963 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.5595, allocations: 292.2 kB / 0.6966 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.5596, allocations: 118.9 kB / 0.6967 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.5598, allocations: 102.1 kB / 0.6968 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.56, allocations: 366.8 kB / 0.6972 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.5603, allocations: 144.8 kB / 0.6973 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004266/0.5607, allocations: 279.7 kB / 0.6976 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007528/0.5615, allocations: 449.5 kB / 0.698 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5615, allocations: 0 / 0.698 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001062/0.5626, allocations: 0.5406 MB / 0.6985 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.5626, allocations: 4 kB / 0.6985 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5626, allocations: 4.625 kB / 0.6985 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/0.5642, allocations: 241 kB / 0.6988 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.5646, allocations: 103.9 kB / 0.6989 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005211/0.5651, allocations: 0.5953 MB / 0.6995 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.5654, allocations: 56.48 kB / 0.6995 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.5655, allocations: 40 kB / 0.6995 GB, free: 0.6641 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.0002672/0.5658, allocations: 201.4 kB / 0.6997 GB, free: 468 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.5659, allocations: 55.67 kB / 0.6998 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.5675, allocations: 0.7302 MB / 0.7005 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5675, allocations: 4 kB / 0.7005 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5675, allocations: 3.938 kB / 0.7005 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.5675, allocations: 3.938 kB / 0.7005 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.5691, allocations: 1.034 MB / 0.7015 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5691, allocations: 4 kB / 0.7015 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.5693, allocations: 51.91 kB / 0.7016 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003178/0.5725, allocations: 452.3 kB / 0.702 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.5726, allocations: 8 kB / 0.702 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005119/0.5731, allocations: 0.607 MB / 0.7026 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5731, allocations: 0 / 0.7026 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.574, allocations: 0.5238 MB / 0.7031 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5742, allocations: 136.7 kB / 0.7033 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.639e-05/0.5743, allocations: 15.92 kB / 0.7033 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.5746, allocations: 16 kB / 0.7033 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.5747, allocations: 31.91 kB / 0.7033 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.5747, allocations: 23.98 kB / 0.7033 GB, free: 12.58 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005302/0.5753, allocations: 422.8 kB / 0.7037 GB, free: 12.17 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5753, allocations: 0 / 0.7037 GB, free: 12.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008975/0.5762, allocations: 327.2 kB / 0.7041 GB, free: 11.85 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.002105/0.5783, allocations: 1.397 MB / 0.7054 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008972/0.5792, allocations: 376.3 kB / 0.7058 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5792, allocations: 4.125 kB / 0.7058 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000392/0.5796, allocations: 171.8 kB / 0.7059 GB, free: 9.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/0.5813, allocations: 370 kB / 0.7063 GB, free: 9.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007034/0.5884, allocations: 4.94 MB / 0.7111 GB, free: 4.367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.5889, allocations: 0.8634 MB / 0.712 GB, free: 3.477 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007061/0.5896, allocations: 208.9 kB / 0.7122 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.59, allocations: 219.4 kB / 0.7124 GB, free: 3.055 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.59, allocations: 4 kB / 0.7124 GB, free: 3.051 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05337/0.6434, allocations: 22.58 MB / 0.7344 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.41, allocations: 19.86 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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