Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2.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) Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.685/1.685, allocations: 171.1 MB / 186.7 MB, free: 1.051 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.000355, allocations: 15.98 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06863/0.06901, allocations: 38.75 MB / 271.9 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3516/0.4206, allocations: 125.5 MB / 397.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.4221, allocations: 0.8146 MB / 398.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.576e-05/0.4222, allocations: 1.031 kB / 398.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.4224, allocations: 31.88 kB / 398.3 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006247/0.4231, allocations: 199.4 kB / 398.5 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004188/0.4235, allocations: 99.72 kB / 398.6 MB, free: 488 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.4237, allocations: 107.8 kB / 398.7 MB, free: 380 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.4238, allocations: 8 kB / 398.7 MB, free: 372 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002463/0.424, allocations: 87.75 kB / 398.8 MB, free: 284 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.706e-05/0.4241, allocations: 43.83 kB / 398.8 MB, free: 240 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.4242, allocations: 4 kB / 398.8 MB, free: 236 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.4249, allocations: 283.7 kB / 399.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.583e-05/0.425, allocations: 19.91 kB / 399.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.032e-05/0.425, allocations: 45.64 kB / 399.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.4254, allocations: 194 kB / 399.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.872e-06/0.4255, allocations: 4 kB / 399.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.162e-06/0.4255, allocations: 0 / 399.3 MB, free: 15.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.316e-06/0.4255, allocations: 0 / 399.3 MB, free: 15.7 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005611/0.4261, allocations: 388.4 kB / 399.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4261, allocations: 8.031 kB / 399.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.4285, allocations: 192.1 kB / 399.9 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.4288, allocations: 207.4 kB / 400.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.4288, allocations: 8 kB / 400.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.4289, allocations: 8 kB / 400.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.4295, allocations: 220 kB / 400.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4296, allocations: 4 kB / 400.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.4296, allocations: 4 kB / 400.4 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.564e-06/0.4296, allocations: 4 kB / 400.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.4303, allocations: 167.9 kB / 400.5 MB, free: 14.41 MB / 330.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.001283/0.4316, allocations: 0.5851 MB / 401.1 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.432, allocations: 142.5 kB / 401.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.547e-05/0.4321, allocations: 7.969 kB / 401.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.4321, allocations: 38.56 kB / 401.3 MB, free: 13.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.961e-06/0.4321, allocations: 0 / 401.3 MB, free: 13.56 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.006223/0.4384, allocations: 1.303 MB / 402.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.4385, allocations: 55.41 kB / 402.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.4386, allocations: 121.7 kB / 402.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.4386, allocations: 29.7 kB / 402.8 MB, free: 11.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.4388, allocations: 162.4 kB / 403 MB, free: 11.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/0.4389, allocations: 74.98 kB / 403 MB, free: 11.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.4389, allocations: 8 kB / 403 MB, free: 11.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4391, allocations: 314.8 kB / 403.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.4393, allocations: 67.95 kB / 403.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.4395, allocations: 107 kB / 403.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.4398, allocations: 80.92 kB / 403.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.655e-06/0.4398, allocations: 0 / 403.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000692/0.4405, allocations: 265.8 kB / 403.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.4406, allocations: 4 kB / 403.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.465e-06/0.4406, allocations: 0 / 403.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002247/0.4408, allocations: 56.77 kB / 403.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.4412, allocations: 52.06 kB / 404 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005697/0.4418, allocations: 0.5679 MB / 404.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.4421, allocations: 11.97 kB / 404.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.4421, allocations: 27.98 kB / 404.6 MB, free: 10.11 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.4423, allocations: 133.8 kB / 404.7 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.4424, allocations: 7.906 kB / 404.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.4436, allocations: 327.2 kB / 405 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.028e-06/0.4436, allocations: 4 kB / 405 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.4436, allocations: 3.984 kB / 405 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.481e-06/0.4436, allocations: 3.953 kB / 405 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.445, allocations: 0.6187 MB / 405.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-06/0.445, allocations: 0 / 405.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.4455, allocations: 63.88 kB / 405.7 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.4456, allocations: 28.8 kB / 405.7 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.4456, allocations: 11.98 kB / 405.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.447, allocations: 1.272 MB / 407 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.806e-06/0.447, allocations: 4.281 kB / 407 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009632/0.448, allocations: 434.5 kB / 407.5 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.949e-05/0.4481, allocations: 85.02 kB / 407.5 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.4481, allocations: 4 kB / 407.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002913/0.4484, allocations: 16.05 kB / 407.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.4485, allocations: 23.97 kB / 407.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.4486, allocations: 27.98 kB / 407.6 MB, free: 6.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.819e-05/0.4487, allocations: 83.28 kB / 407.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.4487, allocations: 4 kB / 407.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005498/0.4492, allocations: 72 kB / 407.8 MB, free: 6.633 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00046/0.4497, allocations: 178.9 kB / 407.9 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.4504, allocations: 201.1 kB / 408.1 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.54e-06/0.4504, allocations: 0 / 408.1 MB, free: 6.254 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.4509, allocations: 221.6 kB / 408.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.4513, allocations: 44.98 kB / 408.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.4525, allocations: 0.5917 MB / 409 MB, free: 5.355 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.4529, allocations: 0.7166 MB / 409.7 MB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003339/0.4532, allocations: 63.39 kB / 409.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of SimCode: time 1.419e-06/0.4533, allocations: 0 / 409.8 MB, free: 4.551 MB / 330.7 MB Notification: Performance of Templates: time 0.008339/0.4616, allocations: 3.94 MB / 413.7 MB, free: 0.6133 MB / 330.7 MB