Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004321/0.004327, 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.001/4.001, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.00363/0.003629, allocations: 223.5 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.5614/0.5614, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004626, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09752, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002727/0.1003, allocations: 1.84 MB / 0.6819 GB, free: 39.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1021, allocations: 0.7183 MB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.1024, allocations: 4 kB / 0.6826 GB, free: 39.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001333/0.1026, allocations: 23.78 kB / 0.6826 GB, free: 39.04 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.1028, allocations: 63.53 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.1033, allocations: 99.81 kB / 0.6828 GB, free: 38.88 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.1037, allocations: 291.3 kB / 0.6831 GB, free: 38.6 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1039, allocations: 72.55 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.1042, allocations: 119.5 kB / 0.6832 GB, free: 38.41 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.1044, allocations: 131.5 kB / 0.6834 GB, free: 38.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.924e-05/0.1045, allocations: 16 kB / 0.6834 GB, free: 38.26 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1046, allocations: 55.95 kB / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.1047, allocations: 55.81 kB / 0.6835 GB, free: 38.15 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.1048, allocations: 65.58 kB / 0.6836 GB, free: 38.08 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.1051, allocations: 239.6 kB / 0.6838 GB, free: 37.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1052, allocations: 0 / 0.6838 GB, free: 37.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1052, allocations: 3.938 kB / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1052, allocations: 0 / 0.6838 GB, free: 37.84 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001138/0.1063, allocations: 0.5295 MB / 0.6843 GB, free: 37.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.1064, allocations: 8.031 kB / 0.6843 GB, free: 37.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.057e-05/0.1065, allocations: 23.72 kB / 0.6843 GB, free: 37.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.1068, allocations: 242.6 kB / 0.6846 GB, free: 36.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.1068, allocations: 16.44 kB / 0.6846 GB, free: 36.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.751e-05/0.1069, allocations: 31.91 kB / 0.6846 GB, free: 36.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006818/0.1076, allocations: 263.1 kB / 0.6849 GB, free: 36.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1076, allocations: 7.938 kB / 0.6849 GB, free: 36.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.1077, allocations: 8 kB / 0.6849 GB, free: 36.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1077, allocations: 7.953 kB / 0.6849 GB, free: 36.63 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007037/0.1084, allocations: 237.6 kB / 0.6851 GB, free: 36.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.1102, allocations: 0.7441 MB / 0.6858 GB, free: 35.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007565/0.111, allocations: 250.6 kB / 0.6861 GB, free: 35.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.1114, allocations: 140.1 kB / 0.6862 GB, free: 35.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.1114, allocations: 0 / 0.6862 GB, free: 35.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.1115, allocations: 38.56 kB / 0.6862 GB, free: 35.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.345e-06/0.1115, allocations: 3.938 kB / 0.6862 GB, free: 35.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.004525/0.116, allocations: 1.501 MB / 0.6877 GB, free: 33.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.1161, allocations: 51.41 kB / 0.6878 GB, free: 33.49 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.1163, allocations: 196.7 kB / 0.688 GB, free: 33.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.1164, allocations: 37.7 kB / 0.688 GB, free: 33.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.1165, allocations: 136.6 kB / 0.6881 GB, free: 33.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.638e-05/0.1166, allocations: 110.4 kB / 0.6882 GB, free: 33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.1166, allocations: 8 kB / 0.6882 GB, free: 32.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.1167, allocations: 334.8 kB / 0.6885 GB, free: 32.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.1171, allocations: 123.9 kB / 0.6887 GB, free: 32.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.1175, allocations: 167.3 kB / 0.6888 GB, free: 32.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.1178, allocations: 113.5 kB / 0.6889 GB, free: 32.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1179, allocations: 7.938 kB / 0.6889 GB, free: 32.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001295/0.1192, allocations: 453.5 kB / 0.6894 GB, free: 31.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1192, allocations: 11.98 kB / 0.6894 GB, free: 31.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1192, allocations: 3.984 kB / 0.6894 GB, free: 31.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.12, allocations: 244.7 kB / 0.6896 GB, free: 31.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.1204, allocations: 51.91 kB / 0.6897 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008987/0.1213, allocations: 0.7475 MB / 0.6904 GB, free: 30.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.1218, allocations: 56.11 kB / 0.6905 GB, free: 30.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.1218, allocations: 12 kB / 0.6905 GB, free: 30.64 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002167/0.122, allocations: 138.6 kB / 0.6906 GB, free: 30.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.1221, allocations: 23.8 kB / 0.6906 GB, free: 30.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.653e-05/0.1222, allocations: 34.66 kB / 0.6907 GB, free: 30.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1223, allocations: 3.984 kB / 0.6907 GB, free: 30.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1223, allocations: 7.938 kB / 0.6907 GB, free: 30.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1224, allocations: 132.7 kB / 0.6908 GB, free: 30.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/0.1225, allocations: 4 kB / 0.6908 GB, free: 30.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.123, allocations: 47.95 kB / 0.6908 GB, free: 30.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.1231, allocations: 59.89 kB / 0.6909 GB, free: 30.17 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00167/0.1248, allocations: 0.4985 MB / 0.6914 GB, free: 29.66 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00126/0.1261, allocations: 0.6243 MB / 0.692 GB, free: 29.02 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003621/0.1265, allocations: 123.9 kB / 0.6921 GB, free: 28.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1267, allocations: 146 kB / 0.6923 GB, free: 28.76 MB / 346.7 MB Notification: Performance of Backend: time 1.312e-06/0.1267, allocations: 0 / 0.6923 GB, free: 28.76 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.1279, allocations: 314.1 kB / 0.6926 GB, free: 28.45 MB / 346.7 MB Notification: Performance of SimCode: time 0.001379/0.1293, allocations: 1.161 MB / 0.6937 GB, free: 27.24 MB / 346.7 MB Notification: Performance of Templates: time 0.01253/0.1418, allocations: 4.432 MB / 0.698 GB, free: 22.82 MB / 346.7 MB