Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009555/0.0009555, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001628/0.001628, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1935/0.1935, allocations: 46.18 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002457/0.0002457, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1065, allocations: 63.55 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002168/0.1087, allocations: 1.533 MB / 484.7 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1101, allocations: 0.8103 MB / 485.5 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.1102, allocations: 3.938 kB / 485.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002204/0.1105, allocations: 35.83 kB / 485.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1108, allocations: 75.66 kB / 485.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001796/0.1109, allocations: 59.75 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1112, allocations: 199.4 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1113, allocations: 12 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.1114, allocations: 55.77 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.1116, allocations: 87.66 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1116, allocations: 4 kB / 486.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1118, allocations: 67.88 kB / 486.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.1119, allocations: 35.91 kB / 486.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.517e-05/0.1119, allocations: 69.44 kB / 486.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.1122, allocations: 135.8 kB / 486.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1122, allocations: 4 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1122, allocations: 0 / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.1122, allocations: 0 / 486.4 MB, free: 0.8359 MB / 350.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.0005646/0.1128, allocations: 395.2 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1128, allocations: 12.03 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.927e-05/0.1129, allocations: 42.73 kB / 486.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003092/0.1132, allocations: 36.81 kB / 486.8 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.1134, allocations: 180.2 kB / 487 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1134, allocations: 20.3 kB / 487 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1135, allocations: 7.938 kB / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003968/0.1139, allocations: 188.1 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.1139, allocations: 0 / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1139, allocations: 4 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.1139, allocations: 12 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.1143, allocations: 147.7 kB / 487.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.1152, allocations: 0.6484 MB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.1156, allocations: 110.7 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1157, allocations: 40.83 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1157, allocations: 4 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1158, allocations: 42.53 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1158, allocations: 0 / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004717/0.1162, allocations: 157.6 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1163, allocations: 55.41 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1165, allocations: 129.4 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1165, allocations: 29.7 kB / 488.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.1166, allocations: 123.8 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.1166, allocations: 23.66 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1167, allocations: 21.7 kB / 488.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1168, allocations: 318.8 kB / 489.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.1169, allocations: 47.89 kB / 489.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.1171, allocations: 102.2 kB / 489.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.1174, allocations: 159.5 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1174, allocations: 0 / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003677/0.1178, allocations: 173.3 kB / 489.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1178, allocations: 6.5 kB / 489.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1178, allocations: 4 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1179, allocations: 4 kB / 489.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.118, allocations: 39.97 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1181, allocations: 3.938 kB / 489.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.1182, allocations: 32.08 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1182, allocations: 7.938 kB / 489.6 MB, free: 13.25 MB / 366.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.0001214/0.1183, allocations: 129.8 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.1184, allocations: 3.906 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003422/0.1187, allocations: 138.3 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1187, allocations: 4 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1187, allocations: 4 kB / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1187, allocations: 0 / 489.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.119, allocations: 201.6 kB / 490.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.119, allocations: 0 / 490.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1192, allocations: 35.97 kB / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1192, allocations: 0 / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1192, allocations: 0 / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1192, allocations: 0 / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1192, allocations: 0 / 490.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.1195, allocations: 227.3 kB / 490.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.1196, allocations: 92.94 kB / 490.5 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1196, allocations: 4 kB / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.1197, allocations: 8 kB / 490.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1197, allocations: 3.984 kB / 490.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.1198, allocations: 4 kB / 490.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.1198, allocations: 91.27 kB / 490.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1198, allocations: 4 kB / 490.6 MB, free: 12.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1201, allocations: 24 kB / 490.6 MB, free: 12.19 MB / 366.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.000574/0.1207, allocations: 0.7591 MB / 491.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.121, allocations: 108.4 kB / 491.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.121, allocations: 0 / 491.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.1211, allocations: 55.84 kB / 491.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1214, allocations: 8 kB / 491.5 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1234, allocations: 1.749 MB / 493.3 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1237, allocations: 0.7121 MB / 494 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.916e-05/0.1238, allocations: 32.52 kB / 494 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.532e-05/0.1239, allocations: 27.42 kB / 494 MB, free: 8.562 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1239, allocations: 0 / 494 MB, free: 8.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0335/0.1574, allocations: 2.003 MB / 496 MB, free: 6.77 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.1576, allocations: 256.5 kB / 496.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/1.948, allocations: 64 / 496.3 MB, free: 6.516 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/StraightPipe/dp_laminar_DPMFLOW/dp_laminar_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches