Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.679/1.679, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 11.98 kB / 233.9 MB, free: 2.383 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08037, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01791/0.09834, allocations: 10.47 MB / 283.1 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003112/0.1015, allocations: 1.407 MB / 284.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003233/0.1019, allocations: 4 kB / 284.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.1026, allocations: 147.2 kB / 284.7 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006612/0.1033, allocations: 207.4 kB / 284.9 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009864/0.1043, allocations: 219.6 kB / 285.1 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008971/0.1052, allocations: 467 kB / 285.5 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.1054, allocations: 84.52 kB / 285.6 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.1065, allocations: 339 kB / 286 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.1068, allocations: 171.4 kB / 286.1 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.1069, allocations: 12 kB / 286.1 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.1071, allocations: 24 kB / 286.2 MB, free: 13.97 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.1073, allocations: 67.78 kB / 286.2 MB, free: 13.91 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.1074, allocations: 97.45 kB / 286.3 MB, free: 13.8 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005579/0.108, allocations: 347.3 kB / 286.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.108, allocations: 0 / 286.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.108, allocations: 0 / 286.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.108, allocations: 0 / 286.7 MB, free: 13.46 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.00117/0.1092, allocations: 0.5184 MB / 287.2 MB, free: 12.9 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1093, allocations: 8.031 kB / 287.2 MB, free: 12.89 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.1096, allocations: 39.7 kB / 287.2 MB, free: 12.85 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.1102, allocations: 282.5 kB / 287.5 MB, free: 12.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.1102, allocations: 20.55 kB / 287.5 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.1103, allocations: 24 kB / 287.5 MB, free: 12.49 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/0.1111, allocations: 299.6 kB / 287.8 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.1111, allocations: 3.938 kB / 287.8 MB, free: 12.16 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.76e-05/0.1112, allocations: 16 kB / 287.9 MB, free: 12.15 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.1112, allocations: 4 kB / 287.9 MB, free: 12.14 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.1118, allocations: 197.6 kB / 288.1 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.1144, allocations: 1.436 MB / 289.5 MB, free: 10.4 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.115, allocations: 167.2 kB / 289.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.115, allocations: 4.188 kB / 289.7 MB, free: 10.22 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.1151, allocations: 34.75 kB / 289.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 3.427e-06/0.1151, allocations: 3.938 kB / 289.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.004012/0.1191, allocations: 1.014 MB / 290.7 MB, free: 9.086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.1192, allocations: 55.41 kB / 290.8 MB, free: 9.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/0.1196, allocations: 254.6 kB / 291 MB, free: 8.762 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.1197, allocations: 29.7 kB / 291 MB, free: 8.727 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.1199, allocations: 172.2 kB / 291.2 MB, free: 8.555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.12, allocations: 98.62 kB / 291.3 MB, free: 8.457 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.12, allocations: 15.94 kB / 291.3 MB, free: 8.441 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1202, allocations: 338.7 kB / 291.7 MB, free: 8.102 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1205, allocations: 87.97 kB / 291.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.1208, allocations: 174.7 kB / 291.9 MB, free: 7.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.1212, allocations: 123.9 kB / 292 MB, free: 7.684 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1212, allocations: 0 / 292 MB, free: 7.684 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001155/0.1223, allocations: 374.7 kB / 292.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.1224, allocations: 9.094 kB / 292.4 MB, free: 7.297 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1224, allocations: 4 kB / 292.4 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.1229, allocations: 70.03 kB / 292.5 MB, free: 7.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/0.1234, allocations: 67.91 kB / 292.5 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.1266, allocations: 2.689 MB / 295.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.1272, allocations: 27.92 kB / 295.3 MB, free: 4.172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.1272, allocations: 12 kB / 295.3 MB, free: 4.16 MB / 250.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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.1275, allocations: 149.8 kB / 295.4 MB, free: 4.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.1276, allocations: 31.62 kB / 295.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1277, allocations: 34.45 kB / 295.5 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009766/0.1287, allocations: 0.5629 MB / 296 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1287, allocations: 0 / 296 MB, free: 3.285 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1289, allocations: 104.8 kB / 296.1 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.129, allocations: 8 kB / 296.2 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.1293, allocations: 15.98 kB / 296.2 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.1294, allocations: 15.97 kB / 296.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00124/0.1307, allocations: 357.9 kB / 296.5 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009882/0.1317, allocations: 0.4906 MB / 297 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002356/0.1319, allocations: 95.94 kB / 297.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.1322, allocations: 182 kB / 297.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of Backend: time 7.62e-07/0.1322, allocations: 4 kB / 297.3 MB, free: 1.98 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.1335, allocations: 490.6 kB / 297.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of SimCode: time 0.002532/0.1361, allocations: 1.291 MB / 299.1 MB, free: 136 kB / 250.7 MB Notification: Performance of Templates: time 0.243/0.3791, allocations: 4.843 MB / 303.9 MB, free: 31.36 MB / 250.7 MB