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.001394/0.001394, 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.00198/0.00198, 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.419/1.419, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2205/0.2205, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 74.78 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1099, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003754/0.1137, allocations: 1.799 MB / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1151, allocations: 0.8374 MB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.1153, allocations: 0 / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.1156, allocations: 43.75 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.1159, allocations: 71.59 kB / 482.9 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1162, allocations: 67.73 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.1164, allocations: 139.4 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.1165, allocations: 4 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1167, allocations: 75.73 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.1169, allocations: 79.67 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.1169, allocations: 4 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.1171, allocations: 75.88 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1171, allocations: 35.89 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.1172, allocations: 35.81 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1175, allocations: 143.7 kB / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1175, allocations: 0 / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1175, allocations: 0 / 483.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1175, allocations: 0 / 483.6 MB, free: 1.73 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.0005449/0.118, allocations: 407.2 kB / 483.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1181, allocations: 12.03 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.1181, allocations: 42.73 kB / 484 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.1185, allocations: 36.81 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.1187, allocations: 188.2 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1187, allocations: 16.36 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1187, allocations: 19.88 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.1191, allocations: 164.1 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1191, allocations: 3.938 kB / 484.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1191, allocations: 8 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.1192, allocations: 15.98 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003257/0.1195, allocations: 131.8 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00089/0.1204, allocations: 0.6444 MB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000327/0.1208, allocations: 110.6 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1209, allocations: 36.98 kB / 485.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1209, allocations: 7.984 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.1209, allocations: 34.56 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.121, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004295/0.1214, allocations: 137.7 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.1214, allocations: 55.41 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1215, allocations: 126 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.1216, allocations: 25.7 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.1216, allocations: 123.9 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.1217, allocations: 23.64 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.1217, allocations: 33.62 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1218, allocations: 322.8 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.122, allocations: 39.97 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.1221, allocations: 90.64 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1224, allocations: 155.6 kB / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1224, allocations: 0 / 486.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003239/0.1228, allocations: 153.4 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1228, allocations: 8 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.1228, allocations: 3.938 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1228, allocations: 4.25 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.123, allocations: 43.97 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.123, allocations: 0 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.1231, allocations: 23.83 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.1232, allocations: 8 kB / 486.8 MB, free: 14.21 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.8e-05/0.1233, allocations: 133.6 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.1233, allocations: 7.906 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.1236, allocations: 129.9 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1236, allocations: 0 / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1236, allocations: 4 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1236, allocations: 0 / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.1239, allocations: 201.5 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1239, allocations: 0 / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.124, allocations: 23.98 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.124, allocations: 4 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.124, allocations: 3.984 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.124, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1241, allocations: 4 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1244, allocations: 207.3 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.1244, allocations: 88.95 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1245, allocations: 15.92 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.864e-05/0.1246, allocations: 7.938 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1246, allocations: 7.984 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1246, allocations: 0 / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.264e-05/0.1247, allocations: 98.64 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1247, allocations: 4 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1249, allocations: 19.91 kB / 487.7 MB, free: 13.17 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.0005996/0.1255, allocations: 0.7436 MB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003112/0.1259, allocations: 112.2 kB / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1259, allocations: 0 / 488.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.126, allocations: 40.38 kB / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.1262, allocations: 8 kB / 488.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1281, allocations: 1.684 MB / 490.3 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1284, allocations: 0.7118 MB / 491 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1285, allocations: 28.53 kB / 491 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.1286, allocations: 31.42 kB / 491 MB, free: 9.637 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1286, allocations: 0 / 491 MB, free: 9.637 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.1482, allocations: 2.25 MB / 493.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/7.77, allocations: 9.031 kB / 493.3 MB, free: 7.539 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 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.csv","/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