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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 201.8 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222.6 MB, free: 4.961 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3018/0.3018, allocations: 43.5 MB / 313.5 MB, free: 8.398 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.88 kB / 382.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1026, allocations: 57.78 MB / 439.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002927/0.1056, allocations: 1.852 MB / 441.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.1068, allocations: 0.8344 MB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.1068, allocations: 0 / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.107, allocations: 39.81 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.1073, allocations: 83.64 kB / 442.8 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.1074, allocations: 55.81 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1076, allocations: 203.3 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.1076, allocations: 19.91 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.1078, allocations: 55.77 kB / 443.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.1079, allocations: 79.7 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1079, allocations: 4 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.1081, allocations: 79.83 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.1081, allocations: 19.97 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1082, allocations: 43.73 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1084, allocations: 143.5 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1084, allocations: 0 / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1084, allocations: 0 / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1084, allocations: 0 / 443.4 MB, free: 11.27 MB / 382.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.0004906/0.1089, allocations: 403.2 kB / 443.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.109, allocations: 12.03 kB / 443.8 MB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.109, allocations: 50.72 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.1093, allocations: 32.81 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.1095, allocations: 188.2 kB / 444.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1095, allocations: 8.375 kB / 444.1 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1095, allocations: 11.94 kB / 444.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.1098, allocations: 176.1 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.1099, allocations: 8 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1099, allocations: 3.984 kB / 444.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.1099, allocations: 15.92 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.1102, allocations: 131.9 kB / 444.5 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007282/0.1109, allocations: 0.6367 MB / 445.1 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002973/0.1112, allocations: 114.6 kB / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1114, allocations: 36.83 kB / 445.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1114, allocations: 4 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.1114, allocations: 30.56 kB / 445.3 MB, free: 9.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1114, allocations: 0 / 445.3 MB, free: 9.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003891/0.1118, allocations: 145.5 kB / 445.4 MB, free: 9.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.1119, allocations: 51.41 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.1119, allocations: 126 kB / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.112, allocations: 25.7 kB / 445.6 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.112, allocations: 128 kB / 445.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1121, allocations: 31.56 kB / 445.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.1121, allocations: 25.72 kB / 445.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.715e-05/0.1122, allocations: 334.8 kB / 446.1 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1123, allocations: 35.97 kB / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1124, allocations: 91.69 kB / 446.3 MB, free: 8.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.1127, allocations: 143.5 kB / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1127, allocations: 0 / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002917/0.113, allocations: 153.3 kB / 446.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.113, allocations: 12.23 kB / 446.6 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.113, allocations: 4 kB / 446.6 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.759e-06/0.1131, allocations: 4 kB / 446.6 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.1132, allocations: 43.92 kB / 446.6 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.1132, allocations: 3.984 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.215e-05/0.1133, allocations: 19.84 kB / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.1134, allocations: 8 kB / 446.6 MB, free: 7.754 MB / 382.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 7.967e-05/0.1134, allocations: 133.6 kB / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.1135, allocations: 11.91 kB / 446.8 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002849/0.1138, allocations: 122 kB / 446.9 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1138, allocations: 4 kB / 446.9 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1138, allocations: 0 / 446.9 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1138, allocations: 0 / 446.9 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.114, allocations: 205.5 kB / 447.1 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.114, allocations: 3.938 kB / 447.1 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.1141, allocations: 27.98 kB / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1141, allocations: 0 / 447.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1141, allocations: 3.984 kB / 447.1 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1142, allocations: 4 kB / 447.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1142, allocations: 0 / 447.1 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.1144, allocations: 211.8 kB / 447.3 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1145, allocations: 85.02 kB / 447.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.1145, allocations: 4 kB / 447.4 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.309e-05/0.1146, allocations: 7.984 kB / 447.4 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.1146, allocations: 4 kB / 447.4 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.1147, allocations: 7.922 kB / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.605e-05/0.1147, allocations: 103.2 kB / 447.6 MB, free: 6.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1147, allocations: 0 / 447.6 MB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.115, allocations: 20 kB / 447.6 MB, free: 6.719 MB / 382.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.0004997/0.1155, allocations: 0.7592 MB / 448.3 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002755/0.1157, allocations: 99.81 kB / 448.4 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1158, allocations: 0 / 448.4 MB, free: 5.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.1159, allocations: 43.95 kB / 448.5 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.1161, allocations: 11.8 kB / 448.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1177, allocations: 1.706 MB / 450.2 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.1181, allocations: 0.716 MB / 450.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.302e-05/0.1182, allocations: 28.39 kB / 450.9 MB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.463e-05/0.1182, allocations: 31.42 kB / 451 MB, free: 3.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1182, allocations: 0 / 451 MB, free: 3.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01145/0.1297, allocations: 2.069 MB / 453 MB, free: 1.086 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.1299, allocations: 252.3 kB / 453.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.789, allocations: 4.062 kB / 453.3 MB, free: 0.8281 MB / 382.1 MB (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 --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) 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches