Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",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.01605/0.01606, allocations: 108.9 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.002033/0.002034, allocations: 183.5 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.021/2.021, allocations: 194.6 MB / 211.3 MB, free: 10.97 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.304/0.304, allocations: 40.03 MB / 296.5 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006307/0.0006307, allocations: 16 kB / 361.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1158, allocations: 54.88 MB / 416 MB, free: 2.516 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.5673/0.6832, allocations: 146.7 MB / 0.5495 GB, free: 3.391 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00914/0.6924, allocations: 4.28 MB / 0.5537 GB, free: 380 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.6933, allocations: 26 kB / 0.5537 GB, free: 364 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.6945, allocations: 228.3 kB / 0.5539 GB, free: 236 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004638/0.6992, allocations: 1.105 MB / 0.555 GB, free: 15.55 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.7017, allocations: 0.5399 MB / 0.5555 GB, free: 15.08 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.7036, allocations: 0.8668 MB / 0.5564 GB, free: 14.21 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006978/0.7043, allocations: 337.8 kB / 0.5567 GB, free: 13.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.7055, allocations: 494.5 kB / 0.5572 GB, free: 13.4 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005307/0.7061, allocations: 310.8 kB / 0.5575 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.806e-05/0.7062, allocations: 24 kB / 0.5575 GB, free: 13.07 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002566/0.7087, allocations: 0.7919 MB / 0.5583 GB, free: 12.28 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.709, allocations: 119.5 kB / 0.5584 GB, free: 12.16 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.7092, allocations: 137.5 kB / 0.5585 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.711, allocations: 0.8851 MB / 0.5594 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.711, allocations: 0 / 0.5594 GB, free: 11.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.711, allocations: 0 / 0.5594 GB, free: 11.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.711, allocations: 0 / 0.5594 GB, free: 11.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002268/0.7133, allocations: 0.8831 MB / 0.5602 GB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.7134, allocations: 16.03 kB / 0.5603 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.7135, allocations: 78.53 kB / 0.5603 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.7149, allocations: 139.2 kB / 0.5605 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000947/0.7159, allocations: 449.3 kB / 0.5609 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.7159, allocations: 29 kB / 0.5609 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.716, allocations: 39.95 kB / 0.561 GB, free: 9.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.7176, allocations: 0.5476 MB / 0.5615 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.7176, allocations: 0 / 0.5615 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.246e-05/0.7177, allocations: 27.94 kB / 0.5615 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.7177, allocations: 12 kB / 0.5615 GB, free: 8.805 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.7191, allocations: 407.6 kB / 0.5619 GB, free: 8.406 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.723, allocations: 2.526 MB / 0.5644 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.724, allocations: 299.5 kB / 0.5647 GB, free: 5.359 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006346/0.7247, allocations: 321.2 kB / 0.565 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.7247, allocations: 38.56 kB / 0.565 GB, free: 4.945 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.7247, allocations: 0 / 0.565 GB, free: 4.945 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.003057/0.7278, allocations: 0.6687 MB / 0.5657 GB, free: 4.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/0.7279, allocations: 136.5 kB / 0.5658 GB, free: 4.086 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.7285, allocations: 389.9 kB / 0.5662 GB, free: 3.699 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.09e-05/0.7286, allocations: 29.7 kB / 0.5662 GB, free: 3.664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.7289, allocations: 295.4 kB / 0.5665 GB, free: 3.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.7291, allocations: 98.64 kB / 0.5666 GB, free: 3.273 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.7292, allocations: 8 kB / 0.5666 GB, free: 3.266 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7293, allocations: 354.8 kB / 0.5669 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/0.7298, allocations: 140.8 kB / 0.5671 GB, free: 2.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006702/0.7305, allocations: 309.7 kB / 0.5674 GB, free: 2.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006142/0.7311, allocations: 183.9 kB / 0.5675 GB, free: 2.219 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.7312, allocations: 4 kB / 0.5675 GB, free: 2.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001726/0.7329, allocations: 0.5453 MB / 0.5681 GB, free: 1.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.733, allocations: 8 kB / 0.5681 GB, free: 1.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.733, allocations: 4 kB / 0.5681 GB, free: 1.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/0.737, allocations: 337 kB / 0.5684 GB, free: 1.316 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.7378, allocations: 123.8 kB / 0.5685 GB, free: 1.195 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.739, allocations: 0.5835 MB / 0.5691 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007473/0.7398, allocations: 71.56 kB / 0.5692 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.7399, allocations: 51.92 kB / 0.5692 GB, free: 476 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003876/0.7403, allocations: 185.6 kB / 0.5694 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.7405, allocations: 47.39 kB / 0.5694 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002866/0.7433, allocations: 0.6821 MB / 0.5701 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.7434, allocations: 4 kB / 0.5701 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.7434, allocations: 3.938 kB / 0.5701 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7434, allocations: 7.938 kB / 0.5701 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.7463, allocations: 1.122 MB / 0.5712 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.7464, allocations: 0 / 0.5712 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.7468, allocations: 59.91 kB / 0.5713 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003249/0.7501, allocations: 292.7 kB / 0.5715 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/0.7502, allocations: 15.98 kB / 0.5716 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006387/0.7509, allocations: 0.5821 MB / 0.5721 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/0.7509, allocations: 7.969 kB / 0.5721 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.7524, allocations: 0.5839 MB / 0.5727 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.7526, allocations: 140.4 kB / 0.5728 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.7527, allocations: 12 kB / 0.5728 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.7533, allocations: 31.97 kB / 0.5729 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.7534, allocations: 27.92 kB / 0.5729 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.7535, allocations: 20 kB / 0.5729 GB, free: 12.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005599/0.7541, allocations: 303.1 kB / 0.5732 GB, free: 12.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7541, allocations: 0 / 0.5732 GB, free: 12.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001242/0.7553, allocations: 263.6 kB / 0.5735 GB, free: 11.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003188/0.7585, allocations: 1.874 MB / 0.5753 GB, free: 9.906 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.7605, allocations: 370 kB / 0.5756 GB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.7605, allocations: 1.312 kB / 0.5756 GB, free: 9.547 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.7612, allocations: 174.4 kB / 0.5758 GB, free: 9.379 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/0.7632, allocations: 226.8 kB / 0.576 GB, free: 9.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008057/0.7713, allocations: 5.897 MB / 0.5818 GB, free: 3.105 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.7719, allocations: 0.8668 MB / 0.5826 GB, free: 2.211 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001404/0.7733, allocations: 184 kB / 0.5828 GB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.7739, allocations: 203.4 kB / 0.583 GB, free: 1.844 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7739, allocations: 0 / 0.583 GB, free: 1.844 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06657/0.8405, allocations: 16.32 MB / 0.5989 GB, free: 1.68 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004087/0.841, allocations: 291.9 kB / 0.5992 GB, free: 1.32 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/3.925, allocations: 0 / 0.5992 GB, free: 1.32 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat