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.Air.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.Air,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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.0109/0.01091, allocations: 107.5 kB / 15.06 MB, free: 6.023 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.00246/0.00246, allocations: 182.9 kB / 15.95 MB, free: 5.957 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 1.896/1.896, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.2922/0.2922, allocations: 40.04 MB / 296.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004659, allocations: 8 kB / 361.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1168, allocations: 54.87 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6032/0.72, allocations: 141.8 MB / 0.5447 GB, free: 6.871 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0234/0.7435, allocations: 8.728 MB / 0.5532 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.7447, allocations: 25.66 kB / 0.5533 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.7459, allocations: 278.2 kB / 0.5535 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.7509, allocations: 1.175 MB / 0.5547 GB, free: 15.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004109/0.7551, allocations: 0.9021 MB / 0.5556 GB, free: 15.13 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.7575, allocations: 1.051 MB / 0.5566 GB, free: 14.08 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009148/0.7585, allocations: 379 kB / 0.5569 GB, free: 13.71 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.7611, allocations: 0.7363 MB / 0.5577 GB, free: 12.97 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.7624, allocations: 446.5 kB / 0.5581 GB, free: 12.53 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.7626, allocations: 32 kB / 0.5581 GB, free: 12.5 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002409/0.765, allocations: 0.6281 MB / 0.5587 GB, free: 11.87 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004518/0.7655, allocations: 219.4 kB / 0.5589 GB, free: 11.66 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003226/0.7658, allocations: 169.3 kB / 0.5591 GB, free: 11.48 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002106/0.768, allocations: 0.9806 MB / 0.5601 GB, free: 10.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.768, allocations: 0 / 0.5601 GB, free: 10.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.768, allocations: 0 / 0.5601 GB, free: 10.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.768, allocations: 0 / 0.5601 GB, free: 10.51 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.003118/0.7712, allocations: 0.9809 MB / 0.561 GB, free: 9.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.7712, allocations: 16.02 kB / 0.561 GB, free: 9.469 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.7715, allocations: 101.2 kB / 0.5611 GB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.7728, allocations: 131.1 kB / 0.5613 GB, free: 9.234 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.7742, allocations: 0.4888 MB / 0.5617 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.7744, allocations: 108.3 kB / 0.5618 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.7746, allocations: 48 kB / 0.5619 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.7768, allocations: 0.8058 MB / 0.5627 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.492e-05/0.7769, allocations: 3.938 kB / 0.5627 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.777, allocations: 24 kB / 0.5627 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.7771, allocations: 36.97 kB / 0.5627 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.779, allocations: 0.6243 MB / 0.5633 GB, free: 6.965 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.007297/0.7864, allocations: 3.94 MB / 0.5672 GB, free: 2.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009636/0.7874, allocations: 339.4 kB / 0.5675 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.7875, allocations: 24.92 kB / 0.5675 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/0.7876, allocations: 42.8 kB / 0.5676 GB, free: 2.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 4.649e-06/0.7876, allocations: 4 kB / 0.5676 GB, free: 2.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.009606/0.7972, allocations: 1.631 MB / 0.5692 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.7973, allocations: 132.5 kB / 0.5693 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.7985, allocations: 0.5976 MB / 0.5699 GB, free: 15.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.7987, allocations: 33.7 kB / 0.5699 GB, free: 15.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.7991, allocations: 386.6 kB / 0.5703 GB, free: 15.47 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.7993, allocations: 145.9 kB / 0.5704 GB, free: 15.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.7994, allocations: 12 kB / 0.5704 GB, free: 15.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.7996, allocations: 374.8 kB / 0.5708 GB, free: 14.94 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006556/0.8003, allocations: 201.9 kB / 0.571 GB, free: 14.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009769/0.8013, allocations: 0.5392 MB / 0.5715 GB, free: 14.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008904/0.8022, allocations: 292.8 kB / 0.5718 GB, free: 13.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.8022, allocations: 4 kB / 0.5718 GB, free: 13.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002652/0.8049, allocations: 0.887 MB / 0.5727 GB, free: 12.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.805, allocations: 15.75 kB / 0.5727 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.805, allocations: 12 kB / 0.5727 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/0.8074, allocations: 312.5 kB / 0.573 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000831/0.8082, allocations: 140.6 kB / 0.5731 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.81, allocations: 0.8897 MB / 0.574 GB, free: 11.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.8111, allocations: 48.03 kB / 0.574 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.8113, allocations: 75.94 kB / 0.5741 GB, free: 11.35 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.0005771/0.8119, allocations: 244.2 kB / 0.5743 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002159/0.8121, allocations: 75.16 kB / 0.5744 GB, free: 11.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.8147, allocations: 0.6776 MB / 0.5751 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.8147, allocations: 4 kB / 0.5751 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.8148, allocations: 0 / 0.5751 GB, free: 10.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.8148, allocations: 7.953 kB / 0.5751 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.8182, allocations: 1.262 MB / 0.5763 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.8183, allocations: 0 / 0.5763 GB, free: 8.973 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/0.8203, allocations: 215.9 kB / 0.5765 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.8205, allocations: 16.84 kB / 0.5765 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.8207, allocations: 23.98 kB / 0.5766 GB, free: 8.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002966/0.8236, allocations: 2.691 MB / 0.5792 GB, free: 5.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8237, allocations: 7.969 kB / 0.5792 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.8259, allocations: 0.8558 MB / 0.58 GB, free: 4.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/0.8264, allocations: 180.3 kB / 0.5802 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.8266, allocations: 12 kB / 0.5802 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.8274, allocations: 27.97 kB / 0.5802 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/0.8275, allocations: 35.92 kB / 0.5803 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/0.8277, allocations: 43.97 kB / 0.5803 GB, free: 4.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008385/0.8285, allocations: 419 kB / 0.5807 GB, free: 4.121 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8286, allocations: 0 / 0.5807 GB, free: 4.121 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001626/0.8302, allocations: 292 kB / 0.581 GB, free: 3.836 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.003895/0.8341, allocations: 2.004 MB / 0.583 GB, free: 1.773 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.8362, allocations: 0.5571 MB / 0.5835 GB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.8362, allocations: 0 / 0.5835 GB, free: 1.219 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.8381, allocations: 413.4 kB / 0.5839 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002679/0.8408, allocations: 314.2 kB / 0.5842 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.8539, allocations: 11.4 MB / 0.5953 GB, free: 4.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006868/0.8547, allocations: 0.9416 MB / 0.5962 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001814/0.8565, allocations: 266.9 kB / 0.5965 GB, free: 3.598 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008/0.8573, allocations: 267.3 kB / 0.5968 GB, free: 3.336 MB / 458.7 MB Notification: Performance of SimCode: time 1.383e-06/0.8573, allocations: 3.938 kB / 0.5968 GB, free: 3.332 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3736/1.231, allocations: 23.08 MB / 0.6193 GB, free: 151.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/1.231, allocations: 277.9 kB / 0.6196 GB, free: 151.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.574/4.805, allocations: 3.75 kB / 0.6196 GB, free: 151.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.Air_res.mat does not exist to compare? outputFormat=mat