Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001783/0.001783, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 246.3 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.11 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 75.67 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 62.45 MB / 479.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003738/0.1159, allocations: 1.731 MB / 481.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1178, allocations: 0.9193 MB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.669e-05/0.1179, allocations: 0 / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.1182, allocations: 27.83 kB / 482.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1184, allocations: 51.8 kB / 482.1 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.1188, allocations: 111.1 kB / 482.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1191, allocations: 191.2 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.1191, allocations: 9.453 kB / 482.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.32e-05/0.1192, allocations: 55.7 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.1194, allocations: 67.75 kB / 482.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1194, allocations: 4 kB / 482.6 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.1198, allocations: 211.6 kB / 482.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.1199, allocations: 47.78 kB / 482.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.157e-05/0.1199, allocations: 55.61 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.1203, allocations: 239.5 kB / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1203, allocations: 0 / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1203, allocations: 0 / 483.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.1204, allocations: 0 / 483.1 MB, free: 1.887 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007206/0.1211, allocations: 470.9 kB / 483.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.1211, allocations: 12.86 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.115e-05/0.1212, allocations: 54.73 kB / 483.6 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.1226, allocations: 116.5 kB / 483.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1229, allocations: 231.9 kB / 484 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1229, allocations: 4.375 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.1229, allocations: 20.34 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007421/0.1237, allocations: 314.6 kB / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.1237, allocations: 0 / 484.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.1237, allocations: 11.98 kB / 484.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.1238, allocations: 19.98 kB / 484.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.1247, allocations: 323.7 kB / 484.7 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1262, allocations: 0.822 MB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.1269, allocations: 222.3 kB / 485.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.1272, allocations: 88.81 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1273, allocations: 4 kB / 485.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.1273, allocations: 34.55 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.863e-06/0.1273, allocations: 4 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001083/0.1284, allocations: 297.3 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.1285, allocations: 51.41 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.1287, allocations: 187.2 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1287, allocations: 33.64 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.1288, allocations: 135.5 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1288, allocations: 47.38 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.893e-05/0.1289, allocations: 57.67 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.129, allocations: 322.8 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.1293, allocations: 83.89 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.1297, allocations: 134.8 kB / 487.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.1303, allocations: 230.9 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1303, allocations: 0 / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007805/0.1311, allocations: 269.1 kB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1312, allocations: 6.656 kB / 487.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1312, allocations: 8.156 kB / 487.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1312, allocations: 4 kB / 487.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.1317, allocations: 83.86 kB / 487.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.1327, allocations: 1.785 MB / 489.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000241/0.133, allocations: 23.83 kB / 489.5 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.133, allocations: 15.98 kB / 489.6 MB, free: 11.05 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 (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.0001477/0.1332, allocations: 142.3 kB / 489.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.1332, allocations: 19.75 kB / 489.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007938/0.134, allocations: 262.9 kB / 490 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.134, allocations: 4 kB / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1341, allocations: 0 / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1341, allocations: 0 / 490 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.1344, allocations: 253.5 kB / 490.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.1344, allocations: 4 kB / 490.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.1348, allocations: 71.88 kB / 490.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1348, allocations: 96 / 490.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.1348, allocations: 15.91 kB / 490.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008783/0.1357, allocations: 1.778 MB / 492.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1357, allocations: 0 / 492.1 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.1365, allocations: 319.1 kB / 492.4 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.1365, allocations: 93.19 kB / 492.5 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.1366, allocations: 4 kB / 492.5 MB, free: 7.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.1368, allocations: 11.92 kB / 492.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.796e-05/0.1369, allocations: 15.97 kB / 492.5 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/0.1369, allocations: 11.98 kB / 492.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001185/0.137, allocations: 139.9 kB / 492.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.137, allocations: 0 / 492.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1374, allocations: 59.84 kB / 492.7 MB, free: 7.703 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 (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.001135/0.1385, allocations: 0.8761 MB / 493.6 MB, free: 6.801 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.1394, allocations: 231.6 kB / 493.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1394, allocations: 384 / 493.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.1399, allocations: 135.8 kB / 494 MB, free: 6.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.1402, allocations: 8.438 kB / 494 MB, free: 6.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.1437, allocations: 2.395 MB / 496.4 MB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.144, allocations: 0.7397 MB / 497.1 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002364/0.1443, allocations: 69.02 kB / 497.2 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.1444, allocations: 51.39 kB / 497.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1444, allocations: 0 / 497.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.1605, allocations: 4.516 MB / 0.49 GB, free: 14.74 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/0.1608, allocations: 290.7 kB / 0.4903 GB, free: 14.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.069, allocations: 0 / 0.4903 GB, free: 14.36 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW/dp_volumeFlowRate_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches