Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.TestCases.PressureLoss.Orifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Orifice",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.0108/0.0108, allocations: 106.1 kB / 15.06 MB, free: 6.027 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.001226/0.001226, allocations: 181.1 kB / 15.95 MB, free: 5.953 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 1.989/1.989, allocations: 194.6 MB / 211.3 MB, free: 11.09 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.2842/0.2842, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004664, allocations: 8 kB / 361.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1198, allocations: 54.87 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.5508/0.6706, allocations: 145.6 MB / 0.5485 GB, free: 4.188 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01831/0.689, allocations: 9.164 MB / 0.5574 GB, free: 13.2 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008666/0.6899, allocations: 19.81 kB / 0.5574 GB, free: 13.18 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.6911, allocations: 270.9 kB / 0.5577 GB, free: 12.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007695/0.6988, allocations: 1.837 MB / 0.5595 GB, free: 11.1 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.7024, allocations: 0.7873 MB / 0.5603 GB, free: 10.31 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.705, allocations: 1.011 MB / 0.5613 GB, free: 9.305 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.7059, allocations: 367.5 kB / 0.5616 GB, free: 8.949 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.7081, allocations: 0.6739 MB / 0.5623 GB, free: 8.273 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007896/0.7089, allocations: 378.6 kB / 0.5626 GB, free: 7.902 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.7091, allocations: 28 kB / 0.5626 GB, free: 7.875 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004024/0.7131, allocations: 1.24 MB / 0.5639 GB, free: 6.633 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003062/0.7134, allocations: 135.5 kB / 0.564 GB, free: 6.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.7138, allocations: 157.4 kB / 0.5641 GB, free: 6.34 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.7169, allocations: 1.145 MB / 0.5653 GB, free: 5.199 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.7169, allocations: 0 / 0.5653 GB, free: 5.199 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7169, allocations: 0 / 0.5653 GB, free: 5.199 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.717, allocations: 0 / 0.5653 GB, free: 5.199 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00254/0.7195, allocations: 0.9771 MB / 0.5662 GB, free: 4.176 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7196, allocations: 8.031 kB / 0.5662 GB, free: 4.168 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/0.7198, allocations: 86.53 kB / 0.5663 GB, free: 4.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.7213, allocations: 155 kB / 0.5664 GB, free: 3.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/0.7224, allocations: 480.7 kB / 0.5669 GB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.201e-05/0.7225, allocations: 33 kB / 0.5669 GB, free: 3.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7226, allocations: 45.44 kB / 0.567 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.7243, allocations: 0.6361 MB / 0.5676 GB, free: 2.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.7243, allocations: 7.891 kB / 0.5676 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.7245, allocations: 20 kB / 0.5676 GB, free: 2.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.7245, allocations: 12 kB / 0.5676 GB, free: 2.613 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.726, allocations: 491.6 kB / 0.5681 GB, free: 2.133 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.004365/0.7304, allocations: 2.609 MB / 0.5707 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.7314, allocations: 302.8 kB / 0.5709 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005246/0.732, allocations: 324.9 kB / 0.5713 GB, free: 14.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.732, allocations: 42.5 kB / 0.5713 GB, free: 14.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 4.989e-06/0.732, allocations: 0 / 0.5713 GB, free: 14.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=35): time 0.002431/0.7345, allocations: 0.6757 MB / 0.572 GB, free: 13.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.7346, allocations: 170 kB / 0.5721 GB, free: 13.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.7354, allocations: 449.9 kB / 0.5725 GB, free: 13.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.7355, allocations: 37.7 kB / 0.5726 GB, free: 13.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.7358, allocations: 323.1 kB / 0.5729 GB, free: 12.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.736, allocations: 130.2 kB / 0.573 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.736, allocations: 12 kB / 0.573 GB, free: 12.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.7362, allocations: 354.8 kB / 0.5734 GB, free: 12.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.7367, allocations: 149 kB / 0.5735 GB, free: 12.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006661/0.7374, allocations: 366.7 kB / 0.5739 GB, free: 11.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005912/0.738, allocations: 199.8 kB / 0.574 GB, free: 11.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.738, allocations: 4 kB / 0.5741 GB, free: 11.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001701/0.7397, allocations: 0.5952 MB / 0.5746 GB, free: 10.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.7398, allocations: 10.97 kB / 0.5746 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.7398, allocations: 7.984 kB / 0.5747 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/0.7425, allocations: 297 kB / 0.5749 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.7433, allocations: 131.8 kB / 0.5751 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006271/0.7439, allocations: 0.5952 MB / 0.5756 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000579/0.7445, allocations: 69.3 kB / 0.5757 GB, free: 9.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.7447, allocations: 55.98 kB / 0.5758 GB, free: 9.805 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.000377/0.7451, allocations: 193.6 kB / 0.5759 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.7452, allocations: 51.44 kB / 0.576 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002719/0.7479, allocations: 0.7192 MB / 0.5767 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.748, allocations: 4 kB / 0.5767 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.748, allocations: 0 / 0.5767 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.748, allocations: 3.984 kB / 0.5767 GB, free: 8.832 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003242/0.7512, allocations: 1.546 MB / 0.5782 GB, free: 7.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.7513, allocations: 4 kB / 0.5782 GB, free: 7.141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.7518, allocations: 71.91 kB / 0.5783 GB, free: 7.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006147/0.758, allocations: 0.5396 MB / 0.5788 GB, free: 6.527 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.7581, allocations: 19.95 kB / 0.5788 GB, free: 6.508 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006488/0.7588, allocations: 0.6009 MB / 0.5794 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.7588, allocations: 3.984 kB / 0.5794 GB, free: 5.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.7604, allocations: 0.7366 MB / 0.5801 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.7606, allocations: 136.3 kB / 0.5803 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.7608, allocations: 23.88 kB / 0.5803 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004889/0.7613, allocations: 22.78 kB / 0.5803 GB, free: 4.836 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7614, allocations: 39.95 kB / 0.5804 GB, free: 4.797 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/0.7615, allocations: 31.98 kB / 0.5804 GB, free: 4.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000566/0.7621, allocations: 310.9 kB / 0.5807 GB, free: 4.465 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.194e-06/0.7621, allocations: 4 kB / 0.5807 GB, free: 4.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001442/0.7636, allocations: 347.5 kB / 0.581 GB, free: 4.121 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (37): * Single equations (assignments): 36 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003643/0.7672, allocations: 2.299 MB / 0.5833 GB, free: 1.727 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.7687, allocations: 428.4 kB / 0.5837 GB, free: 1.309 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.7688, allocations: 0 / 0.5837 GB, free: 1.309 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.7694, allocations: 210.7 kB / 0.5839 GB, free: 1.105 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002451/0.7719, allocations: 276.1 kB / 0.5841 GB, free: 0.832 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.7829, allocations: 7.309 MB / 0.5913 GB, free: 9.309 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.7838, allocations: 0.887 MB / 0.5921 GB, free: 8.395 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001998/0.7858, allocations: 202.9 kB / 0.5923 GB, free: 8.199 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.7868, allocations: 235.3 kB / 0.5926 GB, free: 7.969 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7869, allocations: 0 / 0.5926 GB, free: 7.969 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1169/0.9038, allocations: 19.8 MB / 0.6119 GB, free: 4.312 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/0.9042, allocations: 282.9 kB / 0.6122 GB, free: 3.941 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.485/4.39, allocations: 0 / 0.6122 GB, free: 3.941 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat does not exist to compare? outputFormat=mat