Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile.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.ReadRealMatrixFromFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Modelica_3.2.2_Modelica.Utilities.Examples.ReadRealMatrixFromFile") Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003626, allocations: 8 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 44.51 MB / 309 MB, free: 384 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.ReadRealMatrixFromFile): time 0.0008138/0.1022, allocations: 248.6 kB / 309.3 MB, free: 136 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.1059, allocations: 1.743 MB / 311 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.1059, allocations: 0 / 311 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008355/0.1068, allocations: 79.8 kB / 311.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.1069, allocations: 23.97 kB / 311.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.1073, allocations: 51.81 kB / 311.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1074, allocations: 35.94 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.1074, allocations: 0 / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.1075, allocations: 23.92 kB / 311.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1077, allocations: 35.84 kB / 311.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1078, allocations: 0 / 311.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.412e-05/0.1079, allocations: 11.94 kB / 311.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.108, allocations: 55.86 kB / 311.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.1081, allocations: 37.64 kB / 311.4 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1083, allocations: 96.05 kB / 311.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.1083, allocations: 0 / 311.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1084, allocations: 0 / 311.5 MB, free: 13.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1084, allocations: 0 / 311.5 MB, free: 13.92 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000918/0.1093, allocations: 446.5 kB / 311.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1094, allocations: 8.031 kB / 311.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.1095, allocations: 15.91 kB / 311.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.111, allocations: 375.7 kB / 312.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.111, allocations: 4 kB / 312.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.1111, allocations: 4 kB / 312.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.1113, allocations: 78.78 kB / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1113, allocations: 0 / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1113, allocations: 0 / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1113, allocations: 0 / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.1114, allocations: 4 kB / 312.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.112, allocations: 241.5 kB / 312.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.1121, allocations: 22.52 kB / 312.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-06/0.1121, allocations: 0 / 312.6 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1122, allocations: 30.56 kB / 312.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 8.607e-06/0.1122, allocations: 8.047 kB / 312.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002055/0.1124, allocations: 53.59 kB / 312.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.1125, allocations: 132.5 kB / 312.9 MB, free: 12.3 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/0.1133, allocations: 315.7 kB / 313.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1133, allocations: 29.7 kB / 313.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.1135, allocations: 112.1 kB / 313.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.1135, allocations: 0 / 313.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.1135, allocations: 0 / 313.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1137, allocations: 326.8 kB / 313.6 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.75e-05/0.1137, allocations: 7.938 kB / 313.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1138, allocations: 53.08 kB / 313.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.1139, allocations: 8 kB / 313.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.1139, allocations: 3.953 kB / 313.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001603/0.1141, allocations: 49.52 kB / 313.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.1141, allocations: 4 kB / 313.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.1142, allocations: 8.078 kB / 313.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1142, allocations: 0 / 313.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.1143, allocations: 7.938 kB / 313.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1143, allocations: 0 / 313.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.1145, allocations: 19.84 kB / 313.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1146, allocations: 3.938 kB / 313.8 MB, free: 11.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001827/0.1147, allocations: 129.8 kB / 313.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.1148, allocations: 11.86 kB / 313.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.1149, allocations: 20.55 kB / 314 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1149, allocations: 4 kB / 314 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1149, allocations: 0 / 314 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.1151, allocations: 116.9 kB / 314.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.1152, allocations: 0 / 314.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.1154, allocations: 8 kB / 314.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.1154, allocations: 0 / 314.1 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002248/0.1157, allocations: 120.9 kB / 314.2 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002853/0.116, allocations: 234.6 kB / 314.4 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.971e-05/0.116, allocations: 8.016 kB / 314.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005578/0.1166, allocations: 240.2 kB / 314.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of Backend: time 7.81e-07/0.1166, allocations: 4 kB / 314.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008441/0.1175, allocations: 163.3 kB / 314.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of SimCode: time 0.000954/0.1185, allocations: 0.7137 MB / 315.5 MB, free: 9.496 MB / 266.7 MB Notification: Performance of Templates: time 0.008634/0.1271, allocations: 1.788 MB / 317.3 MB, free: 7.719 MB / 266.7 MB "" Variables in the reference:time,x Variables in the result:A1[1,1],A1[1,2],A1[2,1],A1[2,2],A1[3,1],A1[3,2],A2[1,1],A2[1,2],A2[2,1],A2[2,2],A2[3,1],A2[3,2],A3[1,1],A3[1,2],A3[2,1],A3[2,2],A3[3,1],A3[3,2],A[1,1],A[1,2],A[2,1],A[2,2],A[3,1],A[3,2],dim1[1],dim1[2],dim2[1],dim2[2],dim3[1],dim3[2],dim[1],dim[2],time,x