Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01675/0.01675, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002177/0.002176, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.194/2.194, allocations: 194.6 MB / 211.3 MB, free: 11.23 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3071/0.3071, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000464/0.0004642, allocations: 8 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1341, allocations: 54.88 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002791/0.1369, allocations: 1.425 MB / 417.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.139, allocations: 0.8862 MB / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.1392, allocations: 0 / 418.4 MB, free: 216 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.1395, allocations: 47.8 kB / 418.4 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1397, allocations: 55.81 kB / 418.5 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1402, allocations: 99.69 kB / 418.6 MB, free: 12 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.1405, allocations: 143.6 kB / 418.7 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.302e-05/0.1406, allocations: 29.64 kB / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1408, allocations: 75.64 kB / 418.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.141, allocations: 87.67 kB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.141, allocations: 4 kB / 418.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005516/0.1416, allocations: 199.7 kB / 419.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.1417, allocations: 51.81 kB / 419.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.1418, allocations: 57.58 kB / 419.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.1423, allocations: 187.8 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1423, allocations: 0 / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1423, allocations: 0 / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1423, allocations: 0 / 419.4 MB, free: 15.19 MB / 362.7 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.00104/0.1434, allocations: 0.5067 MB / 419.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1435, allocations: 12.03 kB / 419.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.048e-05/0.1436, allocations: 54.55 kB / 419.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.1449, allocations: 131.5 kB / 420.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.1454, allocations: 262.5 kB / 420.3 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.1455, allocations: 12.44 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.1456, allocations: 24 kB / 420.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1467, allocations: 437.8 kB / 420.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1468, allocations: 0 / 420.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.1468, allocations: 8 kB / 420.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.791e-05/0.1469, allocations: 24.55 kB / 420.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.1482, allocations: 405.8 kB / 421.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.1515, allocations: 1.481 MB / 422.7 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.152, allocations: 102.5 kB / 422.8 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.152, allocations: 8.141 kB / 422.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.1521, allocations: 34.55 kB / 422.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.1521, allocations: 0 / 422.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009776/0.1531, allocations: 201.3 kB / 423 MB, free: 11.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.1532, allocations: 55.34 kB / 423.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005664/0.1537, allocations: 334.6 kB / 423.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1538, allocations: 25.7 kB / 423.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.154, allocations: 179.3 kB / 423.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.154, allocations: 23.64 kB / 423.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.1541, allocations: 8 kB / 423.7 MB, free: 10.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1542, allocations: 334.8 kB / 424 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000347/0.1546, allocations: 71.94 kB / 424 MB, free: 10.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.155, allocations: 129.3 kB / 424.2 MB, free: 10.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.1554, allocations: 91.94 kB / 424.3 MB, free: 9.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1554, allocations: 0 / 424.3 MB, free: 9.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009104/0.1563, allocations: 253.1 kB / 424.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.1563, allocations: 16.12 kB / 424.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1564, allocations: 0 / 424.5 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1564, allocations: 4 kB / 424.5 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/0.1591, allocations: 115.9 kB / 424.6 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/0.1621, allocations: 1.84 MB / 426.5 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.1627, allocations: 39.8 kB / 426.5 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1628, allocations: 12 kB / 426.5 MB, free: 7.621 MB / 362.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002513/0.163, allocations: 157.7 kB / 426.7 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.1631, allocations: 23.72 kB / 426.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00087/0.164, allocations: 207.1 kB / 426.9 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.164, allocations: 4 kB / 426.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.164, allocations: 0 / 426.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.164, allocations: 0 / 426.9 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.1645, allocations: 277.5 kB / 427.2 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1646, allocations: 8 kB / 427.2 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/0.1668, allocations: 95.88 kB / 427.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.1668, allocations: 0 / 427.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/0.1668, allocations: 8 kB / 427.3 MB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.1686, allocations: 1.793 MB / 429.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.1687, allocations: 3.984 kB / 429.1 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/0.1694, allocations: 279.3 kB / 429.4 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.1696, allocations: 100.8 kB / 429.5 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.1696, allocations: 0 / 429.5 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.17, allocations: 7.984 kB / 429.5 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.338e-05/0.1701, allocations: 11.98 kB / 429.5 MB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.1701, allocations: 8 kB / 429.5 MB, free: 4.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004199/0.1706, allocations: 241.9 kB / 429.7 MB, free: 4.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1706, allocations: 0 / 429.7 MB, free: 4.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005063/0.1711, allocations: 67.84 kB / 429.8 MB, free: 4.191 MB / 362.7 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.1723, allocations: 0.8175 MB / 430.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004132/0.1764, allocations: 271.6 kB / 430.9 MB, free: 3.078 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.1765, allocations: 4.375 kB / 430.9 MB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.1783, allocations: 115.9 kB / 431 MB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.1788, allocations: 36.88 kB / 431 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.1831, allocations: 2.525 MB / 433.6 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.1836, allocations: 0.7948 MB / 434.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002811/0.1839, allocations: 54.19 kB / 434.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.1841, allocations: 71.41 kB / 434.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of SimCode: time 9.61e-07/0.1842, allocations: 0 / 434.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.2271, allocations: 7.052 MB / 441.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003823/0.2275, allocations: 256.2 kB / 441.8 MB, free: 8.078 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/3.207, allocations: 3.906 kB / 441.8 MB, free: 8.074 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat