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.001346/0.001346, allocations: 104.3 kB / 19.7 MB, free: 1.941 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.001549/0.001549, allocations: 214.3 kB / 22.98 MB, free: 4.473 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.402/1.402, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2143/0.2143, allocations: 44.26 MB / 330.3 MB, free: 9.316 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.002284/0.002284, allocations: 71.91 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1155, allocations: 61.04 MB / 0.5162 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4269/0.5423, allocations: 165 MB / 0.6773 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009005/0.5513, allocations: 5.281 MB / 0.6824 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007825/0.5521, allocations: 19.81 kB / 0.6824 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.5532, allocations: 313.9 kB / 0.6827 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.558, allocations: 1.655 MB / 0.6843 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.5602, allocations: 0.7428 MB / 0.6851 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.5625, allocations: 1.563 MB / 0.6866 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005534/0.5631, allocations: 351.8 kB / 0.6869 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009403/0.564, allocations: 0.6111 MB / 0.6875 GB, free: 2.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006328/0.5646, allocations: 462 kB / 0.688 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.5647, allocations: 52 kB / 0.688 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.5672, allocations: 1.092 MB / 0.6891 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.5674, allocations: 167.4 kB / 0.6892 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.5677, allocations: 302.8 kB / 0.6895 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.5699, allocations: 1.558 MB / 0.6911 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.5699, allocations: 0 / 0.6911 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5699, allocations: 0 / 0.6911 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.5699, allocations: 4 kB / 0.6911 GB, free: 15.02 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.001957/0.5719, allocations: 1.041 MB / 0.6921 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.5719, allocations: 8.031 kB / 0.6921 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.572, allocations: 86.52 kB / 0.6922 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.573, allocations: 139.5 kB / 0.6923 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008919/0.5739, allocations: 441.6 kB / 0.6927 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.5739, allocations: 37 kB / 0.6928 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.127e-05/0.574, allocations: 40 kB / 0.6928 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.5753, allocations: 0.8996 MB / 0.6937 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5753, allocations: 3.984 kB / 0.6937 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.769e-05/0.5754, allocations: 20 kB / 0.6937 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.5754, allocations: 12 kB / 0.6937 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009845/0.5764, allocations: 479.6 kB / 0.6942 GB, free: 11.66 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.003006/0.5794, allocations: 1.993 MB / 0.6961 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.5801, allocations: 323.5 kB / 0.6964 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003238/0.5805, allocations: 157.3 kB / 0.6966 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.5815, allocations: 414.4 kB / 0.697 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.5815, allocations: 38.84 kB / 0.697 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.255e-06/0.5815, allocations: 0 / 0.697 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001816/0.5833, allocations: 0.6595 MB / 0.6976 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.806e-05/0.5834, allocations: 132.5 kB / 0.6978 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006378/0.5841, allocations: 0.4902 MB / 0.6982 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.5841, allocations: 33.7 kB / 0.6983 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.5843, allocations: 284.3 kB / 0.6986 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.5845, allocations: 122.9 kB / 0.6987 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000174/0.5846, allocations: 106.1 kB / 0.6988 GB, free: 6.773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.5848, allocations: 358.8 kB / 0.6991 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.5852, allocations: 152.8 kB / 0.6993 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.5857, allocations: 361.8 kB / 0.6996 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.5865, allocations: 440.7 kB / 0.7 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5865, allocations: 0 / 0.7 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00109/0.5875, allocations: 0.5445 MB / 0.7006 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5876, allocations: 8.938 kB / 0.7006 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5876, allocations: 448 / 0.7006 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.5892, allocations: 252.5 kB / 0.7008 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003792/0.5895, allocations: 99.89 kB / 0.7009 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005506/0.5901, allocations: 0.5992 MB / 0.7015 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/0.5904, allocations: 49.42 kB / 0.7015 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.5905, allocations: 43.98 kB / 0.7016 GB, free: 3.738 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.0002767/0.5908, allocations: 181.7 kB / 0.7017 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5909, allocations: 59.62 kB / 0.7018 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.5925, allocations: 0.7405 MB / 0.7025 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5925, allocations: 4 kB / 0.7025 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5925, allocations: 0 / 0.7025 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5925, allocations: 7.922 kB / 0.7025 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.5942, allocations: 0.9478 MB / 0.7035 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5942, allocations: 3.938 kB / 0.7035 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.5944, allocations: 59.84 kB / 0.7035 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/0.5977, allocations: 440.4 kB / 0.7039 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.5977, allocations: 11.98 kB / 0.704 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005369/0.5982, allocations: 0.607 MB / 0.7045 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5982, allocations: 4.031 kB / 0.7046 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000965/0.5992, allocations: 0.5118 MB / 0.7051 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.5994, allocations: 71.67 kB / 0.7051 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/0.5995, allocations: 8.5 kB / 0.7051 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.5998, allocations: 15.98 kB / 0.7051 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.5999, allocations: 31.7 kB / 0.7052 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.5999, allocations: 16.69 kB / 0.7052 GB, free: 15.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005804/0.6005, allocations: 422.8 kB / 0.7056 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6005, allocations: 4 kB / 0.7056 GB, free: 15.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009453/0.6014, allocations: 331.1 kB / 0.7059 GB, free: 15.13 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.002327/0.6038, allocations: 1.394 MB / 0.7073 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009836/0.6047, allocations: 368 kB / 0.7076 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6047, allocations: 0 / 0.7076 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.6051, allocations: 157 kB / 0.7078 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.6069, allocations: 361.3 kB / 0.7081 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007501/0.6144, allocations: 4.96 MB / 0.713 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.6147, allocations: 255.5 kB / 0.7132 GB, free: 7.391 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007801/0.6155, allocations: 205 kB / 0.7134 GB, free: 7.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.6159, allocations: 215.4 kB / 0.7136 GB, free: 6.977 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/0.6159, allocations: 0 / 0.7136 GB, free: 6.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06125/0.6772, allocations: 24.45 MB / 0.7375 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.38, allocations: 7.984 kB / 0.7375 GB, free: 14.5 MB / 0.5762 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.38103487994522]