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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001297/0.001297, allocations: 192.1 kB / 16.13 MB, free: 6.66 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.75 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.3695/0.3695, allocations: 37.98 MB / 307.3 MB, free: 10.11 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.001394/0.001394, allocations: 59.91 kB / 374.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1412, allocations: 56.48 MB / 431 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2791/0.4204, allocations: 53.21 MB / 484.2 MB, free: 24.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0277/0.4482, allocations: 11.14 MB / 495.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01297/0.4613, allocations: 217.8 kB / 495.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005133/0.4664, allocations: 2.82 MB / 498.4 MB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.4716, allocations: 1.765 MB / 0.4884 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.4733, allocations: 0.6486 MB / 0.4891 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007444/0.4808, allocations: 6.133 MB / 0.4951 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007874/0.4887, allocations: 3.829 MB / 0.4988 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004256/0.493, allocations: 1.395 MB / 0.5002 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005718/0.4988, allocations: 2.366 MB / 0.5025 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002375/0.5012, allocations: 257 kB / 0.5027 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004743/0.506, allocations: 1.192 MB / 0.5039 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004986/0.511, allocations: 1.968 MB / 0.5058 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007752/0.5188, allocations: 2.283 MB / 0.508 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.5318, allocations: 7.52 MB / 0.5154 GB, free: 3.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.5318, allocations: 4 kB / 0.5154 GB, free: 3.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5318, allocations: 0 / 0.5154 GB, free: 3.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003777/0.5322, allocations: 0 / 0.5154 GB, free: 3.289 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.01646/0.5487, allocations: 4.977 MB / 0.5202 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5487, allocations: 9.188 kB / 0.5202 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01776/0.5665, allocations: 2.533 MB / 0.5227 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/0.5742, allocations: 2.707 MB / 0.5254 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.5745, allocations: 254.8 kB / 0.5256 GB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.5762, allocations: 335.7 kB / 0.5259 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02162/0.5978, allocations: 10.44 MB / 0.5361 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.598, allocations: 43.59 kB / 0.5362 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/0.5985, allocations: 159.8 kB / 0.5363 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003361/0.6019, allocations: 2.092 MB / 0.5384 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01681/0.6187, allocations: 8.739 MB / 0.5469 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05177/0.6706, allocations: 38.64 MB / 0.5846 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005985/0.6766, allocations: 3.049 MB / 0.5876 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.6791, allocations: 1.747 MB / 0.5893 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004076/0.6795, allocations: 332.2 kB / 0.5896 GB, free: 8.695 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/0.6796, allocations: 55.5 kB / 0.5897 GB, free: 8.633 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.999e-06/0.6796, allocations: 0 / 0.5897 GB, free: 8.633 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03286/0.7125, allocations: 14.77 MB / 0.6041 GB, free: 9.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.7126, allocations: 201.2 kB / 0.6043 GB, free: 9.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005064/0.7177, allocations: 3.847 MB / 0.608 GB, free: 5.652 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.718, allocations: 49.7 kB / 0.6081 GB, free: 5.598 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/0.72, allocations: 3.198 MB / 0.6112 GB, free: 2.352 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000793/0.7208, allocations: 0.7405 MB / 0.6119 GB, free: 1.602 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/0.7224, allocations: 1.242 MB / 0.6132 GB, free: 356 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.7225, allocations: 305.1 kB / 0.6134 GB, free: 48 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003516/0.726, allocations: 2.265 MB / 0.6157 GB, free: 13.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/0.7318, allocations: 5.938 MB / 0.6215 GB, free: 6.004 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2473/0.9792, allocations: 8.836 MB / 0.6301 GB, free: 139.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000117/0.9793, allocations: 36.56 kB / 0.6301 GB, free: 139.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01857/0.9979, allocations: 8.479 MB / 0.6384 GB, free: 137.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/0.9981, allocations: 60.62 kB / 0.6385 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/0.9982, allocations: 131.5 kB / 0.6386 GB, free: 137.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/1, allocations: 0.6881 MB / 0.6393 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/1.005, allocations: 1.444 MB / 0.6407 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00453/1.01, allocations: 4.082 MB / 0.6447 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/1.015, allocations: 359.8 kB / 0.645 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.016, allocations: 375.2 kB / 0.6454 GB, free: 134.6 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 (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.00461/1.021, allocations: 2.231 MB / 0.6475 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/1.022, allocations: 341 kB / 0.6479 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/1.027, allocations: 3.252 MB / 0.651 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/1.027, allocations: 22.16 kB / 0.6511 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.027, allocations: 3.25 kB / 0.6511 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/1.027, allocations: 10.12 kB / 0.6511 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/1.043, allocations: 8.165 MB / 0.659 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.043, allocations: 1.531 kB / 0.659 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.045, allocations: 333.8 kB / 0.6594 GB, free: 129.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001493/1.046, allocations: 0.5077 MB / 0.6599 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/1.046, allocations: 44.78 kB / 0.6599 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/1.051, allocations: 3.634 MB / 0.6634 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.051, allocations: 0 / 0.6634 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.062, allocations: 5.935 MB / 0.6692 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/1.064, allocations: 0.6419 MB / 0.6699 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006834/1.065, allocations: 28.61 kB / 0.6699 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.066, allocations: 118.8 kB / 0.67 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004584/1.067, allocations: 127.5 kB / 0.6701 GB, free: 124.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.067, allocations: 62.31 kB / 0.6702 GB, free: 124.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005241/1.072, allocations: 2.397 MB / 0.6725 GB, free: 123.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.61e-07/1.072, allocations: 0 / 0.6725 GB, free: 123.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008228/1.08, allocations: 1.023 MB / 0.6735 GB, free: 123.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 (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.0007204/1.081, allocations: 170.9 kB / 0.6737 GB, free: 123.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009643/1.091, allocations: 5.351 MB / 0.6789 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.091, allocations: 0 / 0.6789 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003229/1.094, allocations: 1.71 MB / 0.6806 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003542/1.098, allocations: 399.6 kB / 0.681 GB, free: 120.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/1.116, allocations: 11.83 MB / 0.6925 GB, free: 113.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003322/1.119, allocations: 3.463 MB / 0.6959 GB, free: 110.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004799/1.124, allocations: 1.942 MB / 0.6978 GB, free: 109.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/1.125, allocations: 254.6 kB / 0.698 GB, free: 109.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.884e-06/1.125, allocations: 0 / 0.698 GB, free: 109.3 MB / 494.1 MB Notification: Performance of Templates: time 0.05994/1.185, allocations: 35.29 MB / 0.7325 GB, free: 75.92 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (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)