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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008117/0.0008117, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8685/0.8685, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 32.78 MB / 293.5 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.226e-05, allocations: 6.219 kB / 439.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.2918/0.2918, allocations: 161.6 MB / 0.5871 GB, free: 2.973 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.2952, allocations: 3.041 MB / 0.5901 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.2954, allocations: 19.81 kB / 0.5901 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.296, allocations: 321.7 kB / 0.5904 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.2979, allocations: 1.47 MB / 0.5919 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009153/0.2988, allocations: 0.7506 MB / 0.5926 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0009915/0.2998, allocations: 1.586 MB / 0.5941 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003321/0.3001, allocations: 359.9 kB / 0.5945 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006202/0.3007, allocations: 0.8064 MB / 0.5953 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003271/0.3011, allocations: 414.8 kB / 0.5957 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.3011, allocations: 52 kB / 0.5957 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3022, allocations: 0.9084 MB / 0.5966 GB, free: 9.258 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3023, allocations: 175.3 kB / 0.5968 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.3024, allocations: 247.5 kB / 0.597 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.3036, allocations: 1.546 MB / 0.5985 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.3036, allocations: 0 / 0.5985 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3036, allocations: 3.984 kB / 0.5985 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3036, allocations: 0 / 0.5985 GB, free: 7.289 MB / 0.4948 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.001101/0.3047, allocations: 0.9905 MB / 0.5995 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3047, allocations: 17.52 kB / 0.5995 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.686e-05/0.3048, allocations: 82.53 kB / 0.5996 GB, free: 6.16 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.3053, allocations: 139.5 kB / 0.5997 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005441/0.3058, allocations: 450 kB / 0.6001 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.3059, allocations: 29 kB / 0.6002 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.3059, allocations: 44 kB / 0.6002 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.3067, allocations: 0.8995 MB / 0.6011 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.3067, allocations: 4 kB / 0.6011 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.3067, allocations: 20 kB / 0.6011 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.3067, allocations: 12 kB / 0.6011 GB, free: 4.438 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.3073, allocations: 479.6 kB / 0.6016 GB, free: 3.969 MB / 0.4948 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.001722/0.309, allocations: 1.967 MB / 0.6035 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.3094, allocations: 327.5 kB / 0.6038 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.3096, allocations: 153.3 kB / 0.604 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.3098, allocations: 56.23 kB / 0.604 GB, free: 1.391 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.3098, allocations: 41.19 kB / 0.6041 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.3098, allocations: 0 / 0.6041 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.001008/0.3108, allocations: 0.6553 MB / 0.6047 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.3108, allocations: 140.5 kB / 0.6048 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.3112, allocations: 0.4941 MB / 0.6053 GB, free: 8 kB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3112, allocations: 33.7 kB / 0.6053 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.3114, allocations: 276.3 kB / 0.6056 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.624e-05/0.3114, allocations: 127 kB / 0.6057 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.3115, allocations: 106.1 kB / 0.6058 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.3116, allocations: 358.8 kB / 0.6062 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.3118, allocations: 148.9 kB / 0.6063 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.3121, allocations: 365.4 kB / 0.6067 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.3125, allocations: 441.6 kB / 0.6071 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3125, allocations: 0 / 0.6071 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006037/0.3131, allocations: 0.5446 MB / 0.6076 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3131, allocations: 13.7 kB / 0.6076 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3132, allocations: 4 kB / 0.6076 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000759/0.3139, allocations: 248.7 kB / 0.6079 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.3141, allocations: 107.8 kB / 0.608 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003324/0.3144, allocations: 0.5876 MB / 0.6086 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3146, allocations: 54.98 kB / 0.6086 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.3146, allocations: 52.05 kB / 0.6087 GB, free: 12.41 MB / 0.5105 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.0001628/0.3148, allocations: 186.7 kB / 0.6088 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.677e-05/0.3149, allocations: 55.67 kB / 0.6089 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.3161, allocations: 1.106 MB / 0.61 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.3161, allocations: 4 kB / 0.61 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3162, allocations: 0 / 0.61 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3162, allocations: 4 kB / 0.61 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008728/0.317, allocations: 0.9279 MB / 0.6109 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.317, allocations: 4 kB / 0.6109 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3171, allocations: 55.91 kB / 0.6109 GB, free: 9.984 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.3185, allocations: 440.4 kB / 0.6114 GB, free: 9.551 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.3186, allocations: 16 kB / 0.6114 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000277/0.3188, allocations: 0.6108 MB / 0.612 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3188, allocations: 0 / 0.612 GB, free: 8.898 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.3193, allocations: 0.5118 MB / 0.6125 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.427e-05/0.3194, allocations: 67.48 kB / 0.6125 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.3194, allocations: 9.375 kB / 0.6125 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.3196, allocations: 15.98 kB / 0.6126 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.3196, allocations: 28.02 kB / 0.6126 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.3196, allocations: 19.98 kB / 0.6126 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003167/0.32, allocations: 422.8 kB / 0.613 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8e-08/0.32, allocations: 0 / 0.613 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004939/0.3205, allocations: 287.3 kB / 0.6133 GB, free: 7.523 MB / 0.5105 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.001077/0.3215, allocations: 1.34 MB / 0.6146 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005063/0.322, allocations: 369.4 kB / 0.6149 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.322, allocations: 0 / 0.6149 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.3223, allocations: 159.8 kB / 0.6151 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.3231, allocations: 364.3 kB / 0.6154 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.3274, allocations: 4.951 MB / 0.6203 GB, free: 140 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/0.3275, allocations: 263.5 kB / 0.6205 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005883/0.3281, allocations: 0.5576 MB / 0.6211 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.3283, allocations: 232.4 kB / 0.6213 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of SimCode: time 4.21e-07/0.3283, allocations: 0 / 0.6213 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1725/0.5008, allocations: 23.52 MB / 0.6443 GB, free: 167.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.624, allocations: 14.81 kB / 0.6443 GB, free: 167.1 MB / 0.5261 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.630753215402365]