Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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.001823/0.001823, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002356/0.002356, allocations: 217.2 kB / 22.99 MB, free: 4.977 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.423/1.423, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2184/0.2184, allocations: 44.28 MB / 330.4 MB, free: 9.297 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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",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.00214/0.00214, allocations: 71.89 kB / 467.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1173, allocations: 61.04 MB / 0.5162 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003327/0.1206, allocations: 1.787 MB / 0.5179 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.122, allocations: 0.7722 MB / 0.5187 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.122, allocations: 4 kB / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.1222, allocations: 39.78 kB / 0.5187 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.1225, allocations: 75.58 kB / 0.5188 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1227, allocations: 67.72 kB / 0.5189 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1229, allocations: 139.4 kB / 0.519 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1229, allocations: 11.98 kB / 0.519 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1231, allocations: 67.77 kB / 0.5191 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.1232, allocations: 91.62 kB / 0.5192 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1233, allocations: 4 kB / 0.5192 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.1234, allocations: 55.91 kB / 0.5192 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.1235, allocations: 27.91 kB / 0.5192 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1235, allocations: 35.8 kB / 0.5193 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.1238, allocations: 127.5 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.1238, allocations: 4 kB / 0.5194 GB, free: 3.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1238, allocations: 0 / 0.5194 GB, free: 3.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1238, allocations: 3.984 kB / 0.5194 GB, free: 3.824 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005871/0.1244, allocations: 337.8 kB / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.1244, allocations: 12.03 kB / 0.5197 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.1245, allocations: 42.73 kB / 0.5198 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003296/0.1248, allocations: 36.86 kB / 0.5198 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.125, allocations: 126.5 kB / 0.5199 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.125, allocations: 12.3 kB / 0.5199 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.125, allocations: 15.94 kB / 0.52 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.1254, allocations: 176.1 kB / 0.5201 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1254, allocations: 3.938 kB / 0.5201 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.1254, allocations: 8 kB / 0.5201 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/0.1255, allocations: 11.98 kB / 0.5201 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.1258, allocations: 139.7 kB / 0.5203 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009033/0.1267, allocations: 0.5428 MB / 0.5208 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003661/0.1271, allocations: 114.6 kB / 0.5209 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1272, allocations: 36.83 kB / 0.521 GB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1272, allocations: 4 kB / 0.521 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.1272, allocations: 30.56 kB / 0.521 GB, free: 2.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1272, allocations: 0 / 0.521 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000451/0.1277, allocations: 137.6 kB / 0.5211 GB, free: 1.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.1277, allocations: 55.41 kB / 0.5212 GB, free: 1.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.1279, allocations: 134 kB / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.1279, allocations: 25.7 kB / 0.5213 GB, free: 1.668 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.128, allocations: 120 kB / 0.5214 GB, free: 1.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.128, allocations: 23.8 kB / 0.5215 GB, free: 1.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.128, allocations: 37.66 kB / 0.5215 GB, free: 1.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1282, allocations: 322.8 kB / 0.5218 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1283, allocations: 35.97 kB / 0.5218 GB, free: 1.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1285, allocations: 99.69 kB / 0.5219 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.1288, allocations: 140 kB / 0.5221 GB, free: 0.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1288, allocations: 3.938 kB / 0.5221 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003537/0.1291, allocations: 161.4 kB / 0.5222 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1291, allocations: 4 kB / 0.5222 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1292, allocations: 7.984 kB / 0.5222 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.1292, allocations: 4 kB / 0.5222 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1294, allocations: 44.17 kB / 0.5223 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.1294, allocations: 7.984 kB / 0.5223 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.1295, allocations: 15.89 kB / 0.5223 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1295, allocations: 8 kB / 0.5223 GB, free: 0.5742 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.1296, allocations: 137.6 kB / 0.5224 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1296, allocations: 3.953 kB / 0.5224 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.13, allocations: 125.9 kB / 0.5226 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.13, allocations: 4 kB / 0.5226 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.13, allocations: 0 / 0.5226 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.13, allocations: 0 / 0.5226 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.1302, allocations: 168.6 kB / 0.5227 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1302, allocations: 4 kB / 0.5227 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1304, allocations: 27.98 kB / 0.5228 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1304, allocations: 0 / 0.5228 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1304, allocations: 4 kB / 0.5228 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1304, allocations: 7.875 kB / 0.5228 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1304, allocations: 4 kB / 0.5228 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.1307, allocations: 211.4 kB / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.1308, allocations: 11.95 kB / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1308, allocations: 0 / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1309, allocations: 11.98 kB / 0.523 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.1309, allocations: 7.984 kB / 0.523 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1309, allocations: 0 / 0.523 GB, free: 15.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.774e-05/0.131, allocations: 95.27 kB / 0.5231 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.131, allocations: 0 / 0.5231 GB, free: 15.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1313, allocations: 28 kB / 0.5231 GB, free: 15.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007423/0.132, allocations: 0.7474 MB / 0.5239 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003254/0.1323, allocations: 104.2 kB / 0.524 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1323, allocations: 0 / 0.524 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1325, allocations: 35.97 kB / 0.524 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.1327, allocations: 7.938 kB / 0.524 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.1348, allocations: 1.686 MB / 0.5256 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.1349, allocations: 97.3 kB / 0.5257 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.077e-05/0.135, allocations: 33.08 kB / 0.5258 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.1351, allocations: 27.42 kB / 0.5258 GB, free: 12.76 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1351, allocations: 0 / 0.5258 GB, free: 12.76 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/0.2901, allocations: 2.799 MB / 0.5285 GB, free: 9.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.63, allocations: 4.062 kB / 0.5285 GB, free: 9.953 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --stepSize=0.0002 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.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: 15.019682862330228]