Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.01121/0.01121, allocations: 108 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.00166/0.00166, allocations: 181 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.292/2.292, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.305/0.305, allocations: 40.04 MB / 296.5 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006997/0.0006999, allocations: 16 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1405, allocations: 54.87 MB / 416 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.6072/0.7478, allocations: 141.7 MB / 0.5447 GB, free: 6.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.763, allocations: 7.253 MB / 0.5518 GB, free: 1.824 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001143/0.7641, allocations: 26.44 kB / 0.5518 GB, free: 1.809 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.7654, allocations: 267.7 kB / 0.552 GB, free: 1.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005626/0.7711, allocations: 1.267 MB / 0.5533 GB, free: 0.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004557/0.7757, allocations: 0.9864 MB / 0.5542 GB, free: 380 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002635/0.7783, allocations: 1.047 MB / 0.5553 GB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009417/0.7793, allocations: 377 kB / 0.5556 GB, free: 15.04 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.782, allocations: 0.7401 MB / 0.5563 GB, free: 14.3 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/0.7839, allocations: 0.5567 MB / 0.5569 GB, free: 13.74 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002433/0.7842, allocations: 28 kB / 0.5569 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.7868, allocations: 0.6281 MB / 0.5575 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005373/0.7874, allocations: 215.4 kB / 0.5577 GB, free: 12.88 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.7878, allocations: 161.4 kB / 0.5579 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.7903, allocations: 0.9922 MB / 0.5589 GB, free: 11.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7903, allocations: 4 kB / 0.5589 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7903, allocations: 0 / 0.5589 GB, free: 11.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.7903, allocations: 0 / 0.5589 GB, free: 11.72 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00325/0.7936, allocations: 0.981 MB / 0.5598 GB, free: 10.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.7937, allocations: 8.031 kB / 0.5598 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002764/0.794, allocations: 102.5 kB / 0.5599 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.7952, allocations: 131.1 kB / 0.56 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.7966, allocations: 0.4927 MB / 0.5605 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.7968, allocations: 106 kB / 0.5606 GB, free: 9.797 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.797, allocations: 51.98 kB / 0.5607 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.7992, allocations: 0.8129 MB / 0.5615 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.7993, allocations: 7.938 kB / 0.5615 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.7994, allocations: 20 kB / 0.5615 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001/0.7995, allocations: 40.97 kB / 0.5615 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.8015, allocations: 0.6166 MB / 0.5621 GB, free: 8.176 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.007099/0.8086, allocations: 3.94 MB / 0.566 GB, free: 3.992 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009564/0.8096, allocations: 335.4 kB / 0.5663 GB, free: 3.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.8097, allocations: 29.17 kB / 0.5663 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.8098, allocations: 42.83 kB / 0.5664 GB, free: 3.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 2.565e-06/0.8098, allocations: 4 kB / 0.5664 GB, free: 3.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.009374/0.8192, allocations: 1.627 MB / 0.568 GB, free: 1.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.8193, allocations: 132.5 kB / 0.5681 GB, free: 1.719 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.8204, allocations: 0.6014 MB / 0.5687 GB, free: 1.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.8205, allocations: 29.7 kB / 0.5687 GB, free: 1.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003867/0.8209, allocations: 386.6 kB / 0.5691 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.8211, allocations: 145.9 kB / 0.5692 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.489e-05/0.8212, allocations: 16 kB / 0.5692 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.8214, allocations: 370.8 kB / 0.5696 GB, free: 160 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.822, allocations: 201.9 kB / 0.5698 GB, free: 15.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009135/0.823, allocations: 0.5314 MB / 0.5703 GB, free: 15.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/0.8238, allocations: 300.8 kB / 0.5706 GB, free: 14.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.8238, allocations: 7.984 kB / 0.5706 GB, free: 14.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002537/0.8264, allocations: 0.8879 MB / 0.5715 GB, free: 14.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.8264, allocations: 8 kB / 0.5715 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.8265, allocations: 17.89 kB / 0.5715 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.8289, allocations: 313.2 kB / 0.5718 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/0.8297, allocations: 131.8 kB / 0.5719 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.8315, allocations: 0.8957 MB / 0.5728 GB, free: 12.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009616/0.8324, allocations: 48.03 kB / 0.5728 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.8326, allocations: 68 kB / 0.5729 GB, free: 12.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005399/0.8332, allocations: 262.7 kB / 0.5731 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.8334, allocations: 67.16 kB / 0.5732 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/0.8358, allocations: 0.6677 MB / 0.5739 GB, free: 11.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.8359, allocations: 7.938 kB / 0.5739 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.8359, allocations: 4 kB / 0.5739 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.8359, allocations: 4 kB / 0.5739 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.839, allocations: 1.266 MB / 0.5751 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.839, allocations: 8.156 kB / 0.5751 GB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002339/0.8414, allocations: 207.4 kB / 0.5753 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.8417, allocations: 24.84 kB / 0.5753 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.8418, allocations: 27.92 kB / 0.5754 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.8459, allocations: 2.68 MB / 0.578 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.846, allocations: 0 / 0.578 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.849, allocations: 0.8596 MB / 0.5788 GB, free: 6.059 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000592/0.8496, allocations: 184.2 kB / 0.579 GB, free: 5.859 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.8498, allocations: 12 kB / 0.579 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009586/0.8508, allocations: 19.98 kB / 0.579 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.851, allocations: 43.75 kB / 0.5791 GB, free: 5.785 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.8512, allocations: 52 kB / 0.5791 GB, free: 5.734 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001125/0.8523, allocations: 415 kB / 0.5795 GB, free: 5.332 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8524, allocations: 0 / 0.5795 GB, free: 5.332 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002202/0.8546, allocations: 292 kB / 0.5798 GB, free: 5.047 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005519/0.8601, allocations: 2.004 MB / 0.5818 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002606/0.8628, allocations: 0.5453 MB / 0.5823 GB, free: 2.441 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.8628, allocations: 5.5 kB / 0.5823 GB, free: 2.438 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.8651, allocations: 420 kB / 0.5827 GB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01046/0.8756, allocations: 310.1 kB / 0.583 GB, free: 1.723 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03482/0.9105, allocations: 11.41 MB / 0.5941 GB, free: 6.027 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.9116, allocations: 0.9416 MB / 0.595 GB, free: 5.059 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005613/0.9172, allocations: 258 kB / 0.5953 GB, free: 4.812 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.9184, allocations: 275.3 kB / 0.5956 GB, free: 4.543 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/0.9184, allocations: 0 / 0.5956 GB, free: 4.543 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3929/1.311, allocations: 23.08 MB / 0.6181 GB, free: 150.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/1.312, allocations: 283.6 kB / 0.6184 GB, free: 150.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/4.62, allocations: 0 / 0.6184 GB, free: 150.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat