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.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003403, allocations: 8 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08719, allocations: 44.51 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02457/0.1118, allocations: 16.28 MB / 325.3 MB, free: 32 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008443/0.1203, allocations: 4.748 MB / 330.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.1207, allocations: 4 kB / 330.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008055/0.1216, allocations: 187.1 kB / 330.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006759/0.1223, allocations: 219.4 kB / 330.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004917/0.1272, allocations: 1.204 MB / 331.7 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1283, allocations: 0.5107 MB / 332.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.1285, allocations: 70.92 kB / 332.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01581/0.1443, allocations: 7.204 MB / 339.5 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000337/0.1447, allocations: 179.2 kB / 339.6 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.1448, allocations: 16 kB / 339.7 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.1469, allocations: 0.7181 MB / 340.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001377/0.1471, allocations: 75.72 kB / 340.5 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.1473, allocations: 93.58 kB / 340.5 MB, free: 0.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1485, allocations: 0.6157 MB / 341.2 MB, free: 180 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1485, allocations: 3.938 kB / 341.2 MB, free: 176 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1485, allocations: 0 / 341.2 MB, free: 176 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1486, allocations: 0 / 341.2 MB, free: 176 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001111/0.1497, allocations: 0.5807 MB / 341.7 MB, free: 15.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1497, allocations: 12.03 kB / 341.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005889/0.1503, allocations: 55.59 kB / 341.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.1508, allocations: 278.5 kB / 342.1 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.1509, allocations: 20.52 kB / 342.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.1509, allocations: 28 kB / 342.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.1517, allocations: 330.5 kB / 342.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.1517, allocations: 11.92 kB / 342.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.1518, allocations: 12 kB / 342.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.1518, allocations: 8 kB / 342.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005299/0.1523, allocations: 210 kB / 342.7 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02078/0.1731, allocations: 5.912 MB / 348.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.1736, allocations: 182.6 kB / 348.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01767/0.1913, allocations: 3.869 MB / 352.6 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1914, allocations: 30.56 kB / 352.7 MB, free: 3.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 4.489e-06/0.1914, allocations: 3.984 kB / 352.7 MB, free: 3.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.00922/0.2006, allocations: 1.429 MB / 354.1 MB, free: 2.203 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.2007, allocations: 55.41 kB / 354.2 MB, free: 2.137 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/0.2011, allocations: 258.5 kB / 354.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.2011, allocations: 29.7 kB / 354.4 MB, free: 1.836 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.2013, allocations: 192 kB / 354.6 MB, free: 1.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.799e-05/0.2014, allocations: 94.64 kB / 354.7 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.2014, allocations: 4 kB / 354.7 MB, free: 1.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.2016, allocations: 342.8 kB / 355.1 MB, free: 1.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.2019, allocations: 95.73 kB / 355.2 MB, free: 1.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.2022, allocations: 175.1 kB / 355.3 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.2025, allocations: 123.9 kB / 355.5 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2025, allocations: 0 / 355.5 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001051/0.2036, allocations: 394.7 kB / 355.8 MB, free: 388 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2036, allocations: 8 kB / 355.8 MB, free: 380 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.2037, allocations: 4 kB / 355.8 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005678/0.2094, allocations: 405.7 kB / 356.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.2098, allocations: 63.91 kB / 356.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.2118, allocations: 1.879 MB / 358.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.2122, allocations: 28.23 kB / 358.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.2122, allocations: 12 kB / 358.2 MB, free: 13.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.2125, allocations: 149.8 kB / 358.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.2125, allocations: 23.72 kB / 358.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.2137, allocations: 0.4903 MB / 358.9 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009412/0.2146, allocations: 0.7198 MB / 359.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2146, allocations: 0 / 359.6 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2148, allocations: 108.8 kB / 359.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.54e-05/0.2148, allocations: 4 kB / 359.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.2152, allocations: 15.91 kB / 359.7 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.2153, allocations: 24.14 kB / 359.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001293/0.2166, allocations: 0.4975 MB / 360.3 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001235/0.2178, allocations: 0.7135 MB / 361 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003368/0.2182, allocations: 184.1 kB / 361.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002555/0.2184, allocations: 178 kB / 361.3 MB, free: 10.58 MB / 314.7 MB Notification: Performance of Backend: time 7.82e-07/0.2184, allocations: 3.938 kB / 361.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.2204, allocations: 0.5788 MB / 361.9 MB, free: 9.973 MB / 314.7 MB Notification: Performance of SimCode: time 0.002422/0.2229, allocations: 1.344 MB / 363.2 MB, free: 8.59 MB / 314.7 MB Notification: Performance of Templates: time 0.2508/0.4737, allocations: 9.298 MB / 372.5 MB, free: 67.2 MB / 314.7 MB