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.TestPressure.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.TestPressure,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",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.01118/0.01118, allocations: 102.9 kB / 15.05 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.1.mo): time 0.001182/0.001182, allocations: 165.2 kB / 15.93 MB, free: 5.527 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.637/1.637, 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.3033/0.3033, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.0922, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.04918/0.1414, allocations: 31.42 MB / 403.7 MB, free: 13.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03284/0.1743, allocations: 18.16 MB / 421.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00071/0.1751, allocations: 15.88 kB / 421.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.1762, allocations: 238.8 kB / 422.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01497/0.1912, allocations: 3.526 MB / 425.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006696/0.1979, allocations: 1.593 MB / 427.3 MB, free: 5.762 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001547/0.1995, allocations: 0.665 MB / 427.9 MB, free: 5.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006278/0.2001, allocations: 289.6 kB / 428.2 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3065/0.5066, allocations: 8.947 MB / 437.1 MB, free: 18.13 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007566/0.5074, allocations: 241.7 kB / 437.4 MB, free: 18.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.5076, allocations: 19.22 kB / 437.4 MB, free: 18.13 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01988/0.5275, allocations: 6.995 MB / 444.4 MB, free: 18.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002589/0.5278, allocations: 87.59 kB / 444.5 MB, free: 18.11 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.5281, allocations: 121.7 kB / 444.6 MB, free: 18.08 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008625/0.5367, allocations: 3.002 MB / 447.6 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5368, allocations: 0 / 447.6 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.5368, allocations: 1.75 kB / 447.6 MB, free: 17.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.5368, allocations: 0 / 447.6 MB, free: 17.96 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.004735/0.5416, allocations: 1.207 MB / 448.8 MB, free: 17.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.5417, allocations: 9.344 kB / 448.8 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.5418, allocations: 82.81 kB / 448.9 MB, free: 17.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.5442, allocations: 224.3 kB / 449.1 MB, free: 17.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008301/0.5451, allocations: 395.9 kB / 449.5 MB, free: 16.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.5452, allocations: 32.44 kB / 449.5 MB, free: 16.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.407e-05/0.5453, allocations: 39.94 kB / 449.6 MB, free: 16.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.5476, allocations: 0.6817 MB / 450.3 MB, free: 16.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.494e-05/0.5476, allocations: 7.25 kB / 450.3 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.5477, allocations: 15.59 kB / 450.3 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5477, allocations: 9.156 kB / 450.3 MB, free: 16.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.5502, allocations: 0.5891 MB / 450.9 MB, free: 16.76 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.004396/0.5546, allocations: 3.201 MB / 454.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/0.5566, allocations: 425.7 kB / 454.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3348/0.8914, allocations: 81.68 MB / 0.5236 GB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.821e-05/0.8915, allocations: 35.86 kB / 0.5236 GB, free: 11.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 2.434e-06/0.8915, allocations: 3.562 kB / 0.5236 GB, free: 11.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.004279/0.8958, allocations: 0.846 MB / 0.5245 GB, free: 10.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.06e-05/0.8959, allocations: 106.8 kB / 0.5246 GB, free: 10.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.8965, allocations: 343.5 kB / 0.5249 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.8965, allocations: 31.89 kB / 0.5249 GB, free: 10.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.8968, allocations: 269.8 kB / 0.5252 GB, free: 10 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.8969, allocations: 101.1 kB / 0.5253 GB, free: 9.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.897, allocations: 11.25 kB / 0.5253 GB, free: 9.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.8971, allocations: 344.1 kB / 0.5256 GB, free: 9.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.8977, allocations: 131.2 kB / 0.5257 GB, free: 9.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.8984, allocations: 328.9 kB / 0.5261 GB, free: 9.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006419/0.8991, allocations: 178.2 kB / 0.5262 GB, free: 9.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.8991, allocations: 4 kB / 0.5262 GB, free: 9.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00173/0.9009, allocations: 0.5208 MB / 0.5267 GB, free: 8.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001044/0.9019, allocations: 2.435 MB / 0.5291 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.9019, allocations: 12 kB / 0.5291 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004082/0.906, allocations: 233 kB / 0.5294 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.9069, allocations: 113.5 kB / 0.5295 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007383/0.9076, allocations: 0.5969 MB / 0.53 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/0.9083, allocations: 71.91 kB / 0.5301 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.9084, allocations: 22.94 kB / 0.5301 GB, free: 5.066 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9084, allocations: 4 kB / 0.5301 GB, free: 5.062 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001499/0.91, allocations: 442.5 kB / 0.5306 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.91, allocations: 4 kB / 0.5306 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.91, allocations: 12 kB / 0.5306 GB, free: 4.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007765/0.9108, allocations: 124.1 kB / 0.5307 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.9108, allocations: 13.5 kB / 0.5307 GB, free: 4.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005688/0.9114, allocations: 62.58 kB / 0.5308 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/0.9115, allocations: 27.75 kB / 0.5308 GB, free: 4.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (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.0004004/0.9119, allocations: 254.5 kB / 0.531 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.912, allocations: 35.62 kB / 0.5311 GB, free: 4.312 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003559/0.9156, allocations: 1.879 MB / 0.5329 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/0.9157, allocations: 24.95 kB / 0.5329 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.9157, allocations: 3 kB / 0.5329 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.9157, allocations: 3.953 kB / 0.5329 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.9173, allocations: 0.9504 MB / 0.5339 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.9173, allocations: 0 / 0.5339 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005196/0.9178, allocations: 59.95 kB / 0.5339 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002114/0.9199, allocations: 0.5889 MB / 0.5345 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.92, allocations: 7.688 kB / 0.5345 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.9212, allocations: 1.013 MB / 0.5355 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.9212, allocations: 0 / 0.5355 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.9236, allocations: 1.272 MB / 0.5367 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004803/0.9241, allocations: 245.4 kB / 0.537 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9242, allocations: 11.41 kB / 0.537 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.9247, allocations: 31.22 kB / 0.537 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.9249, allocations: 26.08 kB / 0.537 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.145e-05/0.9249, allocations: 15.67 kB / 0.5371 GB, free: 15.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00053/0.9255, allocations: 296.6 kB / 0.5373 GB, free: 15.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9255, allocations: 0 / 0.5373 GB, free: 15.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004784/0.9303, allocations: 1.139 MB / 0.5384 GB, free: 14.48 MB / 426.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,$cse12.phase,$cse12.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 (31): * Single equations (assignments): 24 * 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.01053/0.9408, allocations: 2.745 MB / 0.5411 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002681/0.9436, allocations: 0.8087 MB / 0.5419 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.9436, allocations: 4 kB / 0.5419 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9446, allocations: 471.6 kB / 0.5424 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.9463, allocations: 188.4 kB / 0.5425 GB, free: 11.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.9593, allocations: 7.929 MB / 0.5503 GB, free: 3.738 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009828/0.9603, allocations: 0.9933 MB / 0.5513 GB, free: 2.723 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00191/0.9623, allocations: 475.5 kB / 0.5517 GB, free: 2.262 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005749/0.9629, allocations: 265.1 kB / 0.552 GB, free: 2.199 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.9629, allocations: 3.469 kB / 0.552 GB, free: 2.199 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4269/1.39, allocations: 46.81 MB / 0.5977 GB, free: 181.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/1.39, allocations: 260.9 kB / 0.5979 GB, free: 180.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.048/7.438, allocations: 3.656 kB / 0.5979 GB, free: 180.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat