Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J4.phi|J4.w|J6.phi|J6.w|inertia1.phi|inertia1.w|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002778/0.002783, allocations: 370.5 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 3.934/3.934, allocations: 388.9 MB / 405.6 MB, free: 10.26 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.005756/0.005756, allocations: 231.2 kB / 451 MB, free: 145.1 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.5654/0.5654, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004704, allocations: 8 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09821/0.09871, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003156/0.1019, allocations: 2.355 MB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1035, allocations: 0.683 MB / 0.6831 GB, free: 38.61 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.1038, allocations: 8 kB / 0.6831 GB, free: 38.6 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.987e-05/0.1039, allocations: 35.7 kB / 0.6831 GB, free: 38.56 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.1042, allocations: 111.1 kB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1045, allocations: 59.94 kB / 0.6833 GB, free: 38.39 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.1049, allocations: 402 kB / 0.6836 GB, free: 38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002446/0.1052, allocations: 112 kB / 0.6838 GB, free: 37.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.1055, allocations: 139.4 kB / 0.6839 GB, free: 37.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.106, allocations: 151.3 kB / 0.684 GB, free: 37.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.592e-05/0.1061, allocations: 27.92 kB / 0.6841 GB, free: 37.58 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1062, allocations: 20 kB / 0.6841 GB, free: 37.56 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.1063, allocations: 55.77 kB / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1065, allocations: 97.52 kB / 0.6842 GB, free: 37.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005614/0.1071, allocations: 307.4 kB / 0.6845 GB, free: 37.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.1071, allocations: 4 kB / 0.6845 GB, free: 37.1 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.1071, allocations: 0 / 0.6845 GB, free: 37.1 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.1072, allocations: 0 / 0.6845 GB, free: 37.1 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001688/0.1089, allocations: 0.5887 MB / 0.6851 GB, free: 36.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/0.109, allocations: 8.562 kB / 0.6851 GB, free: 36.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.1092, allocations: 47.53 kB / 0.6851 GB, free: 36.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.1099, allocations: 269.8 kB / 0.6854 GB, free: 36.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.11, allocations: 29 kB / 0.6854 GB, free: 36.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.1102, allocations: 43.89 kB / 0.6855 GB, free: 36.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.1116, allocations: 394.1 kB / 0.6859 GB, free: 35.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.553e-05/0.1117, allocations: 3.984 kB / 0.6859 GB, free: 35.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.1117, allocations: 23.94 kB / 0.6859 GB, free: 35.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.1118, allocations: 12 kB / 0.6859 GB, free: 35.58 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.113, allocations: 231.5 kB / 0.6861 GB, free: 35.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004886/0.118, allocations: 1.731 MB / 0.6878 GB, free: 33.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008389/0.1189, allocations: 270.3 kB / 0.6881 GB, free: 33.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.1192, allocations: 98.06 kB / 0.6882 GB, free: 33.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/0.1193, allocations: 4 kB / 0.6882 GB, free: 33.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1193, allocations: 46.5 kB / 0.6882 GB, free: 33.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 4.218e-06/0.1194, allocations: 0 / 0.6882 GB, free: 33.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009411/0.1203, allocations: 277.3 kB / 0.6885 GB, free: 32.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.1204, allocations: 217.5 kB / 0.6887 GB, free: 32.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.1207, allocations: 270.8 kB / 0.6889 GB, free: 32.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1207, allocations: 29.7 kB / 0.689 GB, free: 32.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.1209, allocations: 235.2 kB / 0.6892 GB, free: 31.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.333e-05/0.121, allocations: 126.5 kB / 0.6893 GB, free: 31.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/0.121, allocations: 8 kB / 0.6893 GB, free: 31.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.186e-05/0.1211, allocations: 346.8 kB / 0.6896 GB, free: 31.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002889/0.1214, allocations: 97.27 kB / 0.6897 GB, free: 31.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.1218, allocations: 432.8 kB / 0.6901 GB, free: 30.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.1223, allocations: 171.8 kB / 0.6903 GB, free: 30.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.1223, allocations: 4 kB / 0.6903 GB, free: 30.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00113/0.1234, allocations: 0.5286 MB / 0.6908 GB, free: 30.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.1235, allocations: 12 kB / 0.6908 GB, free: 30.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.1235, allocations: 12 kB / 0.6909 GB, free: 30.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/0.1236, allocations: 16 kB / 0.6909 GB, free: 30.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007671/0.1243, allocations: 156.5 kB / 0.691 GB, free: 29.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.1244, allocations: 19.94 kB / 0.691 GB, free: 29.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000424/0.1248, allocations: 67.42 kB / 0.6911 GB, free: 29.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.1249, allocations: 35.95 kB / 0.6911 GB, free: 29.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * 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.0001954/0.1251, allocations: 177.5 kB / 0.6913 GB, free: 29.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.1253, allocations: 31.62 kB / 0.6913 GB, free: 29.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.101e-05/0.1253, allocations: 33.78 kB / 0.6914 GB, free: 29.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.1254, allocations: 7.984 kB / 0.6914 GB, free: 29.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.1254, allocations: 7.938 kB / 0.6914 GB, free: 29.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.1254, allocations: 100.8 kB / 0.6915 GB, free: 29.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.581e-05/0.1255, allocations: 11.95 kB / 0.6915 GB, free: 29.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.1261, allocations: 15.98 kB / 0.6915 GB, free: 29.35 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.1261, allocations: 15.98 kB / 0.6915 GB, free: 29.33 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001431/0.1276, allocations: 0.8327 MB / 0.6923 GB, free: 28.49 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001039/0.1286, allocations: 0.9744 MB / 0.6933 GB, free: 27.49 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002624/0.1289, allocations: 87.94 kB / 0.6934 GB, free: 27.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002022/0.1291, allocations: 178 kB / 0.6935 GB, free: 27.23 MB / 346.7 MB Notification: Performance of Backend: time 4.7e-07/0.1292, allocations: 3.938 kB / 0.6935 GB, free: 27.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.1307, allocations: 320.2 kB / 0.6938 GB, free: 26.91 MB / 346.7 MB Notification: Performance of SimCode: time 0.003573/0.1343, allocations: 2.36 MB / 0.6962 GB, free: 24.5 MB / 346.7 MB Notification: Performance of Templates: time 0.009782/0.1441, allocations: 3.084 MB / 0.6992 GB, free: 21.45 MB / 346.7 MB