Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.01188/0.01188, allocations: 105.9 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.001254/0.001254, allocations: 182 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.021/2.021, allocations: 194.5 MB / 211.2 MB, free: 11.03 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.3316/0.3316, allocations: 40.04 MB / 296.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008047/0.0008051, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1233, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.5286/0.6519, allocations: 126.1 MB / 0.5294 GB, free: 1.867 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.6644, allocations: 6.837 MB / 0.5361 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.6647, allocations: 2.406 kB / 0.5361 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.665, allocations: 46.11 kB / 0.5362 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.6702, allocations: 1.161 MB / 0.5373 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.6708, allocations: 128.6 kB / 0.5374 GB, free: 12.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.6715, allocations: 271.3 kB / 0.5377 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.812e-05/0.6716, allocations: 9.016 kB / 0.5377 GB, free: 12.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.672, allocations: 168.8 kB / 0.5378 GB, free: 12.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.6725, allocations: 155.7 kB / 0.538 GB, free: 12.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.6725, allocations: 5.906 kB / 0.538 GB, free: 12.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004176/0.6767, allocations: 1.098 MB / 0.5391 GB, free: 11.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.6769, allocations: 52.17 kB / 0.5391 GB, free: 11.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.6771, allocations: 62.95 kB / 0.5392 GB, free: 11.74 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.6794, allocations: 0.6247 MB / 0.5398 GB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6795, allocations: 3.25 kB / 0.5398 GB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6795, allocations: 0 / 0.5398 GB, free: 11.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.6795, allocations: 0 / 0.5398 GB, free: 11.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002192/0.6817, allocations: 0.6653 MB / 0.5404 GB, free: 11.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.6818, allocations: 8.344 kB / 0.5404 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.6819, allocations: 65.83 kB / 0.5405 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.6954, allocations: 0.5909 MB / 0.5411 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.6962, allocations: 251.2 kB / 0.5413 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.6964, allocations: 126.7 kB / 0.5414 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.6966, allocations: 22.81 kB / 0.5415 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.6986, allocations: 0.5611 MB / 0.542 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.6987, allocations: 3.938 kB / 0.542 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.6988, allocations: 13.12 kB / 0.542 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.6988, allocations: 5 kB / 0.542 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.7013, allocations: 0.6342 MB / 0.5427 GB, free: 10.19 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.003418/0.7048, allocations: 1.617 MB / 0.5442 GB, free: 8.801 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.7054, allocations: 158.3 kB / 0.5444 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.7065, allocations: 0.6716 MB / 0.545 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.7065, allocations: 34.56 kB / 0.5451 GB, free: 8.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.7065, allocations: 0 / 0.5451 GB, free: 8.062 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=18): time 0.001662/0.7082, allocations: 335.4 kB / 0.5454 GB, free: 7.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.965e-05/0.7083, allocations: 53.56 kB / 0.5454 GB, free: 7.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.7086, allocations: 190.8 kB / 0.5456 GB, free: 7.746 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.7086, allocations: 33.33 kB / 0.5457 GB, free: 7.711 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.7088, allocations: 180.4 kB / 0.5458 GB, free: 7.551 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.698e-05/0.7089, allocations: 65.98 kB / 0.5459 GB, free: 7.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.7089, allocations: 4 kB / 0.5459 GB, free: 7.496 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.7091, allocations: 329.5 kB / 0.5462 GB, free: 7.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.7093, allocations: 64.12 kB / 0.5463 GB, free: 7.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000383/0.7097, allocations: 258 kB / 0.5465 GB, free: 6.883 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.7101, allocations: 107.3 kB / 0.5466 GB, free: 6.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.7101, allocations: 0 / 0.5466 GB, free: 6.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009599/0.7111, allocations: 364.2 kB / 0.547 GB, free: 6.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.7111, allocations: 14.69 kB / 0.547 GB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.7111, allocations: 11.34 kB / 0.547 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.7112, allocations: 14.23 kB / 0.547 GB, free: 6.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.7119, allocations: 122.8 kB / 0.5471 GB, free: 6.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004935/0.7124, allocations: 0.5979 MB / 0.5477 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005326/0.7129, allocations: 46.62 kB / 0.5478 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.7131, allocations: 44.97 kB / 0.5478 GB, free: 6.043 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002461/0.7133, allocations: 146.8 kB / 0.5479 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.7134, allocations: 22.05 kB / 0.548 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.7147, allocations: 296.2 kB / 0.5482 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.7147, allocations: 2.406 kB / 0.5482 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7147, allocations: 0 / 0.5482 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.7147, allocations: 1.844 kB / 0.5482 GB, free: 5.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.7158, allocations: 0.538 MB / 0.5488 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.7158, allocations: 2.562 kB / 0.5488 GB, free: 5.305 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.7162, allocations: 58.81 kB / 0.5488 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.7162, allocations: 0 / 0.5488 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.7163, allocations: 8.312 kB / 0.5488 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004763/0.7168, allocations: 0.5954 MB / 0.5494 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7168, allocations: 2.312 kB / 0.5494 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.7174, allocations: 315.7 kB / 0.5497 GB, free: 4.359 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.7176, allocations: 113.7 kB / 0.5498 GB, free: 4.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.7177, allocations: 4 kB / 0.5498 GB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.7181, allocations: 13.45 kB / 0.5498 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.876e-05/0.7182, allocations: 24.3 kB / 0.5499 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.968e-05/0.7183, allocations: 20.27 kB / 0.5499 GB, free: 4.191 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.7185, allocations: 136 kB / 0.55 GB, free: 4.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7185, allocations: 0 / 0.55 GB, free: 4.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001103/0.7196, allocations: 196.3 kB / 0.5502 GB, free: 3.883 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (15): * Single equations (assignments): 14 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002226/0.7219, allocations: 1.347 MB / 0.5515 GB, free: 2.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009255/0.7228, allocations: 219.9 kB / 0.5517 GB, free: 2.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7228, allocations: 0.5 kB / 0.5517 GB, free: 2.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.7232, allocations: 88.7 kB / 0.5518 GB, free: 2.211 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006414/0.7239, allocations: 44.72 kB / 0.5519 GB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005419/0.7293, allocations: 5.842 MB / 0.5576 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.7297, allocations: 0.7325 MB / 0.5583 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001022/0.7308, allocations: 110.9 kB / 0.5584 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.7311, allocations: 75.41 kB / 0.5585 GB, free: 11.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.133e-06/0.7311, allocations: 0 / 0.5585 GB, free: 11.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.7675, allocations: 7.71 MB / 0.566 GB, free: 3.652 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/0.7679, allocations: 258.8 kB / 0.5662 GB, free: 3.312 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.526, allocations: 0 / 0.5662 GB, free: 3.312 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat does not exist to compare? outputFormat=mat