Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002583/0.002582, allocations: 351.6 kB / 15.94 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.789/3.789, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003508/0.003508, allocations: 214.1 kB / 397.9 MB, free: 4.973 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.5964/0.5964, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09241/0.09292, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4899/0.5829, allocations: 93.04 MB / 0.6976 GB, free: 19.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.5832, allocations: 75.97 kB / 0.6977 GB, free: 19.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6556/1.239, allocations: 75.79 MB / 0.7717 GB, free: 87.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.239, allocations: 0 / 0.7717 GB, free: 87.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003322/1.239, allocations: 66.47 kB / 0.7717 GB, free: 87.36 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.02008/1.259, allocations: 3.791 MB / 0.7755 GB, free: 85.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.259, allocations: 10.03 kB / 0.7755 GB, free: 85.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02986/1.289, allocations: 3.498 MB / 0.7789 GB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/1.302, allocations: 3.378 MB / 0.7822 GB, free: 84.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/1.303, allocations: 272.5 kB / 0.7824 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002441/1.305, allocations: 367.2 kB / 0.7828 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/1.333, allocations: 9.087 MB / 0.7917 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/1.333, allocations: 61.83 kB / 0.7917 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001517/1.335, allocations: 181.7 kB / 0.7919 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002125/1.337, allocations: 0.8788 MB / 0.7928 GB, free: 82.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/1.359, allocations: 7.243 MB / 0.7998 GB, free: 82.03 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06442/1.423, allocations: 43.99 MB / 0.8428 GB, free: 47.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0149/1.438, allocations: 3.499 MB / 0.8462 GB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003527/1.442, allocations: 1.601 MB / 0.8478 GB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/1.458, allocations: 7.144 MB / 0.8547 GB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/1.458, allocations: 54.2 kB / 0.8548 GB, free: 41.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=150): time 4.919e-06/1.458, allocations: 0 / 0.8548 GB, free: 41.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=184): time 0.1383/1.596, allocations: 19.53 MB / 0.8739 GB, free: 29.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/1.597, allocations: 197.2 kB / 0.8741 GB, free: 28.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01211/1.609, allocations: 3.7 MB / 0.8777 GB, free: 25.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006077/1.609, allocations: 53.7 kB / 0.8777 GB, free: 25.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003734/1.613, allocations: 2.821 MB / 0.8805 GB, free: 23.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001584/1.615, allocations: 0.6993 MB / 0.8812 GB, free: 22.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009616/1.616, allocations: 121.7 kB / 0.8813 GB, free: 22.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006352/1.616, allocations: 0.546 MB / 0.8818 GB, free: 21.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008068/1.625, allocations: 2.002 MB / 0.8838 GB, free: 19.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00988/1.634, allocations: 5.549 MB / 0.8892 GB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007497/1.642, allocations: 3.272 MB / 0.8924 GB, free: 9.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/1.642, allocations: 36 kB / 0.8924 GB, free: 9.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.0316/1.674, allocations: 9.125 MB / 0.9013 GB, free: 224 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/1.674, allocations: 63.98 kB / 0.9014 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.674, allocations: 124.8 kB / 0.9015 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/1.685, allocations: 1.592 MB / 0.9031 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008473/1.693, allocations: 1.279 MB / 0.9043 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02875/1.722, allocations: 9.279 MB / 0.9134 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006869/1.729, allocations: 310 kB / 0.9137 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00162/1.731, allocations: 364 kB / 0.914 GB, free: 3.105 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (691): * Single equations (assignments): 687 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006323/1.737, allocations: 1.887 MB / 0.9159 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001052/1.738, allocations: 335.6 kB / 0.9162 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3294/2.068, allocations: 3.923 MB / 0.92 GB, free: 91.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.025e-05/2.068, allocations: 19.34 kB / 0.92 GB, free: 91.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/2.068, allocations: 9.125 kB / 0.92 GB, free: 91.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-05/2.068, allocations: 7.5 kB / 0.92 GB, free: 91.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03983/2.108, allocations: 8.132 MB / 0.928 GB, free: 91.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-05/2.108, allocations: 1.094 kB / 0.928 GB, free: 91.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003421/2.111, allocations: 233.6 kB / 0.9282 GB, free: 91.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0128/2.124, allocations: 1.277 MB / 0.9294 GB, free: 91.51 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005824/2.125, allocations: 34.45 kB / 0.9295 GB, free: 91.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0321/2.157, allocations: 7.557 MB / 0.9369 GB, free: 90.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/2.157, allocations: 3.938 kB / 0.9369 GB, free: 90.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02355/2.18, allocations: 6.244 MB / 0.943 GB, free: 89.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002429/2.183, allocations: 0.6051 MB / 0.9436 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/2.184, allocations: 27.53 kB / 0.9436 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00327/2.188, allocations: 98.94 kB / 0.9437 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007582/2.188, allocations: 104 kB / 0.9438 GB, free: 89.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002152/2.189, allocations: 50.66 kB / 0.9438 GB, free: 89.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00628/2.195, allocations: 2.297 MB / 0.9461 GB, free: 89.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.613e-06/2.195, allocations: 0 / 0.9461 GB, free: 89.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007625/2.203, allocations: 0.9667 MB / 0.947 GB, free: 89.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (129): * Single equations (assignments): 125 * 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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008013/2.203, allocations: 174.3 kB / 0.9472 GB, free: 89.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01209/2.216, allocations: 4.993 MB / 0.9521 GB, free: 87.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/2.216, allocations: 3.688 kB / 0.9521 GB, free: 87.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004352/2.22, allocations: 1.623 MB / 0.9536 GB, free: 86.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004509/2.225, allocations: 394.1 kB / 0.954 GB, free: 86.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/2.247, allocations: 9.716 MB / 0.9635 GB, free: 81.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00617/2.254, allocations: 3.036 MB / 0.9665 GB, free: 80.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.007946/2.262, allocations: 1.808 MB / 0.9682 GB, free: 80.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/2.263, allocations: 227.4 kB / 0.9685 GB, free: 80.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/2.263, allocations: 0 / 0.9685 GB, free: 80.74 MB / 426.7 MB Notification: Performance of Templates: time 0.1029/2.366, allocations: 36.04 MB / 1.004 GB, free: 63.36 MB / 426.7 MB