Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 234.9 MB / 250.5 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004406, allocations: 8 kB / 314.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2985, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5031/0.8016, allocations: 115.3 MB / 484.5 MB, free: 140 kB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.8068, allocations: 3.842 MB / 488.3 MB, free: 88 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002449/0.807, allocations: 5.375 kB / 488.3 MB, free: 84 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.8074, allocations: 47.59 kB / 488.4 MB, free: 84 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.8095, allocations: 0.6227 MB / 489 MB, free: 76 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.8101, allocations: 150 kB / 489.1 MB, free: 68 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005337/0.8106, allocations: 264.7 kB / 489.4 MB, free: 68 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.215e-05/0.8107, allocations: 13.62 kB / 489.4 MB, free: 64 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.811, allocations: 143.3 kB / 489.5 MB, free: 64 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.8113, allocations: 180.3 kB / 489.7 MB, free: 64 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.8113, allocations: 4.875 kB / 489.7 MB, free: 64 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.8132, allocations: 0.6719 MB / 490.4 MB, free: 60 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.954e-05/0.8133, allocations: 39.42 kB / 490.4 MB, free: 60 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001231/0.8135, allocations: 65.67 kB / 490.5 MB, free: 16.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.8142, allocations: 291.2 kB / 490.8 MB, free: 16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.8142, allocations: 0 / 490.8 MB, free: 16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.129e-06/0.8142, allocations: 5.859 kB / 490.8 MB, free: 15.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.8142, allocations: 0 / 490.8 MB, free: 15.99 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.001196/0.8154, allocations: 0.5499 MB / 491.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.8155, allocations: 14.91 kB / 491.4 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001929/0.8157, allocations: 25.56 kB / 491.4 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.816, allocations: 231.2 kB / 491.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.8162, allocations: 121.9 kB / 491.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.8163, allocations: 25.41 kB / 491.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006144/0.8169, allocations: 323 kB / 492.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.817, allocations: 5.781 kB / 492.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.817, allocations: 12.97 kB / 492.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.817, allocations: 11.25 kB / 492.1 MB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009522/0.818, allocations: 0.7391 MB / 492.8 MB, free: 15.11 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.00181/0.8198, allocations: 1.268 MB / 494.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.8204, allocations: 171.3 kB / 494.3 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003314/0.8237, allocations: 2.651 MB / 496.9 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.8238, allocations: 32.62 kB / 496.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=15): time 3.207e-06/0.8238, allocations: 0 / 496.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008441/0.8247, allocations: 233.7 kB / 497.2 MB, free: 11.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.8247, allocations: 51.41 kB / 497.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.825, allocations: 212.3 kB / 497.4 MB, free: 11.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.825, allocations: 31.55 kB / 497.5 MB, free: 11.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.8252, allocations: 272.9 kB / 497.7 MB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.335e-05/0.8253, allocations: 65.97 kB / 497.8 MB, free: 10.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.845e-05/0.8253, allocations: 8.031 kB / 497.8 MB, free: 10.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8255, allocations: 331 kB / 498.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.8256, allocations: 47.42 kB / 498.2 MB, free: 10.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.826, allocations: 318.1 kB / 498.5 MB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.8262, allocations: 109 kB / 498.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.424e-06/0.8262, allocations: 2.031 kB / 498.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007066/0.8269, allocations: 372.2 kB / 499 MB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.827, allocations: 13.83 kB / 499 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.827, allocations: 7.719 kB / 499 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.827, allocations: 13.97 kB / 499 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.8275, allocations: 106.9 kB / 499.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.8276, allocations: 20.39 kB / 499.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003675/0.828, allocations: 22.09 kB / 499.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.828, allocations: 32.2 kB / 499.2 MB, free: 10.14 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.0001948/0.8282, allocations: 151.3 kB / 499.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.8283, allocations: 18.78 kB / 499.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.8288, allocations: 181.7 kB / 499.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.8288, allocations: 2.656 kB / 499.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-06/0.8289, allocations: 0 / 499.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.873e-06/0.8289, allocations: 0 / 499.5 MB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.8297, allocations: 482.6 kB / 500 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-06/0.8297, allocations: 3.312 kB / 500 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.83, allocations: 32.97 kB / 0.4883 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.989e-06/0.83, allocations: 0 / 0.4883 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.83, allocations: 3.688 kB / 0.4883 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.83, allocations: 3.156 kB / 0.4883 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.432e-06/0.83, allocations: 2.812 kB / 0.4883 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.8304, allocations: 239.3 kB / 0.4885 GB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.8305, allocations: 111.8 kB / 0.4886 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.8306, allocations: 5.25 kB / 0.4887 GB, free: 9.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.8309, allocations: 19.25 kB / 0.4887 GB, free: 9.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.8309, allocations: 17.78 kB / 0.4887 GB, free: 9.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.831, allocations: 7.109 kB / 0.4887 GB, free: 9.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.8311, allocations: 148.5 kB / 0.4888 GB, free: 9.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.8311, allocations: 0 / 0.4888 GB, free: 9.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007084/0.8319, allocations: 89.69 kB / 0.4889 GB, free: 9.223 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.0002885/0.8322, allocations: 155.2 kB / 0.4891 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.8326, allocations: 186.7 kB / 0.4892 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8326, allocations: 2 kB / 0.4892 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.8327, allocations: 40.08 kB / 0.4893 GB, free: 9.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.8332, allocations: 49.17 kB / 0.4893 GB, free: 9.102 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.8342, allocations: 0.5498 MB / 0.4899 GB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.8346, allocations: 0.7363 MB / 0.4906 GB, free: 8.059 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.784e-05/0.8347, allocations: 28.94 kB / 0.4906 GB, free: 8.051 MB / 410.7 MB Notification: Performance of SimCode: time 1.638e-06/0.8347, allocations: 0 / 0.4906 GB, free: 8.051 MB / 410.7 MB Notification: Performance of Templates: time 0.006609/0.8413, allocations: 3.215 MB / 0.4938 GB, free: 7.723 MB / 410.7 MB