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.001807/0.001807, allocations: 110 kB / 19.69 MB, free: 2.203 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.002283/0.002283, allocations: 220.1 kB / 23.01 MB, free: 5.043 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.453/1.453, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.2217/0.2217, allocations: 44.24 MB / 330.3 MB, free: 9.504 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.00356/0.00356, allocations: 75.91 kB / 467.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1264, allocations: 61.04 MB / 0.5162 GB, free: 7.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003519/0.1299, allocations: 1.822 MB / 0.518 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.1314, allocations: 0.8577 MB / 0.5188 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.895e-05/0.1315, allocations: 0 / 0.5188 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002201/0.1317, allocations: 39.77 kB / 0.5188 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.132, allocations: 91.5 kB / 0.5189 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.1323, allocations: 63.73 kB / 0.519 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002238/0.1325, allocations: 139.4 kB / 0.5191 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.778e-05/0.1325, allocations: 7.984 kB / 0.5191 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1327, allocations: 67.77 kB / 0.5192 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.1329, allocations: 91.69 kB / 0.5193 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.1329, allocations: 4 kB / 0.5193 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.1332, allocations: 67.89 kB / 0.5193 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1333, allocations: 39.83 kB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/0.1334, allocations: 43.78 kB / 0.5194 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1337, allocations: 143.4 kB / 0.5196 GB, free: 3.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1337, allocations: 0 / 0.5196 GB, free: 3.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1337, allocations: 0 / 0.5196 GB, free: 3.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.1338, allocations: 0 / 0.5196 GB, free: 3.809 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.0007264/0.1345, allocations: 329.8 kB / 0.5199 GB, free: 3.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1345, allocations: 16.02 kB / 0.5199 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.1346, allocations: 38.75 kB / 0.5199 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.135, allocations: 36.86 kB / 0.52 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.1352, allocations: 130.4 kB / 0.5201 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1352, allocations: 8.375 kB / 0.5201 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1352, allocations: 19.92 kB / 0.5201 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003824/0.1356, allocations: 172.1 kB / 0.5203 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1356, allocations: 0 / 0.5203 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1356, allocations: 0 / 0.5203 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/0.1357, allocations: 23.92 kB / 0.5203 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.136, allocations: 135.7 kB / 0.5204 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.1369, allocations: 0.6086 MB / 0.521 GB, free: 2.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.1373, allocations: 110.6 kB / 0.5211 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1374, allocations: 32.83 kB / 0.5212 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.1374, allocations: 8 kB / 0.5212 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1374, allocations: 34.56 kB / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1374, allocations: 0 / 0.5212 GB, free: 1.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004622/0.1379, allocations: 149.6 kB / 0.5213 GB, free: 1.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1379, allocations: 51.41 kB / 0.5214 GB, free: 1.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.138, allocations: 122.4 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1381, allocations: 29.7 kB / 0.5215 GB, free: 1.586 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/0.1382, allocations: 128 kB / 0.5217 GB, free: 1.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.1382, allocations: 23.8 kB / 0.5217 GB, free: 1.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.1382, allocations: 29.7 kB / 0.5217 GB, free: 1.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1384, allocations: 322.8 kB / 0.522 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.1385, allocations: 35.95 kB / 0.522 GB, free: 1.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1387, allocations: 95.7 kB / 0.5221 GB, free: 0.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.1389, allocations: 143.8 kB / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1389, allocations: 0 / 0.5223 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003372/0.1393, allocations: 165.4 kB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1393, allocations: 8 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1393, allocations: 0 / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1393, allocations: 4 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.1395, allocations: 43.91 kB / 0.5225 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1395, allocations: 4 kB / 0.5225 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.796e-05/0.1396, allocations: 20.12 kB / 0.5225 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.1396, allocations: 12 kB / 0.5225 GB, free: 0.4922 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.0001087/0.1397, allocations: 129.7 kB / 0.5226 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.1398, allocations: 7.953 kB / 0.5227 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.1401, allocations: 118 kB / 0.5228 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1401, allocations: 4 kB / 0.5228 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1401, allocations: 4 kB / 0.5228 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1401, allocations: 0 / 0.5228 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.1403, allocations: 176.5 kB / 0.5229 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1403, allocations: 0 / 0.5229 GB, free: 0 / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.1405, allocations: 31.91 kB / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1405, allocations: 0 / 0.523 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1405, allocations: 4 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1405, allocations: 3.938 kB / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1405, allocations: 0 / 0.523 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.1408, allocations: 211.4 kB / 0.5232 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.1408, allocations: 19.91 kB / 0.5232 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.1409, allocations: 0 / 0.5232 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.141, allocations: 8 kB / 0.5232 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.141, allocations: 7.984 kB / 0.5232 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.141, allocations: 0 / 0.5232 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.1411, allocations: 103.4 kB / 0.5233 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1411, allocations: 3.938 kB / 0.5233 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1414, allocations: 27.95 kB / 0.5233 GB, free: 15.57 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.00068/0.142, allocations: 0.7436 MB / 0.5241 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1423, allocations: 95.8 kB / 0.5242 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1423, allocations: 0 / 0.5242 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.1424, allocations: 36.47 kB / 0.5242 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1427, allocations: 12 kB / 0.5242 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.1449, allocations: 1.69 MB / 0.5259 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1452, allocations: 0.7041 MB / 0.5265 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.767e-05/0.1453, allocations: 32.44 kB / 0.5266 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.1454, allocations: 31.44 kB / 0.5266 GB, free: 12.05 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1454, allocations: 0 / 0.5266 GB, free: 12.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.1739, allocations: 2.451 MB / 0.529 GB, free: 9.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.96, allocations: 11.95 kB / 0.529 GB, free: 9.586 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.109812619164586]