Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 11.98 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1181, allocations: 44.51 MB / 309.1 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001445/0.1196, allocations: 0.8948 MB / 309.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003566/0.1231, allocations: 1.777 MB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.219e-05/0.1232, allocations: 0 / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.1232, allocations: 0 / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.1244, allocations: 295.2 kB / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.334e-05/0.1244, allocations: 0 / 312 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.126e-05/0.1245, allocations: 11.97 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.1245, allocations: 4 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.1245, allocations: 0 / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.1247, allocations: 7.938 kB / 312 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.1247, allocations: 0 / 312 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.1255, allocations: 347.6 kB / 312.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1255, allocations: 7.984 kB / 312.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.1256, allocations: 25.7 kB / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004799/0.126, allocations: 219.6 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1261, allocations: 0 / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1261, allocations: 3.938 kB / 312.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1261, allocations: 0 / 312.6 MB, free: 12.77 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004667/0.1266, allocations: 395.3 kB / 313 MB, free: 12.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1266, allocations: 8.031 kB / 313 MB, free: 12.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.082e-05/0.1267, allocations: 83.28 kB / 313.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.1269, allocations: 250.2 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.1269, allocations: 150.6 kB / 313.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.773e-05/0.127, allocations: 154.5 kB / 313.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.483e-05/0.1271, allocations: 101 kB / 313.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.1271, allocations: 75.28 kB / 313.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.1272, allocations: 158.6 kB / 314 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.1273, allocations: 154.5 kB / 314.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.12e-05/0.1274, allocations: 166.5 kB / 314.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.1277, allocations: 441.9 kB / 314.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.322e-05/0.1278, allocations: 173.1 kB / 314.9 MB, free: 10.35 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.1278, allocations: 79.28 kB / 315 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.1279, allocations: 47.34 kB / 315 MB, free: 10.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 2.505e-06/0.128, allocations: 0 / 315 MB, free: 10.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001236/0.1281, allocations: 29.7 kB / 315 MB, free: 10.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1281, allocations: 51.53 kB / 315.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.1282, allocations: 109.8 kB / 315.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1283, allocations: 25.7 kB / 315.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.1283, allocations: 84.14 kB / 315.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.223e-05/0.1283, allocations: 0 / 315.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.1284, allocations: 3.938 kB / 315.3 MB, free: 9.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1285, allocations: 314.8 kB / 315.6 MB, free: 9.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.1285, allocations: 4 kB / 315.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-06/0.1285, allocations: 3.953 kB / 315.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.644e-05/0.1285, allocations: 8.016 kB / 315.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1286, allocations: 0 / 315.6 MB, free: 9.543 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.576e-05/0.1286, allocations: 33.7 kB / 315.7 MB, free: 9.504 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1287, allocations: 4 kB / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1287, allocations: 0 / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1287, allocations: 0 / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.93e-05/0.1287, allocations: 0 / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1287, allocations: 0 / 315.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.1288, allocations: 4 kB / 315.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1288, allocations: 7.984 kB / 315.7 MB, free: 9.488 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.145e-05/0.1289, allocations: 113.8 kB / 315.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.1289, allocations: 0 / 315.8 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.798e-05/0.1289, allocations: 7.125 kB / 315.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1289, allocations: 0 / 315.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.129, allocations: 0 / 315.8 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.129, allocations: 88.94 kB / 315.9 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.129, allocations: 7.938 kB / 315.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.729e-05/0.1291, allocations: 0 / 315.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.1291, allocations: 4 kB / 315.9 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.815e-05/0.1292, allocations: 120.9 kB / 316 MB, free: 9.117 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001395/0.1293, allocations: 202.8 kB / 316.2 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.53e-05/0.1294, allocations: 3.938 kB / 316.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.44e-05/0.1294, allocations: 83.28 kB / 316.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of Backend: time 6.41e-07/0.1294, allocations: 0 / 316.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.1309, allocations: 462.5 kB / 316.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of SimCode: time 0.0005708/0.1315, allocations: 0.5604 MB / 317.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of Templates: time 0.008289/0.1398, allocations: 2.682 MB / 320 MB, free: 5.129 MB / 266.7 MB