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.Orifices.ThickEdgedOrifice.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.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.01124/0.01124, 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.001251/0.001251, allocations: 183.3 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.06/2.06, 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.2884/0.2884, allocations: 40.04 MB / 296.5 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006319/0.000632, allocations: 16 kB / 361.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1158, allocations: 54.89 MB / 416 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.5434/0.6592, allocations: 146.8 MB / 0.5497 GB, free: 3.328 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01408/0.6734, allocations: 6.678 MB / 0.5562 GB, free: 14.32 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008404/0.6743, allocations: 23.81 kB / 0.5562 GB, free: 14.3 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.6757, allocations: 251.5 kB / 0.5565 GB, free: 14.13 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.6815, allocations: 1.276 MB / 0.5577 GB, free: 12.92 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.6844, allocations: 0.6034 MB / 0.5583 GB, free: 12.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.687, allocations: 0.9222 MB / 0.5592 GB, free: 11.4 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009452/0.688, allocations: 347.8 kB / 0.5595 GB, free: 11.06 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.6897, allocations: 0.4945 MB / 0.56 GB, free: 10.56 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007593/0.6905, allocations: 330.8 kB / 0.5603 GB, free: 10.24 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.6906, allocations: 31.94 kB / 0.5604 GB, free: 10.21 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.6944, allocations: 1.159 MB / 0.5615 GB, free: 9.047 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.6948, allocations: 123.5 kB / 0.5616 GB, free: 8.926 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003039/0.6951, allocations: 149.4 kB / 0.5617 GB, free: 8.773 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.6978, allocations: 1.074 MB / 0.5628 GB, free: 7.707 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6978, allocations: 0 / 0.5628 GB, free: 7.707 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.01e-06/0.6979, allocations: 0 / 0.5628 GB, free: 7.707 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.6979, allocations: 3.938 kB / 0.5628 GB, free: 7.703 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002433/0.7003, allocations: 0.939 MB / 0.5637 GB, free: 6.711 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.7004, allocations: 12.03 kB / 0.5637 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.7005, allocations: 90.5 kB / 0.5638 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.7019, allocations: 143.2 kB / 0.564 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7031, allocations: 476.6 kB / 0.5644 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.7032, allocations: 36.95 kB / 0.5644 GB, free: 5.918 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.7033, allocations: 36 kB / 0.5645 GB, free: 5.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.705, allocations: 0.5906 MB / 0.5651 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.7051, allocations: 0 / 0.5651 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.7052, allocations: 27.94 kB / 0.5651 GB, free: 5.227 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.7052, allocations: 8 kB / 0.5651 GB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.7068, allocations: 479.6 kB / 0.5655 GB, free: 4.75 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.004681/0.7115, allocations: 2.632 MB / 0.5681 GB, free: 1.895 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.7128, allocations: 331.6 kB / 0.5684 GB, free: 1.562 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005367/0.7134, allocations: 333 kB / 0.5687 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.7134, allocations: 41.84 kB / 0.5688 GB, free: 1.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.7134, allocations: 0 / 0.5688 GB, free: 1.137 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002799/0.7162, allocations: 0.7115 MB / 0.5695 GB, free: 408 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.7164, allocations: 140.5 kB / 0.5696 GB, free: 236 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.7172, allocations: 437.8 kB / 0.57 GB, free: 15.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.058e-05/0.7173, allocations: 33.7 kB / 0.5701 GB, free: 15.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.7176, allocations: 295.6 kB / 0.5703 GB, free: 15.46 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.7178, allocations: 122.1 kB / 0.5705 GB, free: 15.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.7179, allocations: 12 kB / 0.5705 GB, free: 15.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.7181, allocations: 358.8 kB / 0.5708 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005897/0.7187, allocations: 152.8 kB / 0.571 GB, free: 14.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.7194, allocations: 321.7 kB / 0.5713 GB, free: 14.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.72, allocations: 208.9 kB / 0.5715 GB, free: 14.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.7201, allocations: 0 / 0.5715 GB, free: 14.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001825/0.7219, allocations: 0.5759 MB / 0.572 GB, free: 13.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.722, allocations: 8 kB / 0.572 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.722, allocations: 4 kB / 0.572 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.7248, allocations: 288.7 kB / 0.5723 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.7256, allocations: 123.8 kB / 0.5724 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007195/0.7263, allocations: 0.6069 MB / 0.573 GB, free: 12.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/0.727, allocations: 63.64 kB / 0.5731 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.7271, allocations: 47.98 kB / 0.5731 GB, free: 12.49 MB / 442.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 (51): * Single equations (assignments): 50 * 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.0003824/0.7275, allocations: 189.6 kB / 0.5733 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.7277, allocations: 51.39 kB / 0.5734 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002851/0.7306, allocations: 0.726 MB / 0.5741 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.7306, allocations: 4 kB / 0.5741 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.7306, allocations: 0 / 0.5741 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.7307, allocations: 0 / 0.5741 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.7337, allocations: 1.236 MB / 0.5753 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.7337, allocations: 4 kB / 0.5753 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.7342, allocations: 59.97 kB / 0.5753 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006302/0.7405, allocations: 0.5354 MB / 0.5759 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-05/0.7407, allocations: 15.98 kB / 0.5759 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006595/0.7413, allocations: 0.6136 MB / 0.5765 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.7414, allocations: 7.969 kB / 0.5765 GB, free: 8.898 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.7429, allocations: 0.6371 MB / 0.5771 GB, free: 8.18 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.7432, allocations: 148.2 kB / 0.5773 GB, free: 8.016 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.7433, allocations: 8 kB / 0.5773 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.7438, allocations: 35.97 kB / 0.5773 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.744, allocations: 27.91 kB / 0.5773 GB, free: 7.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.616e-05/0.744, allocations: 16 kB / 0.5773 GB, free: 7.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006257/0.7447, allocations: 330.9 kB / 0.5777 GB, free: 7.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7447, allocations: 4 kB / 0.5777 GB, free: 7.602 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001389/0.7461, allocations: 327.6 kB / 0.578 GB, free: 7.281 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 (30): * Single equations (assignments): 29 * 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.003592/0.7497, allocations: 2 MB / 0.5799 GB, free: 5.207 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.7512, allocations: 396.9 kB / 0.5803 GB, free: 4.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7512, allocations: 4 kB / 0.5803 GB, free: 4.816 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.7519, allocations: 184.7 kB / 0.5805 GB, free: 4.637 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.7539, allocations: 234.6 kB / 0.5807 GB, free: 4.414 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00868/0.7627, allocations: 6.153 MB / 0.5867 GB, free: 14.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.7633, allocations: 0.8749 MB / 0.5876 GB, free: 13.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001417/0.7647, allocations: 193 kB / 0.5878 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/0.7653, allocations: 223.3 kB / 0.588 GB, free: 12.8 MB / 458.7 MB Notification: Performance of SimCode: time 9.81e-07/0.7654, allocations: 0 / 0.588 GB, free: 12.8 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/0.8844, allocations: 18.52 MB / 0.6061 GB, free: 10.43 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005067/0.885, allocations: 279.9 kB / 0.6063 GB, free: 10.08 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/4.068, allocations: 0 / 0.6063 GB, free: 10.08 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat