Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003386, allocations: 12 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08593, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03278/0.1188, allocations: 22.18 MB / 331.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009771/0.1286, allocations: 5.29 MB / 336.5 MB, free: 4.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005302/0.1291, allocations: 4 kB / 336.5 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1303, allocations: 250.9 kB / 336.8 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1313, allocations: 319 kB / 337.1 MB, free: 4.246 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.1369, allocations: 1.34 MB / 338.4 MB, free: 2.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.1384, allocations: 0.729 MB / 339.2 MB, free: 2.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.1387, allocations: 118.1 kB / 339.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000768/0.1395, allocations: 347 kB / 339.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.14, allocations: 251 kB / 339.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.003e-05/0.1401, allocations: 24 kB / 339.9 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.1425, allocations: 0.7454 MB / 340.6 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.1427, allocations: 103.6 kB / 340.7 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.1429, allocations: 129.5 kB / 340.9 MB, free: 476 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.1446, allocations: 0.7718 MB / 341.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1446, allocations: 0 / 341.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1446, allocations: 0 / 341.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1446, allocations: 0 / 341.6 MB, free: 15.69 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001385/0.146, allocations: 0.6861 MB / 342.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1461, allocations: 8.031 kB / 342.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007585/0.1468, allocations: 83.41 kB / 342.4 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.1474, allocations: 326.2 kB / 342.7 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.1475, allocations: 29 kB / 342.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.1476, allocations: 39.94 kB / 342.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.1485, allocations: 463.5 kB / 343.2 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.1486, allocations: 8 kB / 343.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.1487, allocations: 20 kB / 343.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.1487, allocations: 8 kB / 343.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.1494, allocations: 303.7 kB / 343.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02149/0.1709, allocations: 6.723 MB / 350.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.1717, allocations: 274.3 kB / 350.6 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/0.1895, allocations: 3.881 MB / 354.5 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1895, allocations: 30.56 kB / 354.5 MB, free: 1.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.1895, allocations: 0 / 354.5 MB, free: 1.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.0198/0.2094, allocations: 2.5 MB / 357 MB, free: 15.23 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2094, allocations: 55.41 kB / 357 MB, free: 15.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.2099, allocations: 299.2 kB / 357.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.21, allocations: 33.7 kB / 357.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2102, allocations: 231.9 kB / 357.6 MB, free: 14.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.2103, allocations: 161.7 kB / 357.7 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.2104, allocations: 11.94 kB / 357.8 MB, free: 14.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2106, allocations: 346.8 kB / 358.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/0.211, allocations: 161 kB / 358.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.2115, allocations: 267.7 kB / 358.5 MB, free: 13.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000504/0.212, allocations: 196.8 kB / 358.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.212, allocations: 0 / 358.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001687/0.2137, allocations: 0.5917 MB / 359.3 MB, free: 12.8 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2138, allocations: 9.875 kB / 359.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.2138, allocations: 0 / 359.3 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/0.2255, allocations: 0.7716 MB / 360.1 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007395/0.2262, allocations: 111.8 kB / 360.2 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.2288, allocations: 2.467 MB / 362.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.2293, allocations: 39.95 kB / 362.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.2294, allocations: 20 kB / 362.7 MB, free: 9.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003172/0.2297, allocations: 181.7 kB / 362.9 MB, free: 9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.2298, allocations: 39.53 kB / 362.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.2317, allocations: 0.8514 MB / 363.8 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001497/0.2332, allocations: 0.9574 MB / 364.7 MB, free: 7.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.2332, allocations: 4 kB / 364.7 MB, free: 7.059 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.2334, allocations: 120.5 kB / 364.9 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.2335, allocations: 12 kB / 364.9 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.234, allocations: 23.92 kB / 364.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.2341, allocations: 24.41 kB / 364.9 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002324/0.2364, allocations: 0.8587 MB / 365.8 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002123/0.2385, allocations: 1.173 MB / 367 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005928/0.2392, allocations: 323.6 kB / 367.3 MB, free: 4.484 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.2395, allocations: 209.9 kB / 367.5 MB, free: 4.277 MB / 314.7 MB Notification: Performance of Backend: time 7.21e-07/0.2395, allocations: 0 / 367.5 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002446/0.2419, allocations: 0.711 MB / 368.2 MB, free: 3.543 MB / 314.7 MB Notification: Performance of SimCode: time 0.003254/0.2452, allocations: 1.754 MB / 369.9 MB, free: 1.746 MB / 314.7 MB Notification: Performance of Templates: time 0.2665/0.5117, allocations: 11.52 MB / 381.5 MB, free: 63.4 MB / 314.7 MB