Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.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.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002709/0.002709, allocations: 359.5 kB / 15.95 MB, free: 6.211 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.073/4.073, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003562/0.003562, allocations: 220.2 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.5836/0.5836, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004647, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1131, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5035/0.6167, allocations: 89.58 MB / 0.7676 GB, free: 11.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.617, allocations: 82.52 kB / 0.7677 GB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2494/0.8665, allocations: 46.69 MB / 0.8133 GB, free: 3.117 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.8665, allocations: 0 / 0.8133 GB, free: 3.117 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001709/0.8667, allocations: 44 kB / 0.8133 GB, free: 3.074 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.0119/0.8786, allocations: 2.331 MB / 0.8156 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.8787, allocations: 11.97 kB / 0.8156 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01944/0.8982, allocations: 1.775 MB / 0.8173 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006362/0.9046, allocations: 1.343 MB / 0.8186 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000372/0.905, allocations: 181.6 kB / 0.8188 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001918/0.907, allocations: 245.6 kB / 0.819 GB, free: 13.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02512/0.9321, allocations: 6.561 MB / 0.8254 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.9324, allocations: 39.62 kB / 0.8255 GB, free: 7.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001349/0.9338, allocations: 123.9 kB / 0.8256 GB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001824/0.9356, allocations: 0.6955 MB / 0.8263 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01934/0.9551, allocations: 5.458 MB / 0.8316 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07329/1.028, allocations: 31.7 MB / 0.8626 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/1.04, allocations: 2.317 MB / 0.8648 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003375/1.044, allocations: 0.9833 MB / 0.8658 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000244/1.044, allocations: 39.97 kB / 0.8658 GB, free: 12.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/1.044, allocations: 50.48 kB / 0.8659 GB, free: 12.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 7.454e-06/1.044, allocations: 0 / 0.8659 GB, free: 12.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=115): time 0.05616/1.1, allocations: 9.43 MB / 0.8751 GB, free: 3.367 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/1.101, allocations: 149 kB / 0.8752 GB, free: 3.191 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006245/1.107, allocations: 2.607 MB / 0.8778 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002932/1.107, allocations: 41.7 kB / 0.8778 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002489/1.11, allocations: 2.017 MB / 0.8798 GB, free: 14.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008537/1.111, allocations: 462.2 kB / 0.8802 GB, free: 14.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005854/1.111, allocations: 80 kB / 0.8803 GB, free: 13.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004443/1.112, allocations: 0.4956 MB / 0.8808 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/1.116, allocations: 1.371 MB / 0.8821 GB, free: 12.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006811/1.122, allocations: 4.138 MB / 0.8862 GB, free: 6.508 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006054/1.129, allocations: 2.37 MB / 0.8885 GB, free: 4.141 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/1.129, allocations: 28 kB / 0.8885 GB, free: 4.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01724/1.146, allocations: 5.573 MB / 0.8939 GB, free: 14.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.146, allocations: 48 kB / 0.894 GB, free: 14.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001918/1.146, allocations: 96 kB / 0.8941 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/1.148, allocations: 481.3 kB / 0.8945 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006573/1.155, allocations: 1.014 MB / 0.8955 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006558/1.162, allocations: 3.399 MB / 0.8988 GB, free: 9.359 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/1.166, allocations: 231.5 kB / 0.8991 GB, free: 9.133 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001055/1.167, allocations: 276 kB / 0.8993 GB, free: 8.863 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 530 * Array equations: 3 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004061/1.171, allocations: 1.372 MB / 0.9007 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000641/1.172, allocations: 221.1 kB / 0.9009 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004756/1.177, allocations: 1.473 MB / 0.9023 GB, free: 5.773 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/1.177, allocations: 15.98 kB / 0.9023 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/1.177, allocations: 4 kB / 0.9023 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/1.177, allocations: 3.984 kB / 0.9023 GB, free: 5.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/1.191, allocations: 4.471 MB / 0.9067 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/1.191, allocations: 0 / 0.9067 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/1.193, allocations: 167.8 kB / 0.9069 GB, free: 1.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/1.195, allocations: 320.5 kB / 0.9072 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002359/1.195, allocations: 19.98 kB / 0.9072 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3327/1.528, allocations: 2.799 MB / 0.9099 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.528, allocations: 1.688 kB / 0.9099 GB, free: 145.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007983/1.536, allocations: 3.269 MB / 0.9131 GB, free: 145.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.537, allocations: 432.4 kB / 0.9135 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004797/1.538, allocations: 19.41 kB / 0.9136 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0015/1.539, allocations: 53.83 kB / 0.9136 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/1.54, allocations: 56.73 kB / 0.9137 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.54, allocations: 31.34 kB / 0.9137 GB, free: 145 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004389/1.544, allocations: 1.602 MB / 0.9153 GB, free: 144.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.544, allocations: 0 / 0.9153 GB, free: 144.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005333/1.55, allocations: 0.6162 MB / 0.9159 GB, free: 144.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * Array equations: 3 * 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: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005607/1.55, allocations: 142.6 kB / 0.916 GB, free: 144.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008753/1.559, allocations: 3.32 MB / 0.9192 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.559, allocations: 3.688 kB / 0.9192 GB, free: 144.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.561, allocations: 0.9305 MB / 0.9201 GB, free: 144.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.564, allocations: 210.4 kB / 0.9203 GB, free: 144.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/1.581, allocations: 6.539 MB / 0.9267 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004693/1.586, allocations: 2.238 MB / 0.9289 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00621/1.592, allocations: 1.408 MB / 0.9303 GB, free: 141.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009687/1.593, allocations: 160.8 kB / 0.9304 GB, free: 141.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/1.593, allocations: 3.875 kB / 0.9304 GB, free: 141.3 MB / 490.7 MB Notification: Performance of Templates: time 0.06115/1.655, allocations: 20.18 MB / 0.9502 GB, free: 140.4 MB / 490.7 MB