Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2",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.01123/0.01124, allocations: 109.4 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.001236/0.001236, allocations: 177 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 1.984/1.984, allocations: 194.6 MB / 211.3 MB, free: 11.2 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.3394/0.3394, allocations: 40.03 MB / 296.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004567, allocations: 12 kB / 361.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 54.89 MB / 416 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4959/0.6163, allocations: 125.5 MB / 0.5289 GB, free: 2.312 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.6182, allocations: 0.8181 MB / 0.5297 GB, free: 1.746 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.095e-05/0.6183, allocations: 0 / 0.5297 GB, free: 1.746 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.6186, allocations: 29.59 kB / 0.5297 GB, free: 1.73 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009394/0.6195, allocations: 207.3 kB / 0.5299 GB, free: 1.609 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005199/0.6201, allocations: 95.56 kB / 0.53 GB, free: 1.562 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.6203, allocations: 104.9 kB / 0.5301 GB, free: 1.512 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.925e-05/0.6204, allocations: 5.359 kB / 0.5301 GB, free: 1.512 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.6207, allocations: 87.23 kB / 0.5302 GB, free: 1.477 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.6209, allocations: 45.31 kB / 0.5302 GB, free: 1.457 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.6209, allocations: 8.281 kB / 0.5302 GB, free: 1.453 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.622, allocations: 279.1 kB / 0.5305 GB, free: 1.395 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.135e-05/0.6221, allocations: 23.27 kB / 0.5305 GB, free: 1.383 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.238e-05/0.6221, allocations: 40.55 kB / 0.5305 GB, free: 1.348 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.6227, allocations: 193.8 kB / 0.5307 GB, free: 1.312 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.6227, allocations: 0 / 0.5307 GB, free: 1.312 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6227, allocations: 0 / 0.5307 GB, free: 1.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.6227, allocations: 1.094 kB / 0.5307 GB, free: 1.312 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006042/0.6233, allocations: 387.2 kB / 0.5311 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.6234, allocations: 10.33 kB / 0.5311 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.13e-05/0.6235, allocations: 45.19 kB / 0.5311 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.627, allocations: 188.1 kB / 0.5313 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.6274, allocations: 206.7 kB / 0.5315 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.6274, allocations: 6.75 kB / 0.5315 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.327e-05/0.6275, allocations: 6.297 kB / 0.5315 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008194/0.6283, allocations: 225.2 kB / 0.5318 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.6284, allocations: 3.938 kB / 0.5318 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.6284, allocations: 0.7031 kB / 0.5318 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.6285, allocations: 3.922 kB / 0.5318 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007433/0.6292, allocations: 165.8 kB / 0.5319 GB, free: 484 kB / 394.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.001584/0.6308, allocations: 0.5835 MB / 0.5325 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00058/0.6314, allocations: 137.1 kB / 0.5326 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.6315, allocations: 5.812 kB / 0.5326 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.6315, allocations: 37.81 kB / 0.5327 GB, free: 15.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.6315, allocations: 2.719 kB / 0.5327 GB, free: 15.84 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.009094/0.6406, allocations: 1.305 MB / 0.5339 GB, free: 15.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.6407, allocations: 58.22 kB / 0.534 GB, free: 15.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.6409, allocations: 112.5 kB / 0.5341 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.6409, allocations: 36.48 kB / 0.5341 GB, free: 14.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.641, allocations: 93.81 kB / 0.5342 GB, free: 14.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.481e-05/0.6411, allocations: 76.05 kB / 0.5343 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.6411, allocations: 0 / 0.5343 GB, free: 14.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6413, allocations: 320.1 kB / 0.5346 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.6415, allocations: 74.2 kB / 0.5347 GB, free: 14.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.6418, allocations: 101 kB / 0.5348 GB, free: 14.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.6421, allocations: 77.3 kB / 0.5348 GB, free: 14.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6422, allocations: 1.969 kB / 0.5348 GB, free: 14.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008512/0.643, allocations: 262.8 kB / 0.5351 GB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6431, allocations: 5.062 kB / 0.5351 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6431, allocations: 0.6094 kB / 0.5351 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.6434, allocations: 53.08 kB / 0.5351 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005757/0.6439, allocations: 54.5 kB / 0.5352 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005977/0.6446, allocations: 0.5663 MB / 0.5358 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.6449, allocations: 11.56 kB / 0.5358 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.645, allocations: 21.28 kB / 0.5358 GB, free: 13.66 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.0001847/0.6452, allocations: 128.8 kB / 0.5359 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.6453, allocations: 14.47 kB / 0.5359 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.6466, allocations: 349.3 kB / 0.5363 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6467, allocations: 2.656 kB / 0.5363 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6467, allocations: 0 / 0.5363 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.6467, allocations: 2.719 kB / 0.5363 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.6482, allocations: 0.6134 MB / 0.5369 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6483, allocations: 4.031 kB / 0.5369 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/0.6489, allocations: 61.53 kB / 0.5369 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.6491, allocations: 22.16 kB / 0.5369 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.6491, allocations: 17.33 kB / 0.537 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.6503, allocations: 1.269 MB / 0.5382 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.6504, allocations: 4.516 kB / 0.5382 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/0.6516, allocations: 467 kB / 0.5386 GB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.6517, allocations: 86.08 kB / 0.5387 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.6517, allocations: 12.31 kB / 0.5387 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.6521, allocations: 6.922 kB / 0.5387 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.709e-05/0.6522, allocations: 31.38 kB / 0.5388 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/0.6523, allocations: 26.8 kB / 0.5388 GB, free: 11.15 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.6524, allocations: 87.17 kB / 0.5389 GB, free: 11.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6524, allocations: 0 / 0.5389 GB, free: 11.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006334/0.653, allocations: 81.98 kB / 0.539 GB, free: 11.06 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 (21): * Single equations (assignments): 20 * 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.001959/0.655, allocations: 1.259 MB / 0.5402 GB, free: 9.988 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008222/0.6559, allocations: 198.4 kB / 0.5404 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6559, allocations: 0 / 0.5404 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005096/0.6564, allocations: 226 kB / 0.5406 GB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.657, allocations: 51.19 kB / 0.5406 GB, free: 9.773 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.66, allocations: 1.546 MB / 0.5422 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.6604, allocations: 0.7172 MB / 0.5429 GB, free: 7.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007965/0.6612, allocations: 76.44 kB / 0.5429 GB, free: 7.879 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.6616, allocations: 68.45 kB / 0.543 GB, free: 7.848 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6616, allocations: 0 / 0.543 GB, free: 7.848 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03385/0.6954, allocations: 6.862 MB / 0.5497 GB, free: 4.535 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003159/0.6958, allocations: 205.8 kB / 0.5499 GB, free: 4.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.654/3.35, allocations: 3.938 kB / 0.5499 GB, free: 4.289 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat