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.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.001293/0.001293, allocations: 114.2 kB / 19.69 MB, free: 2.188 MB / 14.72 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.001418/0.001418, allocations: 216 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.224/0.224, allocations: 44.24 MB / 330.3 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.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_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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 76.36 kB / 467.5 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1264, allocations: 61.04 MB / 0.5162 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5136/0.64, allocations: 191 MB / 0.7027 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.6502, allocations: 5.759 MB / 0.7083 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007425/0.6509, allocations: 27.75 kB / 0.7083 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.6521, allocations: 325.8 kB / 0.7086 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.6572, allocations: 1.677 MB / 0.7103 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00211/0.6593, allocations: 0.7417 MB / 0.711 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.6618, allocations: 1.575 MB / 0.7125 GB, free: 10.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008053/0.6626, allocations: 355.8 kB / 0.7129 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.664, allocations: 0.5994 MB / 0.7134 GB, free: 9.605 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.6651, allocations: 490 kB / 0.7139 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.6653, allocations: 52 kB / 0.714 GB, free: 9.074 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/0.6687, allocations: 1.435 MB / 0.7154 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.669, allocations: 163.4 kB / 0.7155 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000586/0.6696, allocations: 350.4 kB / 0.7159 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003423/0.673, allocations: 1.628 MB / 0.7174 GB, free: 5.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.673, allocations: 0 / 0.7174 GB, free: 5.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.673, allocations: 0 / 0.7174 GB, free: 5.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.711e-05/0.673, allocations: 3.938 kB / 0.7174 GB, free: 5.496 MB / 0.545 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.002457/0.6755, allocations: 1.045 MB / 0.7185 GB, free: 4.414 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.6755, allocations: 8.031 kB / 0.7185 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.6757, allocations: 86.52 kB / 0.7186 GB, free: 4.312 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.6768, allocations: 139.5 kB / 0.7187 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009539/0.6777, allocations: 441.6 kB / 0.7191 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.6778, allocations: 29 kB / 0.7191 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.405e-05/0.6778, allocations: 51.94 kB / 0.7192 GB, free: 3.637 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.679, allocations: 0.5906 MB / 0.7198 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.679, allocations: 4 kB / 0.7198 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.6791, allocations: 16 kB / 0.7198 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.6791, allocations: 12 kB / 0.7198 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009615/0.68, allocations: 483.6 kB / 0.7203 GB, free: 2.504 MB / 0.545 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.003415/0.6834, allocations: 2.663 MB / 0.7229 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/0.6842, allocations: 319.5 kB / 0.7232 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.6845, allocations: 161.4 kB / 0.7233 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000981/0.6855, allocations: 406.5 kB / 0.7237 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.6855, allocations: 42.84 kB / 0.7237 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.6855, allocations: 3.938 kB / 0.7237 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001768/0.6873, allocations: 0.6556 MB / 0.7244 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.254e-05/0.6874, allocations: 140.5 kB / 0.7245 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00061/0.688, allocations: 494.1 kB / 0.725 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.688, allocations: 29.7 kB / 0.725 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.6883, allocations: 296.2 kB / 0.7253 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.6884, allocations: 119 kB / 0.7254 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.6885, allocations: 98.11 kB / 0.7255 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.6887, allocations: 362.8 kB / 0.7259 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.689, allocations: 152.8 kB / 0.726 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.6895, allocations: 279.7 kB / 0.7263 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.6902, allocations: 440.7 kB / 0.7267 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6902, allocations: 0 / 0.7267 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001052/0.6913, allocations: 0.5409 MB / 0.7272 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.6913, allocations: 9.094 kB / 0.7272 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.6913, allocations: 5.312 kB / 0.7272 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/0.6929, allocations: 244.5 kB / 0.7275 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.6932, allocations: 99.89 kB / 0.7276 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005389/0.6938, allocations: 0.5953 MB / 0.7281 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003216/0.6941, allocations: 55.69 kB / 0.7282 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.6942, allocations: 43.98 kB / 0.7282 GB, free: 9.883 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.0002805/0.6944, allocations: 181.6 kB / 0.7284 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.6945, allocations: 55.67 kB / 0.7285 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.6961, allocations: 0.7392 MB / 0.7292 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.6961, allocations: 4 kB / 0.7292 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6961, allocations: 0.875 kB / 0.7292 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.6961, allocations: 7.922 kB / 0.7292 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.6977, allocations: 0.9988 MB / 0.7302 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6977, allocations: 0 / 0.7302 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.6979, allocations: 59.84 kB / 0.7302 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003211/0.7011, allocations: 441.6 kB / 0.7306 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.7011, allocations: 11.98 kB / 0.7307 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005567/0.7017, allocations: 0.6148 MB / 0.7313 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7017, allocations: 0 / 0.7313 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009459/0.7026, allocations: 0.516 MB / 0.7318 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.7028, allocations: 71.48 kB / 0.7318 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.356e-05/0.7029, allocations: 8 kB / 0.7318 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.7032, allocations: 15.98 kB / 0.7319 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.7033, allocations: 35.83 kB / 0.7319 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.7034, allocations: 20 kB / 0.7319 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005817/0.7039, allocations: 422.8 kB / 0.7323 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.7039, allocations: 0 / 0.7323 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001019/0.705, allocations: 331.1 kB / 0.7326 GB, free: 5.223 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.002104/0.7071, allocations: 1.401 MB / 0.734 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008428/0.7079, allocations: 363.8 kB / 0.7343 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.7079, allocations: 0.625 kB / 0.7343 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.7083, allocations: 157 kB / 0.7345 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.7099, allocations: 360.9 kB / 0.7348 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007171/0.7171, allocations: 4.964 MB / 0.7397 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.7176, allocations: 0.8519 MB / 0.7405 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007362/0.7183, allocations: 209 kB / 0.7407 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/0.7187, allocations: 219.4 kB / 0.7409 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of SimCode: time 7.92e-07/0.7187, allocations: 0 / 0.7409 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06583/0.7845, allocations: 22.95 MB / 0.7633 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.48, allocations: 8 kB / 0.7633 GB, free: 5.496 MB / 0.5919 GB " [Timeout remaining time 645] (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 --stepSize=0.000201839 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.722672769101337]