Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004712/0.0004714, allocations: 19.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08863, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.4475/0.5362, allocations: 125.5 MB / 434.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.5378, allocations: 0.8114 MB / 435.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.5379, allocations: 0 / 435.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.5381, allocations: 32.03 kB / 435.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007165/0.5389, allocations: 205.2 kB / 435.6 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.5393, allocations: 97.73 kB / 435.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.5396, allocations: 107.7 kB / 435.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.5396, allocations: 2.719 kB / 435.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002667/0.5399, allocations: 88.53 kB / 435.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.54, allocations: 43.12 kB / 436 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.5401, allocations: 2.281 kB / 436 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008308/0.5409, allocations: 288.2 kB / 436.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.541, allocations: 17 kB / 436.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.541, allocations: 45.95 kB / 436.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.5415, allocations: 196.3 kB / 436.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.5415, allocations: 0 / 436.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5415, allocations: 0 / 436.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.5415, allocations: 7.031 kB / 436.5 MB, free: 10.17 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.0005417/0.5421, allocations: 379.4 kB / 436.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.5421, allocations: 10.25 kB / 436.9 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/0.5455, allocations: 185.4 kB / 437.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.5459, allocations: 210.4 kB / 437.3 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5459, allocations: 6.844 kB / 437.3 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.546, allocations: 13.72 kB / 437.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007626/0.5468, allocations: 219.3 kB / 437.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5468, allocations: 2.844 kB / 437.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.5469, allocations: 7.953 kB / 437.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5469, allocations: 2.625 kB / 437.5 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007197/0.5476, allocations: 182.2 kB / 437.7 MB, free: 9.168 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.00149/0.5491, allocations: 0.5604 MB / 438.3 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.5497, allocations: 152.1 kB / 438.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.5497, allocations: 2.969 kB / 438.4 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.5497, allocations: 33.59 kB / 438.4 MB, free: 8.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.895e-06/0.5498, allocations: 0 / 438.4 MB, free: 8.48 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.008666/0.5584, allocations: 1.302 MB / 439.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.5585, allocations: 51.41 kB / 439.8 MB, free: 7.543 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.5586, allocations: 112.2 kB / 439.9 MB, free: 7.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.5587, allocations: 28.52 kB / 439.9 MB, free: 7.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.365e-05/0.5587, allocations: 98.97 kB / 440 MB, free: 7.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.331e-05/0.5588, allocations: 66.28 kB / 440.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.5589, allocations: 4 kB / 440.1 MB, free: 7.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.559, allocations: 329.6 kB / 440.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002437/0.5593, allocations: 72.19 kB / 440.5 MB, free: 6.879 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002748/0.5596, allocations: 96.73 kB / 440.6 MB, free: 6.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.5599, allocations: 80.33 kB / 440.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5599, allocations: 2.375 kB / 440.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007825/0.5607, allocations: 261.9 kB / 440.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.5607, allocations: 4.25 kB / 440.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5607, allocations: 0 / 440.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.561, allocations: 52.55 kB / 441 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005568/0.5615, allocations: 61.3 kB / 441 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005172/0.5621, allocations: 0.5629 MB / 441.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.5624, allocations: 14.86 kB / 441.6 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.5625, allocations: 23.34 kB / 441.6 MB, free: 6.035 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.000169/0.5626, allocations: 124.7 kB / 441.8 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.5627, allocations: 15.36 kB / 441.8 MB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.5641, allocations: 343.6 kB / 442.1 MB, free: 5.555 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5641, allocations: 4.828 kB / 442.1 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5641, allocations: 0 / 442.1 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.5642, allocations: 85.02 kB / 442.2 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.591e-05/0.5643, allocations: 15.92 kB / 442.2 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.5646, allocations: 0 / 442.2 MB, free: 5.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.489e-05/0.5647, allocations: 23.97 kB / 442.2 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001377/0.5661, allocations: 336.5 kB / 442.6 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001035/0.5672, allocations: 459 kB / 443 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002704/0.5675, allocations: 76 kB / 443.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.605e-05/0.5675, allocations: 95.25 kB / 443.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of Backend: time 7.31e-07/0.5676, allocations: 0 / 443.2 MB, free: 4.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.569, allocations: 325.7 kB / 443.5 MB, free: 4.121 MB / 330.7 MB Notification: Performance of SimCode: time 0.001344/0.5704, allocations: 0.9614 MB / 444.5 MB, free: 3.117 MB / 330.7 MB Notification: Performance of Templates: time 0.01627/0.5867, allocations: 6.529 MB / 451 MB, free: 12.58 MB / 346.7 MB