Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00371/0.00371, allocations: 352.6 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.689/3.689, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003529/0.003529, allocations: 225.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5235/0.5235, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004781, allocations: 8 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08721, allocations: 48.71 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002536/0.0898, allocations: 1.836 MB / 0.6085 GB, free: 2.805 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.09131, allocations: 0.7405 MB / 0.6093 GB, free: 2.062 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.09151, allocations: 4 kB / 0.6093 GB, free: 2.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.09164, allocations: 23.84 kB / 0.6093 GB, free: 2.035 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.09187, allocations: 67.45 kB / 0.6093 GB, free: 1.969 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.09234, allocations: 99.81 kB / 0.6094 GB, free: 1.871 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.09269, allocations: 291.3 kB / 0.6097 GB, free: 1.586 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.09289, allocations: 60.66 kB / 0.6098 GB, free: 1.523 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.09311, allocations: 123.5 kB / 0.6099 GB, free: 1.402 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2958/0.3889, allocations: 131 kB / 0.61 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.3891, allocations: 15.62 kB / 0.61 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004691/0.3896, allocations: 102.1 kB / 0.6101 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.3898, allocations: 51.58 kB / 0.6102 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3899, allocations: 63.45 kB / 0.6102 GB, free: 88.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006153/0.3905, allocations: 249 kB / 0.6105 GB, free: 88.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.3905, allocations: 2.062 kB / 0.6105 GB, free: 88.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3906, allocations: 0 / 0.6105 GB, free: 88.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3906, allocations: 0 / 0.6105 GB, free: 88.66 MB / 362.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.001555/0.3922, allocations: 0.5255 MB / 0.611 GB, free: 88.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.952e-05/0.3922, allocations: 17.09 kB / 0.611 GB, free: 88.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3924, allocations: 27.06 kB / 0.611 GB, free: 88.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.3928, allocations: 246.2 kB / 0.6113 GB, free: 88.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/0.3929, allocations: 15.91 kB / 0.6113 GB, free: 88.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.393, allocations: 23.36 kB / 0.6113 GB, free: 88.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.3941, allocations: 255.4 kB / 0.6116 GB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.3942, allocations: 2 kB / 0.6116 GB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/0.3943, allocations: 10.28 kB / 0.6116 GB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3943, allocations: 4.812 kB / 0.6116 GB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.3954, allocations: 238.3 kB / 0.6118 GB, free: 87.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002888/0.3983, allocations: 0.7216 MB / 0.6125 GB, free: 87.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.3996, allocations: 256.9 kB / 0.6127 GB, free: 87.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005842/0.4002, allocations: 133.3 kB / 0.6129 GB, free: 87.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.548e-05/0.4002, allocations: 3.188 kB / 0.6129 GB, free: 87.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4003, allocations: 39.77 kB / 0.6129 GB, free: 87.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 4.359e-06/0.4003, allocations: 0 / 0.6129 GB, free: 87.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.006843/0.4072, allocations: 1.553 MB / 0.6144 GB, free: 87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.4072, allocations: 53.91 kB / 0.6145 GB, free: 86.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000378/0.4076, allocations: 202.8 kB / 0.6147 GB, free: 86.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-05/0.4077, allocations: 34.7 kB / 0.6147 GB, free: 86.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4078, allocations: 131.5 kB / 0.6148 GB, free: 86.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.408, allocations: 112 kB / 0.6149 GB, free: 86.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/0.4081, allocations: 6.875 kB / 0.615 GB, free: 86.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4082, allocations: 332.5 kB / 0.6153 GB, free: 86.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.4088, allocations: 122.8 kB / 0.6154 GB, free: 86.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.4095, allocations: 164.6 kB / 0.6155 GB, free: 86.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.41, allocations: 113 kB / 0.6156 GB, free: 86.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.41, allocations: 1.031 kB / 0.6157 GB, free: 86.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002331/0.4124, allocations: 0.5174 MB / 0.6162 GB, free: 86.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.4124, allocations: 13.03 kB / 0.6162 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4125, allocations: 2.328 kB / 0.6162 GB, free: 86.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/0.4134, allocations: 186.7 kB / 0.6163 GB, free: 86.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.414, allocations: 56.77 kB / 0.6164 GB, free: 86.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.4153, allocations: 0.7377 MB / 0.6171 GB, free: 85.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007165/0.4161, allocations: 47.52 kB / 0.6172 GB, free: 85.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.4162, allocations: 14.67 kB / 0.6172 GB, free: 85.7 MB / 362.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.0003142/0.4165, allocations: 151.5 kB / 0.6173 GB, free: 85.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4166, allocations: 25.91 kB / 0.6174 GB, free: 85.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.4168, allocations: 38.39 kB / 0.6174 GB, free: 85.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4168, allocations: 2.016 kB / 0.6174 GB, free: 85.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4168, allocations: 1.125 kB / 0.6174 GB, free: 85.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.417, allocations: 121.9 kB / 0.6175 GB, free: 85.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4172, allocations: 10.69 kB / 0.6175 GB, free: 85.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.4179, allocations: 54.27 kB / 0.6176 GB, free: 85.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.4181, allocations: 55.89 kB / 0.6176 GB, free: 85.46 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002433/0.4206, allocations: 497.6 kB / 0.6181 GB, free: 85.34 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001811/0.4224, allocations: 0.609 MB / 0.6187 GB, free: 85.11 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005352/0.423, allocations: 121.6 kB / 0.6188 GB, free: 85.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002415/0.4232, allocations: 145.4 kB / 0.6189 GB, free: 85.03 MB / 362.7 MB Notification: Performance of Backend: time 9.22e-07/0.4232, allocations: 0 / 0.6189 GB, free: 85.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.4252, allocations: 311 kB / 0.6192 GB, free: 84.96 MB / 362.7 MB Notification: Performance of SimCode: time 0.002239/0.4274, allocations: 1.174 MB / 0.6204 GB, free: 84.09 MB / 362.7 MB Notification: Performance of Templates: time 0.01371/0.4412, allocations: 4.168 MB / 0.6245 GB, free: 83.95 MB / 362.7 MB