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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.001193/0.001193, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.401/1.401, allocations: 205.1 MB / 222.6 MB, free: 5.008 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.3343/0.3343, allocations: 43.49 MB / 313.5 MB, free: 8.602 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.001322/0.001322, allocations: 59.91 kB / 382.2 MB, free: 8.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1108, allocations: 57.78 MB / 439.9 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002641/0.1135, allocations: 1.711 MB / 441.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1148, allocations: 0.9243 MB / 442.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.1149, allocations: 4 kB / 442.6 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002106/0.1151, allocations: 27.89 kB / 442.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.1152, allocations: 55.67 kB / 442.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1156, allocations: 111.7 kB / 442.8 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1157, allocations: 187.3 kB / 443 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1158, allocations: 29.3 kB / 443 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.1159, allocations: 47.83 kB / 443 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.116, allocations: 75.62 kB / 443.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.116, allocations: 4 kB / 443.1 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.1163, allocations: 211.6 kB / 443.3 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.1164, allocations: 35.84 kB / 443.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.1164, allocations: 63.61 kB / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1167, allocations: 239.2 kB / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1168, allocations: 0 / 443.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.1168, allocations: 4 kB / 443.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1168, allocations: 0 / 443.6 MB, free: 11.29 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0005528/0.1173, allocations: 470.8 kB / 444.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1174, allocations: 8.031 kB / 444.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.1174, allocations: 58.73 kB / 444.2 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.1186, allocations: 116.5 kB / 444.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.1188, allocations: 216.2 kB / 444.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1188, allocations: 12.38 kB / 444.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.1188, allocations: 12.38 kB / 444.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006225/0.1195, allocations: 329.3 kB / 444.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.1195, allocations: 0 / 444.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.1195, allocations: 4 kB / 444.8 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/0.1195, allocations: 23.98 kB / 444.9 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007272/0.1203, allocations: 315.7 kB / 445.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.1216, allocations: 0.8375 MB / 446 MB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006762/0.1223, allocations: 226.2 kB / 446.2 MB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.1226, allocations: 84.81 kB / 446.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1226, allocations: 0 / 446.3 MB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1226, allocations: 30.56 kB / 446.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1227, allocations: 0 / 446.4 MB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.001002/0.1237, allocations: 301.2 kB / 446.6 MB, free: 8.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1237, allocations: 51.41 kB / 446.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1239, allocations: 191.3 kB / 446.9 MB, free: 7.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1239, allocations: 25.7 kB / 446.9 MB, free: 7.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.065e-05/0.124, allocations: 139.4 kB / 447 MB, free: 7.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.124, allocations: 35.48 kB / 447.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.1241, allocations: 57.58 kB / 447.1 MB, free: 7.551 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1243, allocations: 322.8 kB / 447.4 MB, free: 7.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.1246, allocations: 87.89 kB / 447.5 MB, free: 7.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1249, allocations: 138.7 kB / 447.7 MB, free: 6.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005863/0.1255, allocations: 222.6 kB / 447.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1255, allocations: 0 / 447.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007021/0.1262, allocations: 265.6 kB / 448.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1262, allocations: 8 kB / 448.2 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1262, allocations: 4.156 kB / 448.2 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1263, allocations: 8.094 kB / 448.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.1267, allocations: 83.8 kB / 448.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008979/0.1276, allocations: 1.785 MB / 450 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.1278, allocations: 31.77 kB / 450.1 MB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.1279, allocations: 11.98 kB / 450.1 MB, free: 4.473 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 (17): * Single equations (assignments): 14 * 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.0001403/0.128, allocations: 145.7 kB / 450.2 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.1281, allocations: 11.84 kB / 450.2 MB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007653/0.1288, allocations: 270.8 kB / 450.5 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1289, allocations: 3.938 kB / 450.5 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1289, allocations: 4 kB / 450.5 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1289, allocations: 0 / 450.5 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.1292, allocations: 261.4 kB / 450.8 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1292, allocations: 4 kB / 450.8 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.1295, allocations: 67.88 kB / 450.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1295, allocations: 3.984 kB / 450.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1296, allocations: 15.97 kB / 450.8 MB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007361/0.1303, allocations: 1.785 MB / 452.6 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1303, allocations: 0 / 452.6 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.131, allocations: 315.1 kB / 452.9 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.1311, allocations: 93.11 kB / 453 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.1311, allocations: 4 kB / 453 MB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1313, allocations: 7.984 kB / 453 MB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/0.1314, allocations: 15.97 kB / 453.1 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.1314, allocations: 8.172 kB / 453.1 MB, free: 1.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.1315, allocations: 140.9 kB / 453.2 MB, free: 1.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1315, allocations: 3.938 kB / 453.2 MB, free: 1.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003493/0.1319, allocations: 59.92 kB / 453.3 MB, free: 1.109 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 (10): * Single equations (assignments): 7 * 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.001057/0.1329, allocations: 0.8838 MB / 454.2 MB, free: 204 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1567/0.2897, allocations: 223.3 kB / 454.4 MB, free: 50.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.2897, allocations: 1.5 kB / 454.4 MB, free: 50.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.2902, allocations: 135.4 kB / 454.5 MB, free: 50.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2906, allocations: 18.97 kB / 454.5 MB, free: 50.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.2934, allocations: 2.376 MB / 456.9 MB, free: 48.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2936, allocations: 0.7433 MB / 457.6 MB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.2938, allocations: 63.56 kB / 457.7 MB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2939, allocations: 53.14 kB / 457.8 MB, free: 48.1 MB / 382.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2939, allocations: 0 / 457.8 MB, free: 48.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.308, allocations: 4.524 MB / 462.3 MB, free: 47.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.3082, allocations: 290.2 kB / 462.6 MB, free: 47.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.056, allocations: 3.906 kB / 462.6 MB, free: 47.21 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches