Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.822/1.822, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08919/0.08957, allocations: 44.5 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005965/0.09558, allocations: 3.666 MB / 312.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.09815, allocations: 1.524 MB / 314.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.09824, allocations: 0 / 314.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.09851, allocations: 31.81 kB / 314.3 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.09887, allocations: 107.6 kB / 314.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009029/0.09979, allocations: 219.5 kB / 314.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003458/0.1001, allocations: 183.7 kB / 314.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1002, allocations: 5.125 kB / 314.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003146/0.1005, allocations: 119.7 kB / 314.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1007, allocations: 59.77 kB / 314.9 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.1007, allocations: 4 kB / 315 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003271/0.1011, allocations: 83.95 kB / 315 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.1012, allocations: 43.88 kB / 315.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.1013, allocations: 53.58 kB / 315.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003256/0.1016, allocations: 143.9 kB / 315.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1016, allocations: 4 kB / 315.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1016, allocations: 0 / 315.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1016, allocations: 0 / 315.3 MB, free: 10.11 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0012/0.1028, allocations: 455.2 kB / 315.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1029, allocations: 8.031 kB / 315.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/0.1032, allocations: 31.75 kB / 315.8 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.1034, allocations: 202.8 kB / 316 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1035, allocations: 12.28 kB / 316 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.1035, allocations: 16 kB / 316 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006075/0.1042, allocations: 216.6 kB / 316.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1042, allocations: 0 / 316.2 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.1042, allocations: 8 kB / 316.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.1043, allocations: 4 kB / 316.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006141/0.1049, allocations: 143.8 kB / 316.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1067, allocations: 0.9555 MB / 317.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.1074, allocations: 154.7 kB / 317.5 MB, free: 7.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/0.1081, allocations: 0.5035 MB / 318 MB, free: 7.164 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.1081, allocations: 38.56 kB / 318 MB, free: 7.117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.1081, allocations: 0 / 318 MB, free: 7.117 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.004056/0.1122, allocations: 0.7595 MB / 318.8 MB, free: 6.305 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.1122, allocations: 55.41 kB / 318.8 MB, free: 6.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1124, allocations: 161.8 kB / 319 MB, free: 6.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.27e-05/0.1125, allocations: 33.7 kB / 319 MB, free: 6.035 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.657e-05/0.1126, allocations: 131.9 kB / 319.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.881e-05/0.1127, allocations: 71 kB / 319.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.1127, allocations: 8 kB / 319.2 MB, free: 5.824 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1129, allocations: 322.8 kB / 319.5 MB, free: 5.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1133, allocations: 79.94 kB / 319.6 MB, free: 5.422 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.1138, allocations: 193.7 kB / 319.8 MB, free: 5.184 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.1143, allocations: 104.9 kB / 319.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1143, allocations: 0 / 319.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001154/0.1155, allocations: 326 kB / 320.2 MB, free: 4.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1155, allocations: 4 kB / 320.2 MB, free: 4.754 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.1156, allocations: 4 kB / 320.2 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1156, allocations: 8 kB / 320.2 MB, free: 4.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/0.1163, allocations: 88.31 kB / 320.3 MB, free: 4.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.1163, allocations: 7.938 kB / 320.3 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.1167, allocations: 19.98 kB / 320.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.1167, allocations: 8 kB / 320.3 MB, free: 4.621 MB / 266.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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.1169, allocations: 133.8 kB / 320.5 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.117, allocations: 23.7 kB / 320.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.1181, allocations: 235.8 kB / 320.7 MB, free: 4.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.1181, allocations: 3.953 kB / 320.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1181, allocations: 0 / 320.7 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.1182, allocations: 96.84 kB / 320.8 MB, free: 4.109 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.1183, allocations: 11.94 kB / 320.8 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.1187, allocations: 11.98 kB / 320.9 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1187, allocations: 15.98 kB / 320.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001348/0.1201, allocations: 314.8 kB / 321.2 MB, free: 3.758 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001466/0.1216, allocations: 473.6 kB / 321.6 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004072/0.122, allocations: 83.91 kB / 321.7 MB, free: 3.199 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.1221, allocations: 114.2 kB / 321.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of Backend: time 8.31e-07/0.1221, allocations: 0 / 321.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.1231, allocations: 266.1 kB / 322.1 MB, free: 2.82 MB / 266.7 MB Notification: Performance of SimCode: time 0.001093/0.1242, allocations: 0.9267 MB / 323 MB, free: 1.848 MB / 266.7 MB Notification: Performance of Templates: time 0.009445/0.1337, allocations: 2.919 MB / 325.9 MB, free: 14.92 MB / 282.7 MB