Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01128/0.01128, allocations: 104.6 kB / 15.05 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.1.mo): time 0.001239/0.001239, allocations: 171.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.685/1.685, allocations: 170.9 MB / 187.6 MB, free: 0.8594 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.256/0.256, allocations: 38.09 MB / 265.1 MB, free: 3.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007151/0.0007154, allocations: 12 kB / 323.6 MB, free: 29.65 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0951/0.09585, allocations: 48.71 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5103/0.6062, allocations: 115.3 MB / 487.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006697/0.613, allocations: 3.837 MB / 491.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.6133, allocations: 0 / 491.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003808/0.6137, allocations: 49.17 kB / 491.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.6162, allocations: 0.6313 MB / 492.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.6169, allocations: 159.1 kB / 492.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006777/0.6176, allocations: 261.9 kB / 492.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.6177, allocations: 9.312 kB / 492.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.6181, allocations: 141.5 kB / 492.6 MB, free: 12.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004275/0.6185, allocations: 165.2 kB / 492.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.6186, allocations: 7.812 kB / 492.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.6208, allocations: 0.6157 MB / 493.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.6209, allocations: 45.25 kB / 493.5 MB, free: 11.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.6211, allocations: 56.95 kB / 493.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008762/0.6219, allocations: 290.3 kB / 493.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.622, allocations: 4 kB / 493.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.622, allocations: 2.781 kB / 493.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.622, allocations: 0 / 493.8 MB, free: 11.49 MB / 346.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.001494/0.6235, allocations: 0.5462 MB / 494.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.6236, allocations: 7.562 kB / 494.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.6237, allocations: 64.97 kB / 494.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.6239, allocations: 27.48 kB / 494.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.6243, allocations: 232.8 kB / 494.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.6245, allocations: 121.6 kB / 494.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.6246, allocations: 23.88 kB / 494.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008142/0.6254, allocations: 325.1 kB / 495.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.6255, allocations: 5.984 kB / 495.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.6255, allocations: 10.91 kB / 495.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/0.6256, allocations: 5.438 kB / 495.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.6269, allocations: 0.7342 MB / 495.9 MB, free: 9.953 MB / 346.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.002191/0.6291, allocations: 1.273 MB / 497.2 MB, free: 8.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005663/0.6297, allocations: 179.6 kB / 497.3 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003354/0.6331, allocations: 2.64 MB / 500 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.6331, allocations: 34.56 kB / 0.4883 GB, free: 5.633 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.6331, allocations: 0 / 0.4883 GB, free: 5.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009751/0.6341, allocations: 238.5 kB / 0.4885 GB, free: 5.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6342, allocations: 57.97 kB / 0.4886 GB, free: 5.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.6345, allocations: 211.1 kB / 0.4888 GB, free: 5.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.6345, allocations: 32.39 kB / 0.4888 GB, free: 5.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.6347, allocations: 208.2 kB / 0.489 GB, free: 5.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.6348, allocations: 62.33 kB / 0.4891 GB, free: 4.977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.6348, allocations: 6.719 kB / 0.4891 GB, free: 4.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.635, allocations: 327.9 kB / 0.4894 GB, free: 4.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.6351, allocations: 57.52 kB / 0.4894 GB, free: 4.621 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.6355, allocations: 312 kB / 0.4897 GB, free: 4.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.6358, allocations: 107.2 kB / 0.4898 GB, free: 4.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.6358, allocations: 2.5 kB / 0.4899 GB, free: 4.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008667/0.6367, allocations: 369.8 kB / 0.4902 GB, free: 3.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.6367, allocations: 10 kB / 0.4902 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.6367, allocations: 8.531 kB / 0.4902 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.29e-05/0.6368, allocations: 15.62 kB / 0.4902 GB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.6375, allocations: 107.1 kB / 0.4903 GB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.708e-05/0.6375, allocations: 25 kB / 0.4904 GB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/0.6379, allocations: 22.33 kB / 0.4904 GB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.638, allocations: 35.17 kB / 0.4904 GB, free: 3.922 MB / 346.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.0001958/0.6382, allocations: 142.6 kB / 0.4906 GB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.222e-05/0.6383, allocations: 22.03 kB / 0.4906 GB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.6389, allocations: 178.9 kB / 0.4907 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.6389, allocations: 2.875 kB / 0.4907 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6389, allocations: 0.625 kB / 0.4907 GB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.639, allocations: 11.94 kB / 0.4908 GB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.6399, allocations: 467 kB / 0.4912 GB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.6399, allocations: 3.094 kB / 0.4912 GB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.6402, allocations: 28.89 kB / 0.4912 GB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.6403, allocations: 6.328 kB / 0.4912 GB, free: 3.184 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.6403, allocations: 10.05 kB / 0.4913 GB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.6403, allocations: 7.031 kB / 0.4913 GB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.6403, allocations: 7.875 kB / 0.4913 GB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.6408, allocations: 283.4 kB / 0.4915 GB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.641, allocations: 111.9 kB / 0.4916 GB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.641, allocations: 6.375 kB / 0.4916 GB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.6415, allocations: 9.828 kB / 0.4917 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.6415, allocations: 16 kB / 0.4917 GB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.6416, allocations: 17.12 kB / 0.4917 GB, free: 2.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.6417, allocations: 146.8 kB / 0.4918 GB, free: 2.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6418, allocations: 0 / 0.4918 GB, free: 2.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007754/0.6425, allocations: 86.53 kB / 0.4919 GB, free: 2.621 MB / 346.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.001096/0.6437, allocations: 1.15 MB / 0.493 GB, free: 1.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000542/0.6442, allocations: 177.4 kB / 0.4932 GB, free: 1.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.6443, allocations: 4 kB / 0.4932 GB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.6444, allocations: 35.92 kB / 0.4932 GB, free: 1.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.645, allocations: 49.88 kB / 0.4933 GB, free: 1.191 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005283/0.6503, allocations: 7.637 MB / 0.5007 GB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.6508, allocations: 0.7365 MB / 0.5015 GB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005075/0.6513, allocations: 59.11 kB / 0.5015 GB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.6515, allocations: 59.42 kB / 0.5016 GB, free: 8.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.697e-06/0.6515, allocations: 0 / 0.5016 GB, free: 8.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.6788, allocations: 4.799 MB / 0.5063 GB, free: 3.734 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.679, allocations: 182.9 kB / 0.5064 GB, free: 3.492 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.393, allocations: 0 / 0.5064 GB, free: 3.492 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat