Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3152/0.3152, allocations: 39.99 MB / 310.4 MB, free: 9.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006139/0.0006139, allocations: 16 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1343, allocations: 57.96 MB / 436.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2282/0.3626, allocations: 45.6 MB / 482.4 MB, free: 26.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02065/0.3832, allocations: 11.01 MB / 493.4 MB, free: 18.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009855/0.3931, allocations: 211.4 kB / 493.6 MB, free: 18.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007075/0.4003, allocations: 2.265 MB / 495.9 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01746/0.4177, allocations: 6.571 MB / 0.4906 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002919/0.4207, allocations: 0.5934 MB / 0.4912 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02057/0.4413, allocations: 14.11 MB / 0.505 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00726/0.4486, allocations: 4.344 MB / 0.5092 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.4512, allocations: 1.017 MB / 0.5102 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004178/0.4554, allocations: 1.441 MB / 0.5116 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001994/0.4574, allocations: 158.1 kB / 0.5118 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003192/0.4606, allocations: 0.9164 MB / 0.5127 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002487/0.4631, allocations: 1.648 MB / 0.5143 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.4648, allocations: 0.8922 MB / 0.5152 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005717/0.4705, allocations: 6.211 MB / 0.5212 GB, free: 1.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4706, allocations: 7.938 kB / 0.5212 GB, free: 1.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4706, allocations: 0 / 0.5212 GB, free: 1.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002565/0.4709, allocations: 0 / 0.5212 GB, free: 1.223 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1645 * Number of variables: 1645 Notification: Performance of Generate backend data structure: time 0.01222/0.4831, allocations: 4.276 MB / 0.5254 GB, free: 12.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4831, allocations: 12.03 kB / 0.5254 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08639/0.5695, allocations: 8.417 MB / 0.5336 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007396/0.577, allocations: 2.861 MB / 0.5364 GB, free: 1.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000267/0.5773, allocations: 250.4 kB / 0.5367 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.5787, allocations: 335.7 kB / 0.537 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/0.6009, allocations: 10.41 MB / 0.5472 GB, free: 5.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003361/0.6013, allocations: 43.59 kB / 0.5472 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/0.6036, allocations: 155.8 kB / 0.5474 GB, free: 5.652 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/0.6075, allocations: 2.096 MB / 0.5494 GB, free: 3.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01805/0.6256, allocations: 8.65 MB / 0.5578 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05385/0.6795, allocations: 38.52 MB / 0.5955 GB, free: 3.273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006199/0.6858, allocations: 3.009 MB / 0.5984 GB, free: 120 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000517/0.6863, allocations: 340.1 kB / 0.5987 GB, free: 15.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.6864, allocations: 55.56 kB / 0.5988 GB, free: 15.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 5.24e-06/0.6864, allocations: 0 / 0.5988 GB, free: 15.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03461/0.721, allocations: 14.46 MB / 0.6129 GB, free: 1.016 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.7212, allocations: 209.1 kB / 0.6131 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00657/0.7278, allocations: 3.947 MB / 0.617 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.7281, allocations: 53.7 kB / 0.617 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002646/0.7307, allocations: 3.214 MB / 0.6202 GB, free: 9.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008684/0.7316, allocations: 0.7404 MB / 0.6209 GB, free: 8.762 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.732, allocations: 120 kB / 0.621 GB, free: 8.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004697/0.7325, allocations: 0.5582 MB / 0.6215 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/0.7366, allocations: 2.151 MB / 0.6236 GB, free: 5.922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.209/0.9455, allocations: 5.804 MB / 0.6293 GB, free: 134.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006302/0.9519, allocations: 3.445 MB / 0.6327 GB, free: 134.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001579/0.9521, allocations: 38.31 kB / 0.6327 GB, free: 134.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.015/0.9672, allocations: 7.987 MB / 0.6405 GB, free: 133.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.724e-05/0.9673, allocations: 60.77 kB / 0.6406 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001538/0.9674, allocations: 131.2 kB / 0.6407 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.9685, allocations: 457.5 kB / 0.6411 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004469/0.973, allocations: 1.429 MB / 0.6425 GB, free: 133.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/0.9762, allocations: 3.406 MB / 0.6458 GB, free: 131 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/0.9804, allocations: 360.6 kB / 0.6462 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006021/0.981, allocations: 369.5 kB / 0.6465 GB, free: 130.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 591 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (745): * Single equations (assignments): 741 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003538/0.9846, allocations: 2.234 MB / 0.6487 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005564/0.9851, allocations: 343.9 kB / 0.6491 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004681/0.9898, allocations: 2.923 MB / 0.6519 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/0.9899, allocations: 21.22 kB / 0.6519 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.9899, allocations: 6.219 kB / 0.6519 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/0.9899, allocations: 9.906 kB / 0.6519 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/1.005, allocations: 7.849 MB / 0.6596 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/1.005, allocations: 1.25 kB / 0.6596 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001738/1.007, allocations: 352.1 kB / 0.6599 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007173/1.008, allocations: 257 kB / 0.6602 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.008, allocations: 33.42 kB / 0.6602 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002963/1.011, allocations: 2.969 MB / 0.6631 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.011, allocations: 6.453 kB / 0.6631 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009895/1.021, allocations: 5.614 MB / 0.6686 GB, free: 121.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/1.024, allocations: 0.6419 MB / 0.6692 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009783/1.025, allocations: 31.58 kB / 0.6693 GB, free: 121.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.027, allocations: 127 kB / 0.6694 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004383/1.027, allocations: 126.9 kB / 0.6695 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.027, allocations: 55.44 kB / 0.6696 GB, free: 121.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00534/1.033, allocations: 2.483 MB / 0.672 GB, free: 120.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.01e-07/1.033, allocations: 0 / 0.672 GB, free: 120.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006177/1.039, allocations: 1.016 MB / 0.673 GB, free: 120.2 MB / 494.1 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 (164): * Single equations (assignments): 160 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005854/1.04, allocations: 185.1 kB / 0.6732 GB, free: 120.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009248/1.049, allocations: 5.176 MB / 0.6782 GB, free: 118.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.049, allocations: 0 / 0.6782 GB, free: 118.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002577/1.051, allocations: 1.672 MB / 0.6798 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/1.054, allocations: 394 kB / 0.6802 GB, free: 117.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01725/1.071, allocations: 11.24 MB / 0.6912 GB, free: 111.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00442/1.075, allocations: 3.551 MB / 0.6947 GB, free: 110.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004733/1.08, allocations: 1.945 MB / 0.6966 GB, free: 109.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.081, allocations: 258.6 kB / 0.6968 GB, free: 109 MB / 494.1 MB Notification: Performance of SimCode: time 1.553e-06/1.081, allocations: 0 / 0.6968 GB, free: 109 MB / 494.1 MB Notification: Performance of Templates: time 0.05184/1.133, allocations: 33.75 MB / 0.7298 GB, free: 77.36 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) Environment - environmentSimulation: