Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.SimpleAir.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.SimpleAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_SimpleAir",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.01077/0.01077, allocations: 107.9 kB / 15.06 MB, free: 6.031 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.001249/0.00125, allocations: 181.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 2.26/2.26, allocations: 194.5 MB / 211.2 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.2702/0.2702, allocations: 40.04 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005015, allocations: 8 kB / 361.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1241, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5059/0.63, allocations: 115.3 MB / 0.5189 GB, free: 9.449 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00751/0.6376, allocations: 3.833 MB / 0.5226 GB, free: 6.734 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.6379, allocations: 1.156 kB / 0.5226 GB, free: 6.734 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003907/0.6383, allocations: 53.69 kB / 0.5227 GB, free: 6.707 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.6412, allocations: 0.6225 MB / 0.5233 GB, free: 6.316 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.642, allocations: 144.7 kB / 0.5234 GB, free: 6.254 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007543/0.6427, allocations: 262.9 kB / 0.5237 GB, free: 6.125 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.745e-05/0.6428, allocations: 15.05 kB / 0.5237 GB, free: 6.121 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.6432, allocations: 140.4 kB / 0.5238 GB, free: 6.066 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.6436, allocations: 162.4 kB / 0.524 GB, free: 6.008 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.6437, allocations: 5.438 kB / 0.524 GB, free: 6.008 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.6462, allocations: 0.6206 MB / 0.5246 GB, free: 5.805 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.6464, allocations: 44.95 kB / 0.5246 GB, free: 5.781 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.6465, allocations: 63.48 kB / 0.5247 GB, free: 5.738 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.6475, allocations: 284.4 kB / 0.5249 GB, free: 5.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.6475, allocations: 0 / 0.5249 GB, free: 5.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6475, allocations: 3.281 kB / 0.525 GB, free: 5.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.6475, allocations: 4 kB / 0.525 GB, free: 5.668 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001412/0.649, allocations: 0.5494 MB / 0.5255 GB, free: 5.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.375e-05/0.6491, allocations: 10.03 kB / 0.5255 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.6492, allocations: 60.45 kB / 0.5256 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.6494, allocations: 30.53 kB / 0.5256 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.6498, allocations: 227.1 kB / 0.5258 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.65, allocations: 127.3 kB / 0.5259 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.6501, allocations: 21.28 kB / 0.5259 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008592/0.6509, allocations: 323.2 kB / 0.5263 GB, free: 4.613 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.651, allocations: 4 kB / 0.5263 GB, free: 4.609 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.651, allocations: 12.56 kB / 0.5263 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.6511, allocations: 5.781 kB / 0.5263 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.6524, allocations: 0.7422 MB / 0.527 GB, free: 4.473 MB / 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.002213/0.6547, allocations: 1.273 MB / 0.5282 GB, free: 3.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.6553, allocations: 176.4 kB / 0.5284 GB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003748/0.659, allocations: 2.637 MB / 0.531 GB, free: 0.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.6591, allocations: 40.84 kB / 0.531 GB, free: 464 kB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.245e-06/0.6591, allocations: 0 / 0.531 GB, free: 464 kB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009387/0.6601, allocations: 226.4 kB / 0.5312 GB, free: 356 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.6601, allocations: 58.34 kB / 0.5313 GB, free: 288 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.6604, allocations: 208.5 kB / 0.5315 GB, free: 144 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.6605, allocations: 30.8 kB / 0.5315 GB, free: 108 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.6607, allocations: 208.8 kB / 0.5317 GB, free: 15.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/0.6607, allocations: 62.39 kB / 0.5318 GB, free: 15.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.6608, allocations: 9.469 kB / 0.5318 GB, free: 15.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6609, allocations: 328.7 kB / 0.5321 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.6611, allocations: 48.09 kB / 0.5322 GB, free: 15.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/0.6615, allocations: 321 kB / 0.5325 GB, free: 15.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.6618, allocations: 103.3 kB / 0.5326 GB, free: 15.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.6618, allocations: 3.156 kB / 0.5326 GB, free: 15.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008681/0.6627, allocations: 377.2 kB / 0.5329 GB, free: 14.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.6627, allocations: 7.906 kB / 0.5329 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.6627, allocations: 10.12 kB / 0.5329 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.6628, allocations: 13.73 kB / 0.5329 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/0.6634, allocations: 112.8 kB / 0.5331 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-05/0.6635, allocations: 19.11 kB / 0.5331 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.6639, allocations: 25.34 kB / 0.5331 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.6639, allocations: 24.72 kB / 0.5331 GB, free: 14.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0002093/0.6642, allocations: 147.2 kB / 0.5333 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.073e-05/0.6642, allocations: 22.52 kB / 0.5333 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/0.6648, allocations: 187.5 kB / 0.5335 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.6649, allocations: 2.562 kB / 0.5335 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6649, allocations: 0.8438 kB / 0.5335 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.6649, allocations: 0.5625 kB / 0.5335 GB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009535/0.6659, allocations: 479 kB / 0.5339 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6659, allocations: 0.5625 kB / 0.5339 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.6662, allocations: 36.05 kB / 0.534 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/0.6662, allocations: 0 / 0.534 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6662, allocations: 6.75 kB / 0.534 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.6662, allocations: 6.641 kB / 0.534 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.6663, allocations: 1.969 kB / 0.534 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.6667, allocations: 288.3 kB / 0.5342 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.6668, allocations: 124.5 kB / 0.5344 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.6669, allocations: 3.656 kB / 0.5344 GB, free: 13.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.6673, allocations: 15.34 kB / 0.5344 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.6674, allocations: 6.516 kB / 0.5344 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.6674, allocations: 9.625 kB / 0.5344 GB, free: 13.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001858/0.6676, allocations: 144.6 kB / 0.5345 GB, free: 13.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6676, allocations: 4 kB / 0.5345 GB, free: 13.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007612/0.6684, allocations: 93.7 kB / 0.5346 GB, free: 13.73 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 (14): * Single equations (assignments): 13 * Array equations: 1 * 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.001028/0.6694, allocations: 1.132 MB / 0.5357 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.6699, allocations: 180.5 kB / 0.5359 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.67, allocations: 0 / 0.5359 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.6701, allocations: 37.11 kB / 0.5359 GB, free: 12.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.6707, allocations: 50.73 kB / 0.536 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005001/0.6757, allocations: 7.654 MB / 0.5435 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.6761, allocations: 0.7334 MB / 0.5442 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.6767, allocations: 58.67 kB / 0.5442 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.6768, allocations: 61.56 kB / 0.5443 GB, free: 4.438 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6768, allocations: 0 / 0.5443 GB, free: 4.438 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02825/0.7051, allocations: 4.809 MB / 0.549 GB, free: 3.254 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/0.7055, allocations: 176.8 kB / 0.5492 GB, free: 3.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/3.329, allocations: 0 / 0.5492 GB, free: 3.02 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat