Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001205/0.001205, allocations: 100.6 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.001322/0.001322, allocations: 177.3 kB / 15.94 MB, free: 228 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.634/1.634, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.347/0.347, allocations: 38.02 MB / 308.4 MB, free: 10.52 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.1. 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.0006645/0.0006646, allocations: 12 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1544, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3104/0.4648, allocations: 45.61 MB / 479.5 MB, free: 28.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02521/0.4901, allocations: 11 MB / 490.5 MB, free: 21.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01203/0.5022, allocations: 220.9 kB / 490.7 MB, free: 21.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.5123, allocations: 2.265 MB / 493 MB, free: 20.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03084/0.5432, allocations: 6.566 MB / 499.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004487/0.5477, allocations: 0.593 MB / 0.4884 GB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02349/0.5712, allocations: 14.11 MB / 0.5022 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009416/0.5807, allocations: 4.347 MB / 0.5065 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.5838, allocations: 1.026 MB / 0.5075 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003619/0.5875, allocations: 1.438 MB / 0.5089 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.5889, allocations: 156.9 kB / 0.509 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.5923, allocations: 0.9106 MB / 0.5099 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002999/0.5954, allocations: 1.655 MB / 0.5115 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002282/0.5977, allocations: 0.8868 MB / 0.5124 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008858/0.6065, allocations: 6.214 MB / 0.5185 GB, free: 5.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6066, allocations: 4 kB / 0.5185 GB, free: 5.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6066, allocations: 0 / 0.5185 GB, free: 5.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003402/0.6069, allocations: 3.938 kB / 0.5185 GB, free: 5.027 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.01351/0.6205, allocations: 4.284 MB / 0.5227 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.6205, allocations: 8.031 kB / 0.5227 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08761/0.7081, allocations: 8.421 MB / 0.5309 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01011/0.7183, allocations: 2.849 MB / 0.5337 GB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.7186, allocations: 254.4 kB / 0.5339 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/0.7206, allocations: 335.7 kB / 0.5342 GB, free: 5.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/0.7434, allocations: 10.4 MB / 0.5444 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003083/0.7438, allocations: 43.59 kB / 0.5444 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/0.7456, allocations: 163.8 kB / 0.5446 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003958/0.7496, allocations: 2.092 MB / 0.5466 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/0.77, allocations: 8.646 MB / 0.5551 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0594/0.8295, allocations: 38.52 MB / 0.5927 GB, free: 7.523 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006091/0.8356, allocations: 3.004 MB / 0.5956 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/0.8361, allocations: 344 kB / 0.596 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.087e-05/0.8362, allocations: 55.56 kB / 0.596 GB, free: 3.922 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.959e-06/0.8362, allocations: 3.938 kB / 0.596 GB, free: 3.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03263/0.8689, allocations: 14.46 MB / 0.6101 GB, free: 5.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.869, allocations: 209.1 kB / 0.6103 GB, free: 5.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005263/0.8743, allocations: 3.951 MB / 0.6142 GB, free: 1.074 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003038/0.8746, allocations: 57.7 kB / 0.6142 GB, free: 1.012 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/0.8767, allocations: 3.203 MB / 0.6174 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000717/0.8774, allocations: 0.7366 MB / 0.6181 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.8777, allocations: 120 kB / 0.6182 GB, free: 12.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000356/0.878, allocations: 0.5582 MB / 0.6188 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.8814, allocations: 2.151 MB / 0.6209 GB, free: 10.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/0.8873, allocations: 5.812 MB / 0.6265 GB, free: 2.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2355/1.123, allocations: 3.447 MB / 0.6299 GB, free: 138.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/1.123, allocations: 37.97 kB / 0.6299 GB, free: 138.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01471/1.138, allocations: 7.979 MB / 0.6377 GB, free: 137.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.138, allocations: 62.12 kB / 0.6378 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.138, allocations: 129.6 kB / 0.6379 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009819/1.139, allocations: 460 kB / 0.6383 GB, free: 137.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/1.143, allocations: 1.434 MB / 0.6397 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/1.146, allocations: 3.408 MB / 0.6431 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/1.151, allocations: 361.8 kB / 0.6434 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004817/1.151, allocations: 368.4 kB / 0.6438 GB, free: 135.3 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.003511/1.155, allocations: 2.225 MB / 0.6459 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/1.155, allocations: 343.1 kB / 0.6463 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/1.16, allocations: 2.936 MB / 0.6491 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.478e-05/1.16, allocations: 23.77 kB / 0.6492 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/1.16, allocations: 3.25 kB / 0.6492 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.16, allocations: 6.984 kB / 0.6492 GB, free: 133.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.173, allocations: 7.843 MB / 0.6568 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/1.173, allocations: 1.219 kB / 0.6568 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/1.175, allocations: 357.1 kB / 0.6572 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006975/1.175, allocations: 262.1 kB / 0.6574 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/1.176, allocations: 33.19 kB / 0.6574 GB, free: 130.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/1.179, allocations: 2.973 MB / 0.6604 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.179, allocations: 2.109 kB / 0.6604 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008137/1.187, allocations: 5.603 MB / 0.6658 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002109/1.189, allocations: 0.6486 MB / 0.6665 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/1.19, allocations: 30.45 kB / 0.6665 GB, free: 125.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.191, allocations: 125.8 kB / 0.6666 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/1.191, allocations: 125.7 kB / 0.6667 GB, free: 125.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/1.191, allocations: 55.95 kB / 0.6668 GB, free: 125.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004564/1.196, allocations: 2.487 MB / 0.6692 GB, free: 124.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/1.196, allocations: 0 / 0.6692 GB, free: 124.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006067/1.202, allocations: 1.015 MB / 0.6702 GB, free: 124.7 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.0005009/1.203, allocations: 180.8 kB / 0.6704 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00977/1.212, allocations: 5.181 MB / 0.6754 GB, free: 122.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.212, allocations: 0.9375 kB / 0.6754 GB, free: 122.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002843/1.215, allocations: 1.662 MB / 0.6771 GB, free: 122.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/1.218, allocations: 397.4 kB / 0.6774 GB, free: 122 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.236, allocations: 11.24 MB / 0.6884 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00479/1.241, allocations: 3.555 MB / 0.6919 GB, free: 114.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005187/1.246, allocations: 1.953 MB / 0.6938 GB, free: 114.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008108/1.247, allocations: 263.8 kB / 0.694 GB, free: 114.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/1.247, allocations: 0 / 0.694 GB, free: 114.6 MB / 494.1 MB Notification: Performance of Templates: time 0.05436/1.301, allocations: 33.75 MB / 0.727 GB, free: 83.93 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) Environment - environmentSimulation: