Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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.01083/0.01083, allocations: 107.1 kB / 15.06 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.2.mo): time 0.00127/0.00127, allocations: 182.8 kB / 15.95 MB, free: 5.953 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.147/2.147, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.2693/0.2693, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004732, allocations: 12 kB / 361.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1193, allocations: 54.89 MB / 416 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5107/0.63, allocations: 125.7 MB / 0.529 GB, free: 2.184 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.6326, allocations: 1.231 MB / 0.5302 GB, free: 1.336 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.517e-05/0.6327, allocations: 0 / 0.5302 GB, free: 1.336 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.6331, allocations: 39.98 kB / 0.5302 GB, free: 1.312 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.6343, allocations: 284.2 kB / 0.5305 GB, free: 1.148 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006483/0.635, allocations: 121.8 kB / 0.5306 GB, free: 1.09 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.6353, allocations: 118.6 kB / 0.5307 GB, free: 1.031 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.6354, allocations: 4.875 kB / 0.5307 GB, free: 1.031 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002488/0.6357, allocations: 83.16 kB / 0.5308 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.6358, allocations: 42.91 kB / 0.5309 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.6359, allocations: 4.031 kB / 0.5309 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.6375, allocations: 438.6 kB / 0.5313 GB, free: 0.875 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.149e-05/0.6376, allocations: 25.53 kB / 0.5313 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.6377, allocations: 49.89 kB / 0.5314 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007906/0.6385, allocations: 254.7 kB / 0.5316 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6385, allocations: 0 / 0.5316 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6385, allocations: 1.375 kB / 0.5316 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.6386, allocations: 0 / 0.5316 GB, free: 0.7695 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006698/0.6392, allocations: 405.8 kB / 0.532 GB, free: 396 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6393, allocations: 11.86 kB / 0.532 GB, free: 392 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.694e-05/0.6394, allocations: 39.36 kB / 0.532 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.643, allocations: 200.2 kB / 0.5322 GB, free: 320 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.6435, allocations: 208.9 kB / 0.5324 GB, free: 96 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.6435, allocations: 6.656 kB / 0.5324 GB, free: 92 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.586e-05/0.6436, allocations: 9.938 kB / 0.5324 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007806/0.6444, allocations: 199.8 kB / 0.5326 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.6444, allocations: 0 / 0.5326 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.6445, allocations: 4 kB / 0.5326 GB, free: 0 / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.6445, allocations: 2.281 kB / 0.5326 GB, free: 0 / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.6456, allocations: 244.4 kB / 0.5329 GB, free: 15.91 MB / 410.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.002857/0.6484, allocations: 0.6751 MB / 0.5335 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007389/0.6492, allocations: 186.7 kB / 0.5337 GB, free: 15.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002259/0.6494, allocations: 99.5 kB / 0.5338 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.695e-05/0.6495, allocations: 31.27 kB / 0.5338 GB, free: 15.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.896e-06/0.6495, allocations: 0 / 0.5338 GB, free: 15.19 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.01001/0.6595, allocations: 1.532 MB / 0.5353 GB, free: 14.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.6596, allocations: 55.88 kB / 0.5354 GB, free: 14.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.6597, allocations: 113.2 kB / 0.5355 GB, free: 14.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.6598, allocations: 28.95 kB / 0.5355 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.6599, allocations: 106.2 kB / 0.5356 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/0.66, allocations: 67.31 kB / 0.5357 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.66, allocations: 4 kB / 0.5357 GB, free: 13.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6602, allocations: 321.2 kB / 0.536 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.6606, allocations: 90.34 kB / 0.5361 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004088/0.661, allocations: 127.7 kB / 0.5362 GB, free: 13.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.6614, allocations: 91.98 kB / 0.5363 GB, free: 13.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6614, allocations: 0 / 0.5363 GB, free: 13.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001073/0.6625, allocations: 289.5 kB / 0.5366 GB, free: 13.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6625, allocations: 9.188 kB / 0.5366 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6626, allocations: 3.906 kB / 0.5366 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.6628, allocations: 29.52 kB / 0.5366 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008267/0.6636, allocations: 55.23 kB / 0.5367 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005219/0.6642, allocations: 0.5305 MB / 0.5372 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.6647, allocations: 12.41 kB / 0.5372 GB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.6648, allocations: 12.08 kB / 0.5372 GB, free: 12.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.665, allocations: 123.7 kB / 0.5373 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.6651, allocations: 14.3 kB / 0.5373 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.6664, allocations: 325.8 kB / 0.5376 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6664, allocations: 1.312 kB / 0.5376 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.6665, allocations: 3.312 kB / 0.5376 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6665, allocations: 0.6094 kB / 0.5376 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.6683, allocations: 0.6623 MB / 0.5383 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6684, allocations: 0 / 0.5383 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008162/0.6692, allocations: 56.48 kB / 0.5383 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001212/0.6693, allocations: 20.22 kB / 0.5384 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.011e-05/0.6694, allocations: 13.33 kB / 0.5384 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.6706, allocations: 1.267 MB / 0.5396 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.6706, allocations: 9.312 kB / 0.5396 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.6721, allocations: 487.5 kB / 0.5401 GB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.6722, allocations: 92.53 kB / 0.5402 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.6723, allocations: 7.062 kB / 0.5402 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.6729, allocations: 9.844 kB / 0.5402 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.6729, allocations: 14.02 kB / 0.5402 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.673, allocations: 13.67 kB / 0.5402 GB, free: 10.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.178e-05/0.6731, allocations: 96.33 kB / 0.5403 GB, free: 10.12 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6731, allocations: 3.938 kB / 0.5403 GB, free: 10.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008311/0.6739, allocations: 126 kB / 0.5404 GB, free: 10.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002857/0.6768, allocations: 1.358 MB / 0.5418 GB, free: 8.984 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.6779, allocations: 232.8 kB / 0.542 GB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6779, allocations: 2.688 kB / 0.542 GB, free: 8.906 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006152/0.6786, allocations: 233 kB / 0.5422 GB, free: 8.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005952/0.6792, allocations: 45.92 kB / 0.5423 GB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.6826, allocations: 1.607 MB / 0.5438 GB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.683, allocations: 0.7176 MB / 0.5445 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007538/0.6838, allocations: 50.84 kB / 0.5446 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.684, allocations: 38.44 kB / 0.5446 GB, free: 6.793 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6841, allocations: 0 / 0.5446 GB, free: 6.793 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.7186, allocations: 7.541 MB / 0.552 GB, free: 2.172 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003649/0.7191, allocations: 209.4 kB / 0.5522 GB, free: 1.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.55, allocations: 0 / 0.5522 GB, free: 1.93 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat