Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.001113/0.001113, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001197/0.001197, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002456/0.002456, allocations: 79.02 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1372, allocations: 62.45 MB / 480.2 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.003164/0.1404, allocations: 1.791 MB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.142, allocations: 0.9971 MB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.1421, allocations: 0 / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.1424, allocations: 59.67 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.1426, allocations: 67.64 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.143, allocations: 115.5 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1432, allocations: 214.8 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.34e-05/0.1433, allocations: 21.69 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1434, allocations: 95.5 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1436, allocations: 95.55 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1436, allocations: 8 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.144, allocations: 211.6 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.1442, allocations: 51.81 kB / 483.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1443, allocations: 95.3 kB / 484 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.1448, allocations: 311.1 kB / 484.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1448, allocations: 4 kB / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1449, allocations: 0 / 484.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1449, allocations: 0 / 484.3 MB, free: 1.059 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0008889/0.1458, allocations: 0.5263 MB / 484.8 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1458, allocations: 12.03 kB / 484.8 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.36e-05/0.1459, allocations: 58.73 kB / 484.9 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008356/0.1467, allocations: 136.4 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1471, allocations: 270.2 kB / 485.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1471, allocations: 20.81 kB / 485.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.1471, allocations: 20.12 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.1478, allocations: 429.9 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1478, allocations: 4 kB / 485.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.1478, allocations: 15.98 kB / 485.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.1479, allocations: 24.55 kB / 485.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.1486, allocations: 389.9 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.1505, allocations: 1.469 MB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1507, allocations: 98.44 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1509, allocations: 48.81 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1509, allocations: 3.938 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1509, allocations: 42.56 kB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1509, allocations: 0 / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005515/0.1515, allocations: 181.3 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1515, allocations: 51.41 kB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.1519, allocations: 342.4 kB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1519, allocations: 25.7 kB / 488.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.152, allocations: 179.5 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.152, allocations: 27.66 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.1521, allocations: 41.7 kB / 488.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1523, allocations: 334.8 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.1525, allocations: 67.94 kB / 489 MB, free: 11.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.1527, allocations: 117.9 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003719/0.153, allocations: 181.6 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1531, allocations: 3.938 kB / 489.3 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005006/0.1536, allocations: 241 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1536, allocations: 10.66 kB / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1536, allocations: 0 / 489.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1536, allocations: 8.188 kB / 489.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.1551, allocations: 119.8 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001776/0.1569, allocations: 1.836 MB / 491.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.1572, allocations: 39.61 kB / 491.6 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1572, allocations: 4 kB / 491.6 MB, free: 9.328 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0001443/0.1574, allocations: 165.8 kB / 491.7 MB, free: 9.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.1575, allocations: 23.81 kB / 491.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005087/0.158, allocations: 195.1 kB / 491.9 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.158, allocations: 4 kB / 491.9 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.158, allocations: 7.984 kB / 492 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.158, allocations: 0 / 492 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1583, allocations: 273.5 kB / 492.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1583, allocations: 0 / 492.2 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001194/0.1595, allocations: 103.7 kB / 492.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1595, allocations: 0 / 492.3 MB, free: 8.508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1596, allocations: 8 kB / 492.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.1607, allocations: 1.789 MB / 494.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1607, allocations: 0 / 494.1 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00043/0.1611, allocations: 263.5 kB / 494.4 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/0.1612, allocations: 100.8 kB / 494.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.1613, allocations: 0 / 494.5 MB, free: 6.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.1615, allocations: 8 kB / 494.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1615, allocations: 7.984 kB / 494.5 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1615, allocations: 0 / 494.5 MB, free: 6.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000231/0.1618, allocations: 245.9 kB / 494.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.1618, allocations: 7.938 kB / 494.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.1621, allocations: 75.78 kB / 494.8 MB, free: 5.914 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.0007281/0.1629, allocations: 0.8097 MB / 495.6 MB, free: 5.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.1652, allocations: 267.9 kB / 495.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.1652, allocations: 4.062 kB / 495.9 MB, free: 4.812 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.1662, allocations: 107.8 kB / 496 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1666, allocations: 45.16 kB / 496 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.1705, allocations: 2.927 MB / 499 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.1708, allocations: 0.783 MB / 499.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.171, allocations: 50.2 kB / 499.8 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.1711, allocations: 71.41 kB / 499.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1711, allocations: 0 / 499.9 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.2039, allocations: 7.655 MB / 0.4956 GB, free: 9.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.47, allocations: 18.38 kB / 0.4956 GB, free: 9.242 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/PressureLoss/General/dp_idealGas_DPMFLOW/dp_idealGas_DPMFLOW.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches