Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.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.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_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.01599/0.01599, allocations: 107.5 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.00184/0.00184, allocations: 181.8 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.06/2.06, allocations: 194.6 MB / 211.3 MB, free: 11.22 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.2659/0.2659, allocations: 40.04 MB / 296.5 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000521/0.0005215, allocations: 16.05 kB / 361.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1135, allocations: 54.86 MB / 416 MB, free: 9.031 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.5263/0.6398, allocations: 126.8 MB / 0.5301 GB, free: 7.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004973/0.6448, allocations: 2.48 MB / 0.5325 GB, free: 5.488 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.854e-05/0.6449, allocations: 0 / 0.5325 GB, free: 5.488 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.6452, allocations: 39.78 kB / 0.5326 GB, free: 5.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.6453, allocations: 31.94 kB / 0.5326 GB, free: 5.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.647, allocations: 366.8 kB / 0.5329 GB, free: 5.059 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.6472, allocations: 67.84 kB / 0.533 GB, free: 4.992 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.529e-05/0.6473, allocations: 0 / 0.533 GB, free: 4.992 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.6474, allocations: 27.92 kB / 0.533 GB, free: 4.965 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.6475, allocations: 23.92 kB / 0.5331 GB, free: 4.941 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.6475, allocations: 4 kB / 0.5331 GB, free: 4.938 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.6495, allocations: 495 kB / 0.5335 GB, free: 4.453 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.6495, allocations: 7.984 kB / 0.5335 GB, free: 4.445 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.6496, allocations: 41.64 kB / 0.5336 GB, free: 4.398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.6502, allocations: 200.1 kB / 0.5338 GB, free: 4.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.6503, allocations: 0 / 0.5338 GB, free: 4.207 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6503, allocations: 0 / 0.5338 GB, free: 4.207 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.6503, allocations: 0 / 0.5338 GB, free: 4.207 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006536/0.6509, allocations: 395.2 kB / 0.5342 GB, free: 3.773 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.651, allocations: 8.031 kB / 0.5342 GB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.651, allocations: 38.55 kB / 0.5342 GB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.6511, allocations: 3.906 kB / 0.5342 GB, free: 3.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6512, allocations: 182.9 kB / 0.5344 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.6513, allocations: 3.938 kB / 0.5344 GB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.6513, allocations: 8 kB / 0.5344 GB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.6515, allocations: 69.66 kB / 0.5345 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.6515, allocations: 0 / 0.5345 GB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6516, allocations: 4 kB / 0.5345 GB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6516, allocations: 3.938 kB / 0.5345 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.6517, allocations: 43.97 kB / 0.5345 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.6523, allocations: 389.8 kB / 0.5349 GB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.6525, allocations: 62.5 kB / 0.5349 GB, free: 2.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/0.6543, allocations: 1.005 MB / 0.5359 GB, free: 1.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.6544, allocations: 34.56 kB / 0.5359 GB, free: 1.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 3.176e-06/0.6544, allocations: 0 / 0.5359 GB, free: 1.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.01304/0.6675, allocations: 0.6728 MB / 0.5366 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.6676, allocations: 51.41 kB / 0.5367 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6677, allocations: 113.8 kB / 0.5368 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.6678, allocations: 25.7 kB / 0.5368 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.6679, allocations: 88.27 kB / 0.5369 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.6679, allocations: 47.36 kB / 0.5369 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.668, allocations: 4 kB / 0.5369 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6681, allocations: 314.8 kB / 0.5372 GB, free: 240 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.6685, allocations: 87.88 kB / 0.5373 GB, free: 152 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.6689, allocations: 108.3 kB / 0.5374 GB, free: 36 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.6693, allocations: 87.97 kB / 0.5375 GB, free: 15.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.6693, allocations: 0 / 0.5375 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0009787/0.6703, allocations: 249.3 kB / 0.5377 GB, free: 15.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.6704, allocations: 7.953 kB / 0.5377 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6704, allocations: 7.984 kB / 0.5377 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6704, allocations: 4.062 kB / 0.5377 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.6717, allocations: 51.94 kB / 0.5378 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.6717, allocations: 7.938 kB / 0.5378 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.6727, allocations: 11.98 kB / 0.5378 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.258e-05/0.6728, allocations: 13.92 kB / 0.5378 GB, free: 15.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001799/0.673, allocations: 121.8 kB / 0.5379 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.766e-05/0.6731, allocations: 7.984 kB / 0.538 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.6745, allocations: 352.7 kB / 0.5383 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6745, allocations: 4 kB / 0.5383 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.6745, allocations: 4 kB / 0.5383 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.6745, allocations: 3.953 kB / 0.5383 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.6763, allocations: 0.7521 MB / 0.539 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.6764, allocations: 0 / 0.539 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6776, allocations: 51.89 kB / 0.5391 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.6776, allocations: 4 kB / 0.5391 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.194e-05/0.6777, allocations: 7.938 kB / 0.5391 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.6777, allocations: 7.938 kB / 0.5391 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.6777, allocations: 7.984 kB / 0.5391 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.6788, allocations: 347.3 kB / 0.5394 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.6789, allocations: 105 kB / 0.5395 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.679, allocations: 8 kB / 0.5396 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009737/0.68, allocations: 4 kB / 0.5396 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.6801, allocations: 27.92 kB / 0.5396 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.6802, allocations: 7.984 kB / 0.5396 GB, free: 13.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.213e-05/0.6803, allocations: 79.28 kB / 0.5397 GB, free: 13.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6803, allocations: 3.938 kB / 0.5397 GB, free: 13.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006681/0.681, allocations: 99.98 kB / 0.5398 GB, free: 13.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001808/0.6828, allocations: 1.012 MB / 0.5408 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008528/0.6837, allocations: 211.8 kB / 0.541 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6837, allocations: 0 / 0.541 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004139/0.6841, allocations: 115.9 kB / 0.5411 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005125/0.6847, allocations: 27.91 kB / 0.5411 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.6859, allocations: 377.2 kB / 0.5415 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.6862, allocations: 0.7006 MB / 0.5421 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008437/0.6871, allocations: 64.75 kB / 0.5422 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.6875, allocations: 43.38 kB / 0.5422 GB, free: 10.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.352e-06/0.6875, allocations: 0 / 0.5422 GB, free: 10.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03167/0.7192, allocations: 7.115 MB / 0.5492 GB, free: 3.805 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002963/0.7196, allocations: 177.8 kB / 0.5494 GB, free: 3.559 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.724/3.443, allocations: 4 kB / 0.5494 GB, free: 3.555 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat