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.TestDensity.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.TestDensity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",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.01114/0.01115, allocations: 104.4 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.001248/0.001248, allocations: 168 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.673/1.673, allocations: 170.9 MB / 187.5 MB, free: 1 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.2893/0.2893, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007217/0.0007228, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09443/0.0952, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity): time 0.08792/0.1832, allocations: 53.89 MB / 426.2 MB, free: 6.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3308/0.514, allocations: 22.53 MB / 448.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/0.5155, allocations: 31.66 kB / 448.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.5177, allocations: 470.6 kB / 449.2 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01761/0.5354, allocations: 4.052 MB / 453.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01283/0.5482, allocations: 2.97 MB / 456.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.5514, allocations: 1.305 MB / 457.5 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.5527, allocations: 0.5397 MB / 458.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01882/0.5716, allocations: 6.394 MB / 464.5 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001593/0.5732, allocations: 0.5022 MB / 465 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.5735, allocations: 42.56 kB / 465 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01909/0.5926, allocations: 6.62 MB / 471.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005378/0.5932, allocations: 188 kB / 471.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.5938, allocations: 211.8 kB / 472 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008863/0.6026, allocations: 3.322 MB / 475.3 MB, free: 8.145 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6027, allocations: 4 kB / 475.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6027, allocations: 0 / 475.3 MB, free: 8.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.31e-05/0.6028, allocations: 0 / 475.3 MB, free: 8.141 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005623/0.6084, allocations: 1.579 MB / 476.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6085, allocations: 13.89 kB / 476.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/0.6088, allocations: 125.7 kB / 477.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006956/0.6158, allocations: 0.5827 MB / 477.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.6173, allocations: 0.612 MB / 478.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.421e-05/0.6174, allocations: 65.88 kB / 478.3 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.6176, allocations: 75.17 kB / 478.4 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004764/0.6224, allocations: 1.366 MB / 479.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/0.6225, allocations: 4.797 kB / 479.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001406/0.6226, allocations: 35.88 kB / 479.8 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.6226, allocations: 20 kB / 479.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.6277, allocations: 1.235 MB / 481.1 MB, free: 3.309 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.009106/0.6369, allocations: 5.474 MB / 486.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004624/0.6415, allocations: 0.8589 MB / 487.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4771/1.119, allocations: 92.51 MB / 0.5663 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.446e-05/1.119, allocations: 43.3 kB / 0.5664 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008093/1.12, allocations: 92.95 kB / 0.5664 GB, free: 10.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=58): time 3.576e-06/1.12, allocations: 0 / 0.5664 GB, free: 10.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.008502/1.128, allocations: 1.581 MB / 0.568 GB, free: 8.895 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.128, allocations: 192.2 kB / 0.5682 GB, free: 8.668 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/1.129, allocations: 0.5448 MB / 0.5687 GB, free: 8.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.304e-05/1.129, allocations: 37.33 kB / 0.5687 GB, free: 8.199 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/1.13, allocations: 432.7 kB / 0.5691 GB, free: 7.883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/1.13, allocations: 199.8 kB / 0.5693 GB, free: 7.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/1.13, allocations: 16 kB / 0.5694 GB, free: 7.684 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/1.13, allocations: 382.8 kB / 0.5697 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.131, allocations: 221.8 kB / 0.5699 GB, free: 7.086 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/1.133, allocations: 0.5436 MB / 0.5705 GB, free: 6.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/1.134, allocations: 307.2 kB / 0.5708 GB, free: 6.117 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.134, allocations: 4 kB / 0.5708 GB, free: 6.113 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003325/1.137, allocations: 0.8829 MB / 0.5716 GB, free: 5.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001739/1.139, allocations: 3.832 MB / 0.5754 GB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/1.139, allocations: 12 kB / 0.5754 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007836/1.147, allocations: 438.5 kB / 0.5758 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.149, allocations: 198.8 kB / 0.576 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/1.15, allocations: 1.14 MB / 0.5771 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.151, allocations: 58.83 kB / 0.5772 GB, free: 15.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.151, allocations: 47.98 kB / 0.5772 GB, free: 15.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.151, allocations: 5.406 kB / 0.5772 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002909/1.154, allocations: 0.7568 MB / 0.5779 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.154, allocations: 12 kB / 0.578 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/1.154, allocations: 16 kB / 0.578 GB, free: 14.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/1.156, allocations: 218.8 kB / 0.5782 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.548e-05/1.156, allocations: 17.59 kB / 0.5782 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.157, allocations: 67.8 kB / 0.5783 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.157, allocations: 47.98 kB / 0.5783 GB, free: 14.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006239/1.158, allocations: 316.9 kB / 0.5786 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/1.158, allocations: 71.16 kB / 0.5787 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00752/1.165, allocations: 3.565 MB / 0.5822 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.949e-05/1.166, allocations: 52.06 kB / 0.5822 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/1.166, allocations: 3.953 kB / 0.5822 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/1.166, allocations: 7.969 kB / 0.5822 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/1.169, allocations: 1.702 MB / 0.5839 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.669e-06/1.169, allocations: 0 / 0.5839 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/1.17, allocations: 131.8 kB / 0.584 GB, free: 8.312 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003564/1.173, allocations: 0.7866 MB / 0.5848 GB, free: 7.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/1.174, allocations: 23.98 kB / 0.5848 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/1.175, allocations: 1.533 MB / 0.5863 GB, free: 5.914 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.175, allocations: 3.938 kB / 0.5863 GB, free: 5.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/1.18, allocations: 2.049 MB / 0.5883 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/1.181, allocations: 418 kB / 0.5887 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/1.181, allocations: 12 kB / 0.5887 GB, free: 3.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/1.182, allocations: 51.86 kB / 0.5888 GB, free: 3.312 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.182, allocations: 59.88 kB / 0.5888 GB, free: 3.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.563e-05/1.182, allocations: 27.92 kB / 0.5888 GB, free: 3.227 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001097/1.183, allocations: 0.5335 MB / 0.5894 GB, free: 2.684 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.663e-06/1.183, allocations: 0 / 0.5894 GB, free: 2.684 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005215/1.188, allocations: 1.24 MB / 0.5906 GB, free: 1.445 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.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 (70): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.3011/1.49, allocations: 3.488 MB / 0.594 GB, free: 182.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004905/1.495, allocations: 1.404 MB / 0.5954 GB, free: 182.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/1.495, allocations: 1 kB / 0.5954 GB, free: 182.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/1.496, allocations: 0.8238 MB / 0.5962 GB, free: 182.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.5, allocations: 357 kB / 0.5965 GB, free: 182.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01858/1.518, allocations: 13.37 MB / 0.6096 GB, free: 173.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009851/1.519, allocations: 1.294 MB / 0.6108 GB, free: 172.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00339/1.523, allocations: 1.139 MB / 0.6119 GB, free: 172.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009874/1.524, allocations: 0.5463 MB / 0.6125 GB, free: 171.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.062e-06/1.524, allocations: 0 / 0.6125 GB, free: 171.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/1.654, allocations: 57.06 MB / 0.6682 GB, free: 120.9 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/1.655, allocations: 262.4 kB / 0.6684 GB, free: 120.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/8.158, allocations: 0 / 0.6684 GB, free: 120.6 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat