Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 107.7 kB / 17.21 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.001259, allocations: 194 kB / 18.12 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.17 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.84 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.09864, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003161/0.1018, allocations: 1.887 MB / 470.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1057, allocations: 2.898 MB / 473.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.1058, allocations: 0 / 473.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1061, allocations: 43.77 kB / 473.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.1064, allocations: 75.62 kB / 473.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.1076, allocations: 0.6331 MB / 474.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1079, allocations: 306.7 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/0.1079, allocations: 36.38 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1081, allocations: 91.45 kB / 474.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.1083, allocations: 127.4 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.1083, allocations: 8 kB / 474.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.1097, allocations: 1.197 MB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.1098, allocations: 67.69 kB / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.1099, allocations: 115.2 kB / 476.1 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.111, allocations: 0.9157 MB / 477 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.111, allocations: 0 / 477 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.111, allocations: 0 / 477 MB, free: 6.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.111, allocations: 0 / 477 MB, free: 6.316 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009014/0.1119, allocations: 0.6591 MB / 477.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.112, allocations: 16.02 kB / 477.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.892e-05/0.1121, allocations: 70.72 kB / 477.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.1121, allocations: 36.56 kB / 477.8 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1124, allocations: 239.1 kB / 478 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.1124, allocations: 24.48 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.1124, allocations: 24 kB / 478.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006489/0.1131, allocations: 467.3 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1131, allocations: 0 / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.1131, allocations: 15.98 kB / 478.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.378e-05/0.1132, allocations: 40.97 kB / 478.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.114, allocations: 0.5543 MB / 479.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.1156, allocations: 1.319 MB / 480.5 MB, free: 2.648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.1161, allocations: 270.5 kB / 480.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.1163, allocations: 100.8 kB / 480.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.1163, allocations: 15.86 kB / 480.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.1163, allocations: 38.56 kB / 480.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.1163, allocations: 0 / 480.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.000697/0.117, allocations: 321.9 kB / 481.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1171, allocations: 63.41 kB / 481.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.803e-05/0.1172, allocations: 148.6 kB / 481.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1172, allocations: 29.7 kB / 481.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.1173, allocations: 200 kB / 481.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.1174, allocations: 86.73 kB / 481.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.1175, allocations: 73.55 kB / 481.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.1176, allocations: 322.8 kB / 482.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.1178, allocations: 87.92 kB / 482.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.118, allocations: 174.2 kB / 482.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.1184, allocations: 294.1 kB / 482.7 MB, free: 328 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1184, allocations: 0 / 482.7 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006192/0.1191, allocations: 329.1 kB / 483 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1191, allocations: 4 kB / 483 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1191, allocations: 4 kB / 483 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1191, allocations: 4 kB / 483 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004592/0.1196, allocations: 119.8 kB / 483.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/0.1207, allocations: 2.364 MB / 485.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.1209, allocations: 43.67 kB / 485.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.121, allocations: 16 kB / 485.5 MB, free: 13.35 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.000158/0.1211, allocations: 173.7 kB / 485.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.619e-05/0.1212, allocations: 11.91 kB / 485.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007654/0.122, allocations: 362.3 kB / 486.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.122, allocations: 0 / 486.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.122, allocations: 4 kB / 486.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.122, allocations: 7.922 kB / 486.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.1224, allocations: 337.3 kB / 486.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1224, allocations: 0 / 486.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/0.1228, allocations: 107.9 kB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.1228, allocations: 4 kB / 486.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.1229, allocations: 8 kB / 486.5 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.124, allocations: 2.364 MB / 488.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1241, allocations: 3.984 kB / 488.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.1246, allocations: 376.6 kB / 489.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1247, allocations: 88.95 kB / 489.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.1247, allocations: 11.98 kB / 489.4 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1249, allocations: 12.09 kB / 489.4 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.125, allocations: 23.97 kB / 489.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.125, allocations: 12 kB / 489.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.591e-05/0.1251, allocations: 103.2 kB / 489.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1251, allocations: 0 / 489.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007275/0.1258, allocations: 243.4 kB / 489.7 MB, free: 8.945 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 (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.001258/0.1271, allocations: 1.142 MB / 490.9 MB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006905/0.1278, allocations: 303.8 kB / 491.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1278, allocations: 3.938 kB / 491.2 MB, free: 7.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.1282, allocations: 171.8 kB / 491.3 MB, free: 7.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1286, allocations: 12 kB / 491.4 MB, free: 7.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.1315, allocations: 2.706 MB / 494.1 MB, free: 4.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1318, allocations: 0.7987 MB / 494.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003013/0.1321, allocations: 97.73 kB / 495 MB, free: 3.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.1322, allocations: 95.39 kB / 495.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1323, allocations: 0 / 495.1 MB, free: 3.434 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01993/0.1522, allocations: 8.374 MB / 0.4916 GB, free: 11.28 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002804/0.1525, allocations: 293.4 kB / 0.4919 GB, free: 10.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/2.073, allocations: 3.266 kB / 0.4919 GB, free: 10.89 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches