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.001108/0.001108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001143/0.001143, allocations: 190.6 kB / 16.25 MB, free: 6.574 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.75/1.75, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.3788/0.3788, allocations: 39.93 MB / 309.4 MB, free: 9.055 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.001864/0.001864, allocations: 67.91 kB / 377.1 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1496, allocations: 56.89 MB / 434 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.286/0.4356, allocations: 53.19 MB / 487.2 MB, free: 21.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02343/0.4591, allocations: 11.05 MB / 498.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01506/0.4743, allocations: 219.1 kB / 498.5 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005085/0.4795, allocations: 2.717 MB / 0.4894 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005558/0.4851, allocations: 1.767 MB / 0.4911 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.487, allocations: 0.6568 MB / 0.4918 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007458/0.4945, allocations: 4.306 MB / 0.496 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006298/0.5009, allocations: 4.095 MB / 0.5 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003787/0.5047, allocations: 1.607 MB / 0.5016 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006134/0.5109, allocations: 2.475 MB / 0.504 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.5132, allocations: 377.1 kB / 0.5043 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/0.5176, allocations: 1.249 MB / 0.5056 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004664/0.5223, allocations: 2.088 MB / 0.5076 GB, free: 5.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007353/0.5297, allocations: 2.409 MB / 0.51 GB, free: 4.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.5467, allocations: 7.673 MB / 0.5174 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.5468, allocations: 0 / 0.5174 GB, free: 492 kB / 382.1 MB Notification: Performance of FrontEnd: time 4.258e-06/0.5468, allocations: 0 / 0.5174 GB, free: 492 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005073/0.5473, allocations: 4 kB / 0.5174 GB, free: 488 kB / 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.02061/0.568, allocations: 4.973 MB / 0.5223 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/0.5681, allocations: 14.64 kB / 0.5223 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01855/0.5866, allocations: 2.536 MB / 0.5248 GB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007815/0.5945, allocations: 2.695 MB / 0.5274 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5949, allocations: 254.7 kB / 0.5277 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.5968, allocations: 335.8 kB / 0.528 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02725/0.6241, allocations: 10.45 MB / 0.5382 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003129/0.6245, allocations: 43.59 kB / 0.5382 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001937/0.6264, allocations: 155.8 kB / 0.5384 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004062/0.6305, allocations: 2.092 MB / 0.5404 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.6503, allocations: 8.746 MB / 0.549 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06135/0.7117, allocations: 38.64 MB / 0.5867 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007069/0.7188, allocations: 3.048 MB / 0.5897 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/0.7217, allocations: 1.736 MB / 0.5914 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.7223, allocations: 340.2 kB / 0.5917 GB, free: 5.102 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.995e-05/0.7224, allocations: 55.5 kB / 0.5918 GB, free: 5.039 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 5.089e-06/0.7224, allocations: 0 / 0.5918 GB, free: 5.039 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.04047/0.7629, allocations: 14.77 MB / 0.6062 GB, free: 6.133 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.7631, allocations: 205.2 kB / 0.6064 GB, free: 5.887 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00583/0.7689, allocations: 3.843 MB / 0.6101 GB, free: 2.055 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000398/0.7693, allocations: 49.7 kB / 0.6102 GB, free: 2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002085/0.7714, allocations: 3.194 MB / 0.6133 GB, free: 14.76 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009909/0.7724, allocations: 0.7327 MB / 0.614 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.774, allocations: 1.253 MB / 0.6152 GB, free: 12.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.7742, allocations: 305.1 kB / 0.6155 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003307/0.7775, allocations: 2.261 MB / 0.6177 GB, free: 10.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006271/0.7837, allocations: 5.942 MB / 0.6235 GB, free: 2.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2372/1.021, allocations: 8.836 MB / 0.6322 GB, free: 135.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/1.021, allocations: 35.47 kB / 0.6322 GB, free: 135.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01646/1.038, allocations: 8.486 MB / 0.6405 GB, free: 133.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/1.038, allocations: 59.59 kB / 0.6405 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003379/1.038, allocations: 134.1 kB / 0.6407 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/1.04, allocations: 0.6846 MB / 0.6413 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/1.046, allocations: 1.446 MB / 0.6428 GB, free: 132.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005654/1.051, allocations: 4.377 MB / 0.647 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.057, allocations: 356.9 kB / 0.6474 GB, free: 130.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002053/1.059, allocations: 368.3 kB / 0.6477 GB, free: 130.1 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.007649/1.067, allocations: 2.241 MB / 0.6499 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.068, allocations: 339.1 kB / 0.6502 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007313/1.076, allocations: 3.253 MB / 0.6534 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.509e-05/1.076, allocations: 21.44 kB / 0.6534 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-05/1.076, allocations: 7.031 kB / 0.6534 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/1.076, allocations: 7.797 kB / 0.6534 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/1.096, allocations: 8.156 MB / 0.6614 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.096, allocations: 0 / 0.6614 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.098, allocations: 342.8 kB / 0.6617 GB, free: 125.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/1.099, allocations: 0.5026 MB / 0.6622 GB, free: 125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003955/1.1, allocations: 40.08 kB / 0.6623 GB, free: 124.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006459/1.106, allocations: 3.935 MB / 0.6661 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.106, allocations: 4.828 kB / 0.6661 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.12, allocations: 5.927 MB / 0.6719 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002536/1.123, allocations: 0.6431 MB / 0.6725 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001332/1.124, allocations: 28.55 kB / 0.6726 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/1.127, allocations: 127 kB / 0.6727 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006233/1.128, allocations: 132.6 kB / 0.6728 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002727/1.128, allocations: 49.42 kB / 0.6728 GB, free: 119.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006431/1.134, allocations: 2.391 MB / 0.6752 GB, free: 119.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/1.134, allocations: 0 / 0.6752 GB, free: 119.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006891/1.141, allocations: 1.03 MB / 0.6762 GB, free: 118.9 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.0008129/1.142, allocations: 164.7 kB / 0.6763 GB, free: 118.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0112/1.153, allocations: 6.537 MB / 0.6827 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.153, allocations: 8.781 kB / 0.6827 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.156, allocations: 1.71 MB / 0.6844 GB, free: 116.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.16, allocations: 420.2 kB / 0.6848 GB, free: 116.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02122/1.181, allocations: 11.83 MB / 0.6964 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00669/1.188, allocations: 3.46 MB / 0.6997 GB, free: 103.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005721/1.194, allocations: 1.939 MB / 0.7016 GB, free: 102.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.195, allocations: 258.8 kB / 0.7019 GB, free: 102.2 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/1.195, allocations: 0 / 0.7019 GB, free: 102.2 MB / 494.1 MB Notification: Performance of Templates: time 0.05992/1.255, allocations: 36.6 MB / 0.7376 GB, free: 66.8 MB / 494.1 MB 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)