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.001089/0.001089, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001108/0.001108, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.1 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 81.11 kB / 417 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1245, allocations: 62.44 MB / 479.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.003743/0.1283, allocations: 1.746 MB / 481.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1299, allocations: 0.8376 MB / 482 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.13, allocations: 0 / 482 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.1304, allocations: 39.81 kB / 482 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.1306, allocations: 51.73 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.1309, allocations: 75.78 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002542/0.1312, allocations: 219.1 kB / 482.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.05e-05/0.1312, allocations: 17.11 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.1314, allocations: 67.7 kB / 482.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1316, allocations: 71.67 kB / 482.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.1316, allocations: 4 kB / 482.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.1319, allocations: 163.8 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.132, allocations: 31.84 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.122e-05/0.1321, allocations: 67.59 kB / 482.8 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003376/0.1324, allocations: 203.6 kB / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1325, allocations: 0 / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1325, allocations: 0 / 483 MB, free: 1.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1325, allocations: 0 / 483 MB, free: 1.965 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.0006449/0.1331, allocations: 459 kB / 483.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.1332, allocations: 16.81 kB / 483.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.861e-05/0.1333, allocations: 50.73 kB / 483.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.1338, allocations: 64.67 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.1341, allocations: 212.1 kB / 483.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1341, allocations: 12.36 kB / 483.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.1342, allocations: 19.88 kB / 483.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.1346, allocations: 229.5 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1346, allocations: 0 / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.1347, allocations: 7.984 kB / 484 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.1347, allocations: 19.98 kB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.1352, allocations: 231.6 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1363, allocations: 0.7285 MB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.1365, allocations: 86.52 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.1366, allocations: 44.81 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.1367, allocations: 4 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1367, allocations: 38.5 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1367, allocations: 0 / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005058/0.1372, allocations: 173.5 kB / 485.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1372, allocations: 51.41 kB / 485.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.1374, allocations: 189.8 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1374, allocations: 25.7 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.1375, allocations: 131.6 kB / 485.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1376, allocations: 27.64 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.1376, allocations: 37.7 kB / 485.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1377, allocations: 322.8 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1379, allocations: 43.95 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1381, allocations: 102.6 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.1384, allocations: 163 kB / 486.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1385, allocations: 4 kB / 486.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004208/0.1389, allocations: 189.1 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1389, allocations: 4 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1389, allocations: 4.219 kB / 486.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.139, allocations: 11.98 kB / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000972/0.1399, allocations: 119.9 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.1412, allocations: 1.816 MB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1413, allocations: 27.8 kB / 488.6 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1414, allocations: 12.19 kB / 488.6 MB, free: 11.96 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.000122/0.1415, allocations: 138.3 kB / 488.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.679e-05/0.1415, allocations: 7.906 kB / 488.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.142, allocations: 194.6 kB / 488.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.142, allocations: 0 / 488.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.142, allocations: 0 / 488.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.142, allocations: 0 / 488.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1424, allocations: 229.5 kB / 489.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1424, allocations: 0 / 489.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.1431, allocations: 111.9 kB / 489.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1431, allocations: 4 kB / 489.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1432, allocations: 4 kB / 489.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.1442, allocations: 1.778 MB / 491 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.1442, allocations: 4.031 kB / 491.1 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1446, allocations: 247.4 kB / 491.3 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.1447, allocations: 92.86 kB / 491.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.1447, allocations: 0 / 491.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.1449, allocations: 15.98 kB / 491.4 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.1449, allocations: 7.984 kB / 491.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.1449, allocations: 0 / 491.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001252/0.1451, allocations: 141.8 kB / 491.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1451, allocations: 0 / 491.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.1454, allocations: 39.91 kB / 491.6 MB, free: 8.805 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.0008241/0.1462, allocations: 0.7903 MB / 492.4 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.1475, allocations: 232.1 kB / 492.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1475, allocations: 0 / 492.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006571/0.1482, allocations: 127.8 kB / 492.7 MB, free: 7.637 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.1486, allocations: 40.39 kB / 492.8 MB, free: 7.598 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.1511, allocations: 2.137 MB / 494.9 MB, free: 5.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1515, allocations: 0.7358 MB / 495.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.1517, allocations: 41.39 kB / 495.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.869e-05/0.1517, allocations: 43.42 kB / 495.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1518, allocations: 0 / 495.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01931/0.1711, allocations: 4.736 MB / 0.4887 GB, free: 12 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002736/0.1714, allocations: 305.1 kB / 0.489 GB, free: 15.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.109, allocations: 0 / 0.489 GB, free: 15.63 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