Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.001222/0.001222, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, 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.206/0.206, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 78.14 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 62.43 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003574/0.1116, allocations: 1.842 MB / 482 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004217/0.1158, allocations: 2.948 MB / 484.9 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.116, allocations: 4 kB / 484.9 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.1163, allocations: 51.67 kB / 485 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003408/0.1167, allocations: 71.66 kB / 485.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.1186, allocations: 0.7349 MB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00032/0.1189, allocations: 246.6 kB / 486 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.902e-05/0.119, allocations: 24.39 kB / 486.1 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.1193, allocations: 111.4 kB / 486.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.1195, allocations: 123.4 kB / 486.3 MB, free: 15 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.1195, allocations: 8 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/0.1213, allocations: 1.224 MB / 487.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.1214, allocations: 71.62 kB / 487.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.1216, allocations: 115.2 kB / 487.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.1232, allocations: 0.9235 MB / 488.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1232, allocations: 4 kB / 488.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.1232, allocations: 3.984 kB / 488.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1232, allocations: 0 / 488.6 MB, free: 12.64 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001073/0.1243, allocations: 0.6707 MB / 489.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1243, allocations: 8.031 kB / 489.3 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.552e-05/0.1244, allocations: 74.72 kB / 489.4 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.1245, allocations: 28.56 kB / 489.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.1247, allocations: 243.1 kB / 489.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1248, allocations: 24.55 kB / 489.7 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.1248, allocations: 24 kB / 489.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006912/0.1255, allocations: 471.2 kB / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1255, allocations: 0 / 490.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.1256, allocations: 15.98 kB / 490.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/0.1256, allocations: 44.95 kB / 490.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/0.1264, allocations: 0.5504 MB / 490.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1282, allocations: 1.315 MB / 492.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004939/0.1287, allocations: 277 kB / 492.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.1289, allocations: 96.78 kB / 492.5 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.129, allocations: 11.94 kB / 492.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.129, allocations: 42.5 kB / 492.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.442e-06/0.129, allocations: 0 / 492.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007005/0.1297, allocations: 329.2 kB / 492.8 MB, free: 8.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1298, allocations: 59.41 kB / 492.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1299, allocations: 136.5 kB / 493 MB, free: 7.992 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1299, allocations: 37.64 kB / 493.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.13, allocations: 208.1 kB / 493.3 MB, free: 7.742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.1301, allocations: 78.77 kB / 493.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-05/0.1302, allocations: 69.69 kB / 493.4 MB, free: 7.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.1303, allocations: 322.8 kB / 493.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.1305, allocations: 91.78 kB / 493.8 MB, free: 7.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1307, allocations: 174.1 kB / 494 MB, free: 6.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.1312, allocations: 294 kB / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1312, allocations: 0 / 494.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005574/0.1318, allocations: 322.2 kB / 494.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1318, allocations: 12.03 kB / 494.6 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.1318, allocations: 4 kB / 494.6 MB, free: 6.309 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1318, allocations: 4 kB / 494.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004513/0.1323, allocations: 115.9 kB / 494.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.1334, allocations: 2.367 MB / 497.1 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/0.1335, allocations: 35.61 kB / 497.1 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.1336, allocations: 16.28 kB / 497.1 MB, free: 3.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001585/0.1337, allocations: 177.7 kB / 497.3 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.442e-05/0.1338, allocations: 11.91 kB / 497.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007156/0.1345, allocations: 362.3 kB / 497.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.1345, allocations: 4 kB / 497.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1345, allocations: 0 / 497.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.1346, allocations: 3.938 kB / 497.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.1349, allocations: 349.3 kB / 498 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1349, allocations: 4 kB / 498 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.1353, allocations: 107.9 kB / 498.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1353, allocations: 0 / 498.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.1354, allocations: 8 kB / 498.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009985/0.1364, allocations: 2.363 MB / 0.4888 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1364, allocations: 0 / 0.4888 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.1369, allocations: 379.4 kB / 0.4891 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.137, allocations: 92.89 kB / 0.4892 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/0.137, allocations: 4 kB / 0.4892 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.1372, allocations: 15.98 kB / 0.4892 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.1372, allocations: 19.97 kB / 0.4893 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1373, allocations: 12 kB / 0.4893 GB, free: 15.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.187e-05/0.1373, allocations: 99.27 kB / 0.4894 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1373, allocations: 4 kB / 0.4894 GB, free: 15.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006421/0.138, allocations: 247.4 kB / 0.4896 GB, free: 15.26 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001393/0.1394, allocations: 1.161 MB / 0.4907 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007716/0.1402, allocations: 348.5 kB / 0.4911 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1402, allocations: 4 kB / 0.4911 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.1406, allocations: 183.7 kB / 0.4912 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.1409, allocations: 24.83 kB / 0.4913 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.1439, allocations: 2.557 MB / 0.4938 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1443, allocations: 0.8026 MB / 0.4946 GB, free: 10 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.1446, allocations: 101.7 kB / 0.4946 GB, free: 9.902 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1447, allocations: 91.41 kB / 0.4947 GB, free: 9.812 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1447, allocations: 3.938 kB / 0.4947 GB, free: 9.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.1713, allocations: 8.769 MB / 0.5033 GB, free: 1.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/10.96, allocations: 7.547 kB / 0.5033 GB, free: 1.23 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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_overall_DPMFLOW/dp_overall_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches