Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.0003599, allocations: 12 kB / 233.9 MB, free: 2.402 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.07947, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.4112/0.4908, allocations: 125.5 MB / 398.1 MB, free: 1.301 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001612/0.4924, allocations: 0.8156 MB / 398.9 MB, free: 496 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.4925, allocations: 0 / 398.9 MB, free: 496 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002554/0.4928, allocations: 27.88 kB / 399 MB, free: 468 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006928/0.4935, allocations: 207.3 kB / 399.2 MB, free: 260 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.494, allocations: 100.5 kB / 399.3 MB, free: 160 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.4942, allocations: 107.8 kB / 399.4 MB, free: 52 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.4943, allocations: 7.984 kB / 399.4 MB, free: 44 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.4946, allocations: 83.86 kB / 399.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.4947, allocations: 39.84 kB / 399.5 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.4948, allocations: 8 kB / 399.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008514/0.4956, allocations: 283.5 kB / 399.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.263e-05/0.4957, allocations: 23.91 kB / 399.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.4958, allocations: 41.7 kB / 399.9 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004593/0.4962, allocations: 191.1 kB / 400 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.4963, allocations: 0 / 400 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4963, allocations: 0 / 400 MB, free: 15.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.4963, allocations: 0 / 400 MB, free: 15.39 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.0005624/0.4969, allocations: 395 kB / 400.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.4969, allocations: 11.97 kB / 400.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003489/0.5004, allocations: 188.1 kB / 400.6 MB, free: 14.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5008, allocations: 203.4 kB / 400.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5008, allocations: 4 kB / 400.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.259e-05/0.5009, allocations: 12 kB / 400.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007943/0.5017, allocations: 224 kB / 401.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.5017, allocations: 0 / 401.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.5018, allocations: 4 kB / 401.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5018, allocations: 4 kB / 401.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007413/0.5025, allocations: 163.9 kB / 401.2 MB, free: 14.1 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.001473/0.504, allocations: 0.5897 MB / 401.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.5046, allocations: 146.5 kB / 402 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.5046, allocations: 7.984 kB / 402 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.5047, allocations: 38.56 kB / 402 MB, free: 13.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.695e-06/0.5047, allocations: 7.875 kB / 402 MB, free: 13.24 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.00909/0.5138, allocations: 1.299 MB / 403.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.5139, allocations: 55.41 kB / 403.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.514, allocations: 117.8 kB / 403.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.514, allocations: 25.7 kB / 403.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.5141, allocations: 99.89 kB / 403.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.5142, allocations: 70.98 kB / 403.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.5143, allocations: 4 kB / 403.7 MB, free: 11.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.5144, allocations: 318.8 kB / 404 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.5147, allocations: 67.97 kB / 404 MB, free: 11.07 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002851/0.515, allocations: 107 kB / 404.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.5153, allocations: 76.92 kB / 404.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5153, allocations: 0 / 404.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000814/0.5161, allocations: 271.1 kB / 404.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5162, allocations: 5.094 kB / 404.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5162, allocations: 4 kB / 404.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002523/0.5164, allocations: 48.83 kB / 404.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005746/0.517, allocations: 55.89 kB / 404.6 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005536/0.5176, allocations: 0.5603 MB / 405.2 MB, free: 9.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.5179, allocations: 16.08 kB / 405.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.518, allocations: 24 kB / 405.2 MB, free: 9.867 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.0001679/0.5182, allocations: 129.7 kB / 405.3 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.255e-05/0.5183, allocations: 7.906 kB / 405.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.5196, allocations: 350.2 kB / 405.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.5197, allocations: 4 kB / 405.7 MB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5197, allocations: 4.812 kB / 405.7 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.5197, allocations: 81.02 kB / 405.8 MB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.5198, allocations: 11.94 kB / 405.8 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.5202, allocations: 8 kB / 405.8 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.5203, allocations: 23.97 kB / 405.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001401/0.5217, allocations: 325.6 kB / 406.1 MB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001077/0.5228, allocations: 457.8 kB / 406.6 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002721/0.5231, allocations: 84 kB / 406.7 MB, free: 8.352 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.5232, allocations: 91.22 kB / 406.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of Backend: time 6.11e-07/0.5232, allocations: 0 / 406.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.5247, allocations: 318 kB / 407.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of SimCode: time 0.001314/0.526, allocations: 0.9757 MB / 408 MB, free: 6.922 MB / 330.7 MB Notification: Performance of Templates: time 0.01671/0.5427, allocations: 6.5 MB / 414.5 MB, free: 424 kB / 330.7 MB