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.001071/0.001071, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001349/0.001349, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.1 MB / 344.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 77.59 kB / 417.7 MB, free: 19.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 62.43 MB / 480.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.00336/0.1155, allocations: 1.815 MB / 482 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1171, allocations: 0.8296 MB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1172, allocations: 4 kB / 482.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.1175, allocations: 35.81 kB / 482.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.1179, allocations: 79.58 kB / 482.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002265/0.1181, allocations: 63.73 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1183, allocations: 135.4 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.1183, allocations: 12 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1185, allocations: 71.69 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1187, allocations: 79.72 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.1187, allocations: 4 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.1189, allocations: 75.89 kB / 483.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.119, allocations: 35.89 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.259e-05/0.119, allocations: 35.73 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.1193, allocations: 135.8 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1193, allocations: 0 / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1193, allocations: 4 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1193, allocations: 0 / 483.5 MB, free: 1.711 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.0005228/0.1198, allocations: 411.1 kB / 483.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1199, allocations: 8.031 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.249e-05/0.1199, allocations: 54.67 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.1203, allocations: 32.81 kB / 484 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.1205, allocations: 184.2 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1205, allocations: 8.312 kB / 484.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.1205, allocations: 19.92 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.1209, allocations: 176.1 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.1209, allocations: 4 kB / 484.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.121, allocations: 8 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.121, allocations: 11.97 kB / 484.4 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.1213, allocations: 139.7 kB / 484.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008251/0.1222, allocations: 0.6406 MB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.1225, allocations: 102.7 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1226, allocations: 44.81 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.1227, allocations: 0 / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.1227, allocations: 34.56 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1227, allocations: 0 / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004261/0.1231, allocations: 141.6 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.1232, allocations: 51.41 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.1233, allocations: 137.3 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.1233, allocations: 25.7 kB / 485.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.054e-05/0.1234, allocations: 115.9 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.1234, allocations: 23.66 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.843e-05/0.1234, allocations: 37.61 kB / 485.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.1235, allocations: 326.8 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.1237, allocations: 35.97 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.1238, allocations: 98.02 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1241, allocations: 143.5 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1241, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003254/0.1244, allocations: 153.4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1244, allocations: 8 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1245, allocations: 4.25 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1245, allocations: 7.984 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.1247, allocations: 35.98 kB / 486.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1247, allocations: 8.328 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1248, allocations: 19.83 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.1248, allocations: 7.938 kB / 486.8 MB, free: 14.19 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 8.668e-05/0.1249, allocations: 133.8 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1249, allocations: 11.91 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1253, allocations: 129.9 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1253, allocations: 0 / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1253, allocations: 0 / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1253, allocations: 3.938 kB / 487 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1255, allocations: 197.6 kB / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1255, allocations: 0 / 487.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.1256, allocations: 39.97 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1257, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1257, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1257, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1257, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.126, allocations: 215.3 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.126, allocations: 88.95 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.126, allocations: 4 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.1262, allocations: 7.984 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1262, allocations: 4 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1262, allocations: 4 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.885e-05/0.1263, allocations: 91.27 kB / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1263, allocations: 0 / 487.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1265, allocations: 27.91 kB / 487.7 MB, free: 13.15 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.0005581/0.1271, allocations: 0.7475 MB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1274, allocations: 99.88 kB / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1274, allocations: 0 / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.1275, allocations: 51.89 kB / 488.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.1278, allocations: 7.375 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1295, allocations: 1.672 MB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1297, allocations: 0.7157 MB / 491 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.447e-05/0.1298, allocations: 28.52 kB / 491 MB, free: 9.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.1299, allocations: 31.36 kB / 491 MB, free: 9.625 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1299, allocations: 4 kB / 491 MB, free: 9.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.1473, allocations: 2.257 MB / 493.3 MB, free: 7.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.266, allocations: 11.45 kB / 493.3 MB, free: 7.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