Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01511/0.01511, allocations: 102.9 kB / 15.05 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.1.mo): time 0.001832/0.001832, allocations: 174.3 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.737/1.737, allocations: 170.9 MB / 187.5 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2523/0.2523, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006187/0.000619, allocations: 15.98 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09049/0.09115, allocations: 48.72 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate): time 0.05916/0.1504, allocations: 35.39 MB / 407.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02638/0.1768, allocations: 13.27 MB / 421 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007774/0.1776, allocations: 23.81 kB / 421 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1788, allocations: 246.8 kB / 421.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01502/0.1938, allocations: 3.584 MB / 424.8 MB, free: 8.203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007046/0.2009, allocations: 1.687 MB / 426.5 MB, free: 6.512 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001737/0.2026, allocations: 0.6995 MB / 427.2 MB, free: 5.809 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006689/0.2033, allocations: 281.3 kB / 427.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/0.2049, allocations: 490.3 kB / 428 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/0.2055, allocations: 274.9 kB / 428.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.593e-05/0.2056, allocations: 24 kB / 428.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3265/0.5321, allocations: 7.056 MB / 435.3 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.5324, allocations: 102.7 kB / 435.4 MB, free: 16.62 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.5327, allocations: 127.6 kB / 435.5 MB, free: 16.59 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009574/0.5423, allocations: 3.061 MB / 438.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.5424, allocations: 1.844 kB / 438.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5424, allocations: 1.812 kB / 438.6 MB, free: 16.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.5424, allocations: 0 / 438.6 MB, free: 16.46 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005885/0.5483, allocations: 1.249 MB / 439.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5484, allocations: 9.156 kB / 439.9 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.5485, allocations: 76.72 kB / 439.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.5516, allocations: 273.8 kB / 440.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.5526, allocations: 418.9 kB / 440.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.5527, allocations: 34.62 kB / 440.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/0.5528, allocations: 37.28 kB / 440.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/0.5556, allocations: 0.6894 MB / 441.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.5556, allocations: 2.031 kB / 441.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-05/0.5557, allocations: 22.59 kB / 441.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.5557, allocations: 10.78 kB / 441.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002966/0.5587, allocations: 0.6148 MB / 442 MB, free: 15.28 MB / 330.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.00477/0.5635, allocations: 2.875 MB / 444.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.5658, allocations: 462.7 kB / 445.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3598/0.9256, allocations: 82.63 MB / 0.5156 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.9257, allocations: 34.31 kB / 0.5156 GB, free: 2.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 3.386e-06/0.9257, allocations: 0 / 0.5156 GB, free: 2.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.00485/0.9306, allocations: 0.899 MB / 0.5165 GB, free: 1.699 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.9307, allocations: 117.8 kB / 0.5166 GB, free: 1.562 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/0.9313, allocations: 351.9 kB / 0.517 GB, free: 1.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.9314, allocations: 32.95 kB / 0.517 GB, free: 1.242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002763/0.9317, allocations: 261.6 kB / 0.5172 GB, free: 1.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.9319, allocations: 107.6 kB / 0.5173 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.9319, allocations: 9.219 kB / 0.5173 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.9321, allocations: 346 kB / 0.5177 GB, free: 0.6211 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000592/0.9327, allocations: 138.8 kB / 0.5178 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.9334, allocations: 282.6 kB / 0.5181 GB, free: 240 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007212/0.9342, allocations: 167.9 kB / 0.5182 GB, free: 132 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.9342, allocations: 0 / 0.5182 GB, free: 132 kB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001863/0.9361, allocations: 0.4926 MB / 0.5187 GB, free: 15.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008421/0.937, allocations: 1.743 MB / 0.5204 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.937, allocations: 4 kB / 0.5204 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004189/0.9412, allocations: 227 kB / 0.5206 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007939/0.9421, allocations: 98.81 kB / 0.5207 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007537/0.9428, allocations: 0.5921 MB / 0.5213 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.9436, allocations: 60.08 kB / 0.5214 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.9437, allocations: 27.2 kB / 0.5214 GB, free: 12.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.9437, allocations: 4 kB / 0.5214 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/0.9452, allocations: 416.2 kB / 0.5218 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9453, allocations: 4 kB / 0.5218 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.9453, allocations: 8 kB / 0.5218 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008094/0.9461, allocations: 112.9 kB / 0.5219 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.9461, allocations: 17.12 kB / 0.5219 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006202/0.9468, allocations: 50.91 kB / 0.522 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.9468, allocations: 22.25 kB / 0.522 GB, free: 12.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0004221/0.9473, allocations: 255.7 kB / 0.5222 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.9474, allocations: 45.45 kB / 0.5223 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004015/0.9515, allocations: 1.986 MB / 0.5242 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.47e-05/0.9516, allocations: 30.7 kB / 0.5243 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.9516, allocations: 1.688 kB / 0.5243 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.9516, allocations: 0 / 0.5243 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.9533, allocations: 0.9886 MB / 0.5252 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.9534, allocations: 0 / 0.5252 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005975/0.954, allocations: 70.06 kB / 0.5253 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/0.9562, allocations: 0.5824 MB / 0.5259 GB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/0.9563, allocations: 10.94 kB / 0.5259 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.9575, allocations: 0.9957 MB / 0.5268 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.9575, allocations: 4.031 kB / 0.5268 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002647/0.9602, allocations: 1.292 MB / 0.5281 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005071/0.9607, allocations: 250.7 kB / 0.5283 GB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.855e-05/0.9608, allocations: 10.11 kB / 0.5284 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005157/0.9614, allocations: 41.59 kB / 0.5284 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.9615, allocations: 31.83 kB / 0.5284 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.9616, allocations: 11.31 kB / 0.5284 GB, free: 7.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000584/0.9622, allocations: 313.2 kB / 0.5287 GB, free: 7.359 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.9622, allocations: 0 / 0.5287 GB, free: 7.359 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006122/0.9683, allocations: 1.141 MB / 0.5299 GB, free: 6.27 MB / 410.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: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01312/0.9815, allocations: 2.772 MB / 0.5326 GB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.9842, allocations: 0.7893 MB / 0.5333 GB, free: 3.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.9843, allocations: 2.625 kB / 0.5333 GB, free: 3.402 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.9854, allocations: 488.9 kB / 0.5338 GB, free: 3.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.9874, allocations: 196.6 kB / 0.534 GB, free: 2.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.001, allocations: 6.804 MB / 0.5406 GB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/1.001, allocations: 1.005 MB / 0.5416 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001572/1.003, allocations: 0.5261 MB / 0.5421 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/1.003, allocations: 275.5 kB / 0.5424 GB, free: 11.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.462e-06/1.003, allocations: 0 / 0.5424 GB, free: 11.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3946/1.398, allocations: 47.64 MB / 0.5889 GB, free: 184.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.398, allocations: 256.8 kB / 0.5892 GB, free: 184 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.736/7.134, allocations: 4.5 kB / 0.5892 GB, free: 184 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat