Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002844/0.002844, allocations: 364.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.035/4.035, allocations: 388.9 MB / 405.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003581/0.00358, allocations: 234.1 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5636/0.5636, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005336/0.0005338, allocations: 12.5 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1117, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.0007159/0.1125, allocations: 224.4 kB / 0.6803 GB, free: 41.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.1153, allocations: 1.48 MB / 0.6818 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.1154, allocations: 0 / 0.6818 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.096e-05/0.1154, allocations: 0 / 0.6818 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-06/0.1155, allocations: 0 / 0.6818 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1167, allocations: 203.5 kB / 0.682 GB, free: 39.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.422e-05/0.1167, allocations: 3.938 kB / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.109e-05/0.1168, allocations: 3.984 kB / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.785e-05/0.1168, allocations: 0 / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.791e-05/0.1169, allocations: 0 / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.713e-06/0.1169, allocations: 0 / 0.682 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.1185, allocations: 0.6636 MB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.1185, allocations: 3.984 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.988e-05/0.1186, allocations: 33.7 kB / 0.6826 GB, free: 39.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007219/0.1193, allocations: 451.3 kB / 0.6831 GB, free: 38.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1193, allocations: 0 / 0.6831 GB, free: 38.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1193, allocations: 0 / 0.6831 GB, free: 38.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1194, allocations: 0 / 0.6831 GB, free: 38.59 MB / 346.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.0005475/0.1199, allocations: 369 kB / 0.6834 GB, free: 38.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.12, allocations: 11.97 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.1201, allocations: 0 / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.1202, allocations: 163.1 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1202, allocations: 0 / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1202, allocations: 4 kB / 0.6836 GB, free: 37.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1203, allocations: 33.64 kB / 0.6836 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1204, allocations: 3.953 kB / 0.6836 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1204, allocations: 0 / 0.6836 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1204, allocations: 0 / 0.6836 GB, free: 37.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.1204, allocations: 3.984 kB / 0.6836 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.1206, allocations: 145.7 kB / 0.6838 GB, free: 37.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.042e-05/0.1206, allocations: 22.52 kB / 0.6838 GB, free: 37.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.1207, allocations: 12.95 kB / 0.6838 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.1207, allocations: 3.938 kB / 0.6838 GB, free: 37.67 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.1208, allocations: 56.27 kB / 0.6839 GB, free: 37.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.073e-06/0.1208, allocations: 0 / 0.6839 GB, free: 37.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001917/0.121, allocations: 67.34 kB / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.121, allocations: 77.11 kB / 0.684 GB, free: 37.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.474e-05/0.1211, allocations: 89.98 kB / 0.6841 GB, free: 37.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1211, allocations: 33.7 kB / 0.6841 GB, free: 37.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.974e-05/0.1211, allocations: 80.14 kB / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.1212, allocations: 0 / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.1212, allocations: 4 kB / 0.6842 GB, free: 37.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.399e-05/0.1213, allocations: 310.8 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.1213, allocations: 3.984 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.1213, allocations: 3.938 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.1213, allocations: 29.7 kB / 0.6845 GB, free: 36.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1214, allocations: 4.062 kB / 0.6845 GB, free: 36.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.291e-05/0.1215, allocations: 55.41 kB / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.1215, allocations: 37.7 kB / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1215, allocations: 0 / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1216, allocations: 3.984 kB / 0.6846 GB, free: 36.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.274e-06/0.1216, allocations: 0 / 0.6846 GB, free: 36.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.1216, allocations: 3.953 kB / 0.6846 GB, free: 36.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.498e-05/0.1217, allocations: 0 / 0.6846 GB, free: 36.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.1217, allocations: 4 kB / 0.6846 GB, free: 36.73 MB / 346.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 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.041e-05/0.1218, allocations: 136.4 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.222e-05/0.1218, allocations: 0 / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.102e-05/0.1218, allocations: 3.125 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1218, allocations: 4 kB / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1218, allocations: 0 / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1219, allocations: 89.03 kB / 0.6849 GB, free: 36.47 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.1219, allocations: 3.938 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.708e-05/0.1219, allocations: 0 / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.122, allocations: 0 / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001195/0.1221, allocations: 202 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001417/0.1223, allocations: 232.5 kB / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.689e-05/0.1223, allocations: 11.89 kB / 0.6853 GB, free: 35.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.854e-05/0.1223, allocations: 75.28 kB / 0.6854 GB, free: 35.91 MB / 346.7 MB Notification: Performance of Backend: time 1.192e-06/0.1224, allocations: 3.938 kB / 0.6854 GB, free: 35.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.1243, allocations: 215.2 kB / 0.6856 GB, free: 35.68 MB / 346.7 MB Notification: Performance of SimCode: time 0.0003011/0.1246, allocations: 0.5736 MB / 0.6861 GB, free: 35.05 MB / 346.7 MB Notification: Performance of Templates: time 0.00964/0.1343, allocations: 4.169 MB / 0.6902 GB, free: 30.87 MB / 346.7 MB