Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.001234/0.001234, allocations: 100.2 kB / 15.98 MB, free: 6.352 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.001203/0.001203, allocations: 197.3 kB / 16.91 MB, free: 6.191 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.271/1.271, allocations: 205.1 MB / 222.8 MB, free: 4.715 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.3114/0.3114, allocations: 43.5 MB / 313.6 MB, free: 8.281 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.001462/0.001462, allocations: 67.91 kB / 382.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1227, allocations: 57.79 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003222/0.1259, allocations: 1.723 MB / 441.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1273, allocations: 0.8384 MB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.1274, allocations: 3.938 kB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002217/0.1276, allocations: 31.89 kB / 442.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001657/0.1278, allocations: 51.73 kB / 442.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.1281, allocations: 83.72 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.1283, allocations: 151.2 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.207e-05/0.1284, allocations: 21.38 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.1285, allocations: 59.78 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1287, allocations: 79.61 kB / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1287, allocations: 4 kB / 443.2 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002665/0.129, allocations: 159.8 kB / 443.3 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.1291, allocations: 43.83 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.1292, allocations: 59.62 kB / 443.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.1295, allocations: 207.3 kB / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1295, allocations: 0 / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1295, allocations: 0 / 443.6 MB, free: 10.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1295, allocations: 0 / 443.6 MB, free: 10.86 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006453/0.1302, allocations: 459 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1302, allocations: 15.89 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.1303, allocations: 50.72 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005201/0.1308, allocations: 72.69 kB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.1311, allocations: 216.1 kB / 444.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1311, allocations: 8.375 kB / 444.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1311, allocations: 19.88 kB / 444.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.1316, allocations: 237.5 kB / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1316, allocations: 0 / 444.7 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.1316, allocations: 4 kB / 444.7 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.1317, allocations: 23.72 kB / 444.7 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.1321, allocations: 235.7 kB / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.1332, allocations: 0.7247 MB / 445.7 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.1334, allocations: 86.52 kB / 445.8 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1335, allocations: 44.97 kB / 445.8 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1335, allocations: 11.98 kB / 445.8 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1336, allocations: 34.5 kB / 445.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1336, allocations: 0 / 445.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004736/0.1341, allocations: 173.6 kB / 446 MB, free: 8.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.1341, allocations: 51.41 kB / 446.1 MB, free: 8.199 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1343, allocations: 187.2 kB / 446.2 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1343, allocations: 29.7 kB / 446.3 MB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.1345, allocations: 135.5 kB / 446.4 MB, free: 7.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1345, allocations: 27.64 kB / 446.4 MB, free: 7.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/0.1345, allocations: 33.7 kB / 446.5 MB, free: 7.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1347, allocations: 326.8 kB / 446.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1348, allocations: 51.95 kB / 446.8 MB, free: 7.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.135, allocations: 94.81 kB / 446.9 MB, free: 7.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.1353, allocations: 162.7 kB / 447.1 MB, free: 7.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1353, allocations: 4 kB / 447.1 MB, free: 7.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003547/0.1357, allocations: 181.2 kB / 447.3 MB, free: 6.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1357, allocations: 8 kB / 447.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1357, allocations: 0 / 447.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1357, allocations: 4 kB / 447.3 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008893/0.1366, allocations: 128.1 kB / 447.4 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.138, allocations: 1.813 MB / 449.2 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1382, allocations: 35.7 kB / 449.3 MB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.1382, allocations: 4 kB / 449.3 MB, free: 4.844 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.1384, allocations: 149.9 kB / 449.4 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1385, allocations: 7.906 kB / 449.4 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.1389, allocations: 178.8 kB / 449.6 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.139, allocations: 0 / 449.6 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.139, allocations: 4 kB / 449.6 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.139, allocations: 3.984 kB / 449.6 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.1393, allocations: 233.4 kB / 449.8 MB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1393, allocations: 4 kB / 449.8 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.14, allocations: 111.9 kB / 449.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.14, allocations: 0 / 449.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.14, allocations: 0 / 449.9 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.1411, allocations: 1.785 MB / 451.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1411, allocations: 0 / 451.7 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.1414, allocations: 243.2 kB / 452 MB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.67e-05/0.1415, allocations: 89 kB / 452 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1415, allocations: 8.094 kB / 452.1 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.1417, allocations: 8 kB / 452.1 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1417, allocations: 7.984 kB / 452.1 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1417, allocations: 0 / 452.1 MB, free: 1.863 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1418, allocations: 148.8 kB / 452.2 MB, free: 1.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1418, allocations: 0 / 452.2 MB, free: 1.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000286/0.1421, allocations: 47.84 kB / 452.3 MB, free: 1.672 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006439/0.1428, allocations: 0.7865 MB / 453 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1439, allocations: 243.8 kB / 453.3 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1439, allocations: 4 kB / 453.3 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.1446, allocations: 124 kB / 453.4 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.145, allocations: 39.91 kB / 453.4 MB, free: 468 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1773/0.3224, allocations: 2.125 MB / 455.6 MB, free: 48.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.3226, allocations: 0.7386 MB / 456.3 MB, free: 47.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.3228, allocations: 33.81 kB / 456.3 MB, free: 47.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.3229, allocations: 40.84 kB / 456.4 MB, free: 47.94 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3229, allocations: 0 / 456.4 MB, free: 47.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2462/0.569, allocations: 4.884 MB / 461.3 MB, free: 47.47 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.5693, allocations: 300.8 kB / 461.6 MB, free: 47.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/2.894, allocations: 0 / 461.6 MB, free: 47.09 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches