Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004403, allocations: 8 kB / 282.5 MB, free: 9.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08887, allocations: 48.71 MB / 331.2 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4102/0.4991, allocations: 115.3 MB / 446.5 MB, free: 1.992 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006417/0.5056, allocations: 3.839 MB / 450.3 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.5059, allocations: 4 kB / 450.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.5062, allocations: 47.78 kB / 450.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00215/0.5084, allocations: 0.6387 MB / 451 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.509, allocations: 148.4 kB / 451.1 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.5096, allocations: 263.4 kB / 451.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.5096, allocations: 9.688 kB / 451.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.5099, allocations: 143.6 kB / 451.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.5104, allocations: 175.5 kB / 451.7 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.5104, allocations: 12 kB / 451.7 MB, free: 12.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.5124, allocations: 0.6671 MB / 452.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.5126, allocations: 47.8 kB / 452.4 MB, free: 12.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.5127, allocations: 57.64 kB / 452.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007342/0.5134, allocations: 299.1 kB / 452.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.974e-06/0.5134, allocations: 0 / 452.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5135, allocations: 0 / 452.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.34e-06/0.5135, allocations: 0 / 452.8 MB, free: 11.66 MB / 378.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.001292/0.5148, allocations: 0.5422 MB / 453.3 MB, free: 11.06 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.5148, allocations: 8.031 kB / 453.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.515, allocations: 32.23 kB / 453.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.5154, allocations: 226.7 kB / 453.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.5156, allocations: 131.4 kB / 453.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.5157, allocations: 27.92 kB / 453.7 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007011/0.5164, allocations: 330.8 kB / 454.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5164, allocations: 0 / 454.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.5165, allocations: 12 kB / 454.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.5165, allocations: 4 kB / 454.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.5176, allocations: 0.7352 MB / 454.8 MB, free: 9.484 MB / 378.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.001908/0.5196, allocations: 1.276 MB / 456.1 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.5201, allocations: 164.6 kB / 456.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003355/0.5235, allocations: 2.651 MB / 458.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.5235, allocations: 30.56 kB / 458.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.212e-06/0.5236, allocations: 0 / 458.9 MB, free: 4.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008855/0.5245, allocations: 238.8 kB / 459.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.5245, allocations: 51.41 kB / 459.2 MB, free: 4.438 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.5248, allocations: 214.5 kB / 459.4 MB, free: 4.219 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.5249, allocations: 33.7 kB / 459.5 MB, free: 4.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.5251, allocations: 277.3 kB / 459.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.5252, allocations: 59.19 kB / 459.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.5252, allocations: 12 kB / 459.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5254, allocations: 326.8 kB / 460.1 MB, free: 3.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.5255, allocations: 52.77 kB / 460.2 MB, free: 3.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.5259, allocations: 317.1 kB / 460.5 MB, free: 3.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.5261, allocations: 103.9 kB / 460.6 MB, free: 2.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.964e-06/0.5262, allocations: 4 kB / 460.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008605/0.527, allocations: 365.1 kB / 460.9 MB, free: 2.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.5271, allocations: 8 kB / 461 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/0.5271, allocations: 15.98 kB / 461 MB, free: 2.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.048e-05/0.5272, allocations: 12.72 kB / 461 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.5277, allocations: 113.7 kB / 461.1 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.954e-05/0.5277, allocations: 23.92 kB / 461.1 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.5281, allocations: 19.94 kB / 461.1 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.5281, allocations: 24 kB / 461.2 MB, free: 2.332 MB / 378.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.0001942/0.5283, allocations: 149.7 kB / 461.3 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.5284, allocations: 23.8 kB / 461.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/0.529, allocations: 176.8 kB / 461.5 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.529, allocations: 7.984 kB / 461.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.33e-06/0.529, allocations: 3.953 kB / 461.5 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.529, allocations: 8.031 kB / 461.5 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.5299, allocations: 465.6 kB / 462 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.332e-06/0.5299, allocations: 4 kB / 462 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002414/0.5302, allocations: 31.97 kB / 462 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.5302, allocations: 3.953 kB / 462 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.5303, allocations: 11.98 kB / 462 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.391e-06/0.5303, allocations: 4.125 kB / 462 MB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.227e-06/0.5303, allocations: 11.31 kB / 462 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.5306, allocations: 222.8 kB / 462.3 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.5308, allocations: 120.8 kB / 462.4 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.5309, allocations: 7.953 kB / 462.4 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.5312, allocations: 15.98 kB / 462.4 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.5312, allocations: 11.92 kB / 462.4 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.5313, allocations: 8 kB / 462.4 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001725/0.5314, allocations: 144.5 kB / 462.6 MB, free: 0.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.5315, allocations: 0 / 462.6 MB, free: 0.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007102/0.5322, allocations: 92 kB / 462.7 MB, free: 0.7031 MB / 378.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.0002845/0.5325, allocations: 155.2 kB / 462.8 MB, free: 0.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004464/0.5329, allocations: 177.4 kB / 463 MB, free: 380 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.56e-06/0.533, allocations: 4 kB / 463 MB, free: 376 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.865e-05/0.5331, allocations: 40.67 kB / 463 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.5336, allocations: 48.59 kB / 463.1 MB, free: 288 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5346, allocations: 0.5483 MB / 463.6 MB, free: 15.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004363/0.5351, allocations: 0.7365 MB / 464.4 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.5352, allocations: 39.42 kB / 464.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.405e-06/0.5352, allocations: 0 / 464.4 MB, free: 14.88 MB / 394.7 MB Notification: Performance of Templates: time 0.007551/0.5428, allocations: 3.217 MB / 467.6 MB, free: 11.68 MB / 394.7 MB