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.006802/0.006802, allocations: 99.48 kB / 15.73 MB, free: 6.047 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.001369/0.001369, allocations: 183.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3933/0.3933, allocations: 39.96 MB / 309.8 MB, free: 9.34 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.001585/0.001585, allocations: 68.47 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3667, allocations: 56.88 MB / 492.7 MB, free: 19.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01262/0.3794, allocations: 11.24 MB / 0.4921 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.3907, allocations: 4.06 MB / 0.4961 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003472/0.3942, allocations: 62.94 kB / 0.4961 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005893/0.4001, allocations: 2.824 MB / 0.4989 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.4065, allocations: 1.892 MB / 0.5007 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.4084, allocations: 0.7033 MB / 0.5014 GB, free: 5.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006503/0.4149, allocations: 4.176 MB / 0.5055 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005271/0.4202, allocations: 3.894 MB / 0.5093 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.4236, allocations: 1.6 MB / 0.5108 GB, free: 64 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.4276, allocations: 2.237 MB / 0.513 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001398/0.429, allocations: 373.5 kB / 0.5134 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.4322, allocations: 1.249 MB / 0.5146 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002566/0.4347, allocations: 2.057 MB / 0.5166 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003537/0.4383, allocations: 2.389 MB / 0.5189 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.4503, allocations: 7.887 MB / 0.5267 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4504, allocations: 0 / 0.5267 GB, free: 1.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4504, allocations: 0 / 0.5267 GB, free: 1.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000264/0.4507, allocations: 4 kB / 0.5267 GB, free: 1.59 MB / 398.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.01099/0.4617, allocations: 4.968 MB / 0.5315 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.4617, allocations: 15.89 kB / 0.5315 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.4793, allocations: 2.541 MB / 0.534 GB, free: 9.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008209/0.4876, allocations: 2.726 MB / 0.5367 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.4879, allocations: 262.5 kB / 0.5369 GB, free: 6.938 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.489, allocations: 331.8 kB / 0.5372 GB, free: 6.613 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.506, allocations: 10.45 MB / 0.5474 GB, free: 11.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001303/0.5062, allocations: 51.58 kB / 0.5475 GB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004437/0.5066, allocations: 151.8 kB / 0.5476 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003764/0.5104, allocations: 2.096 MB / 0.5497 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0175/0.5279, allocations: 8.732 MB / 0.5582 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05028/0.5782, allocations: 38.42 MB / 0.5957 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005956/0.5842, allocations: 3.059 MB / 0.5987 GB, free: 5.688 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002365/0.5866, allocations: 1.74 MB / 0.6004 GB, free: 3.938 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/0.587, allocations: 340.2 kB / 0.6007 GB, free: 3.551 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/0.5871, allocations: 55.55 kB / 0.6008 GB, free: 3.484 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.108e-06/0.5871, allocations: 0 / 0.6008 GB, free: 3.484 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03321/0.6203, allocations: 14.76 MB / 0.6152 GB, free: 4.578 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.6205, allocations: 201.2 kB / 0.6154 GB, free: 4.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.6258, allocations: 3.847 MB / 0.6191 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003196/0.6261, allocations: 49.7 kB / 0.6192 GB, free: 460 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0021/0.6283, allocations: 3.19 MB / 0.6223 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008355/0.6291, allocations: 0.7405 MB / 0.623 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001551/0.6307, allocations: 1.253 MB / 0.6243 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/0.6308, allocations: 301.1 kB / 0.6245 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003299/0.6341, allocations: 2.257 MB / 0.6267 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/0.6399, allocations: 5.958 MB / 0.6326 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2571/0.897, allocations: 8.823 MB / 0.6412 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/0.8972, allocations: 41.16 kB / 0.6412 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01618/0.9134, allocations: 8.483 MB / 0.6495 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.964e-05/0.9135, allocations: 61.03 kB / 0.6496 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/0.9137, allocations: 129 kB / 0.6497 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.9155, allocations: 0.6846 MB / 0.6504 GB, free: 110.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004764/0.9202, allocations: 1.441 MB / 0.6518 GB, free: 110 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.9254, allocations: 4.377 MB / 0.656 GB, free: 107.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/0.9299, allocations: 362.5 kB / 0.6564 GB, free: 107.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008749/0.9308, allocations: 375.9 kB / 0.6567 GB, free: 107.3 MB / 0.4981 GB 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 (764): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003779/0.9346, allocations: 2.237 MB / 0.6589 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008868/0.9355, allocations: 336.5 kB / 0.6592 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005815/0.9413, allocations: 3.255 MB / 0.6624 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.9413, allocations: 24.38 kB / 0.6624 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.9414, allocations: 4.031 kB / 0.6625 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.9414, allocations: 8.781 kB / 0.6625 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.9558, allocations: 8.131 MB / 0.6704 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.9559, allocations: 0 / 0.6704 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.9574, allocations: 343.1 kB / 0.6707 GB, free: 102.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.9587, allocations: 0.5014 MB / 0.6712 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.9589, allocations: 39.17 kB / 0.6713 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.9625, allocations: 3.92 MB / 0.6751 GB, free: 99.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9625, allocations: 3.984 kB / 0.6751 GB, free: 99.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007469/0.97, allocations: 5.935 MB / 0.6809 GB, free: 96.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/0.9715, allocations: 0.6451 MB / 0.6815 GB, free: 95.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003805/0.9719, allocations: 27.56 kB / 0.6815 GB, free: 95.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.9733, allocations: 122.2 kB / 0.6817 GB, free: 95.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.9737, allocations: 141.8 kB / 0.6818 GB, free: 95.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.9738, allocations: 56.44 kB / 0.6818 GB, free: 95.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002799/0.9766, allocations: 2.389 MB / 0.6842 GB, free: 93.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9766, allocations: 0 / 0.6842 GB, free: 93.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004163/0.9808, allocations: 1.03 MB / 0.6852 GB, free: 92.83 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000355/0.9812, allocations: 168 kB / 0.6853 GB, free: 92.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00696/0.9881, allocations: 5.365 MB / 0.6906 GB, free: 87.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.9882, allocations: 0 / 0.6906 GB, free: 87.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.9902, allocations: 1.705 MB / 0.6922 GB, free: 85.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002476/0.9927, allocations: 431.7 kB / 0.6927 GB, free: 85.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01423/1.007, allocations: 9.547 MB / 0.702 GB, free: 75.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/1.01, allocations: 3.459 MB / 0.7054 GB, free: 72.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003789/1.014, allocations: 1.948 MB / 0.7073 GB, free: 70.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007974/1.015, allocations: 255.4 kB / 0.7075 GB, free: 69.92 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/1.015, allocations: 0 / 0.7075 GB, free: 69.92 MB / 0.4981 GB Notification: Performance of Templates: time 0.05388/1.068, allocations: 33.57 MB / 0.7403 GB, free: 36.49 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (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)