Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001067/0.001067, allocations: 105.9 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.001154/0.001153, 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.352/1.352, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 76.84 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1102, allocations: 62.46 MB / 480.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002857/0.1131, allocations: 1.683 MB / 481.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1144, allocations: 0.8296 MB / 482.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.1144, allocations: 4 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1146, allocations: 35.81 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.1148, allocations: 51.73 kB / 482.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1151, allocations: 95.64 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.1153, allocations: 159.2 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1153, allocations: 9.125 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1155, allocations: 75.7 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1156, allocations: 67.69 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1156, allocations: 8 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002785/0.1159, allocations: 159.8 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.116, allocations: 47.77 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.116, allocations: 51.69 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.1163, allocations: 211.5 kB / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1163, allocations: 0 / 483.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1164, allocations: 3.938 kB / 483.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1164, allocations: 3.938 kB / 483.6 MB, free: 1.648 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000569/0.1169, allocations: 463 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.117, allocations: 12.03 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.117, allocations: 46.73 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004818/0.1175, allocations: 64.69 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1178, allocations: 216.1 kB / 484.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1178, allocations: 8.375 kB / 484.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.1179, allocations: 15.94 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.1183, allocations: 229.5 kB / 484.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1183, allocations: 4 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1183, allocations: 7.984 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.1184, allocations: 12 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.1188, allocations: 235.5 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1199, allocations: 0.7208 MB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.1201, allocations: 86.52 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1202, allocations: 44.81 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1202, allocations: 8.141 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1203, allocations: 42.5 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.1203, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004867/0.1208, allocations: 169.4 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1208, allocations: 51.41 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.121, allocations: 191.2 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.121, allocations: 29.64 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.1211, allocations: 139.6 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.296e-05/0.1211, allocations: 23.66 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.1212, allocations: 33.7 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1213, allocations: 322.8 kB / 486.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1214, allocations: 47.95 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.1216, allocations: 102.8 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1219, allocations: 159 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1219, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003762/0.1223, allocations: 189.1 kB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1223, allocations: 14.72 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1224, allocations: 0 / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1224, allocations: 4 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/0.1232, allocations: 123.8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001138/0.1244, allocations: 1.809 MB / 489.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.1245, allocations: 35.8 kB / 489.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.1246, allocations: 8 kB / 489.2 MB, free: 11.65 MB / 366.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.0001144/0.1247, allocations: 137.8 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.1247, allocations: 7.906 kB / 489.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.1252, allocations: 186.8 kB / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1252, allocations: 0 / 489.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1252, allocations: 4 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1252, allocations: 3.984 kB / 489.6 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.1254, allocations: 225.5 kB / 489.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1254, allocations: 8 kB / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/0.1261, allocations: 103.9 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1262, allocations: 0 / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1262, allocations: 4 kB / 489.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009778/0.1272, allocations: 1.785 MB / 491.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1272, allocations: 0 / 491.7 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1275, allocations: 243.6 kB / 491.9 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1276, allocations: 96.8 kB / 492 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.1276, allocations: 3.984 kB / 492 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.1278, allocations: 12 kB / 492 MB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.1278, allocations: 7.984 kB / 492 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1278, allocations: 3.938 kB / 492 MB, free: 8.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.128, allocations: 139.9 kB / 492.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.128, allocations: 4 kB / 492.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003167/0.1283, allocations: 47.89 kB / 492.2 MB, free: 8.48 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 (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.0007589/0.1291, allocations: 0.7747 MB / 493 MB, free: 7.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001191/0.1303, allocations: 240 kB / 493.2 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1303, allocations: 0 / 493.2 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000624/0.1309, allocations: 127.8 kB / 493.4 MB, free: 7.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1313, allocations: 40.41 kB / 493.4 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.1338, allocations: 2.095 MB / 495.5 MB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1342, allocations: 0.7436 MB / 496.2 MB, free: 4.297 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.1343, allocations: 49.27 kB / 496.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.588e-05/0.1344, allocations: 43.42 kB / 496.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1344, allocations: 0 / 496.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.1572, allocations: 5.007 MB / 0.4896 GB, free: 15.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.78, allocations: 13.69 kB / 0.4896 GB, free: 15.42 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_pressureLossCoefficient_DPMFLOW/dp_pressureLossCoefficient_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches