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.000799/0.000799, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008611/0.0008612, allocations: 172.7 kB / 15.95 MB, free: 208 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.363/1.363, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.2995/0.2995, allocations: 38.03 MB / 308.4 MB, free: 10.46 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.0005908/0.000591, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1083, allocations: 57.54 MB / 434 MB, free: 5.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2278/0.3362, allocations: 48.23 MB / 482.2 MB, free: 27.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02151/0.3577, allocations: 10.56 MB / 492.8 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01353/0.3713, allocations: 218.9 kB / 493 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008256/0.3796, allocations: 2.51 MB / 495.5 MB, free: 19.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01766/0.3973, allocations: 7.456 MB / 0.4912 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003069/0.4004, allocations: 0.6093 MB / 0.4918 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02506/0.4254, allocations: 18.94 MB / 0.5102 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006678/0.4322, allocations: 4.382 MB / 0.5145 GB, free: 7.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.4346, allocations: 1.248 MB / 0.5157 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002926/0.4375, allocations: 2.042 MB / 0.5177 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005673/0.4381, allocations: 157.1 kB / 0.5179 GB, free: 6.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.44, allocations: 0.939 MB / 0.5188 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.4414, allocations: 1.78 MB / 0.5205 GB, free: 3.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008373/0.4423, allocations: 0.8933 MB / 0.5214 GB, free: 2.855 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005334/0.4476, allocations: 6.062 MB / 0.5273 GB, free: 12.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4476, allocations: 0 / 0.5273 GB, free: 12.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4476, allocations: 0 / 0.5273 GB, free: 12.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002039/0.4478, allocations: 0 / 0.5273 GB, free: 12.78 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.007469/0.4553, allocations: 4.107 MB / 0.5313 GB, free: 8.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4554, allocations: 11.97 kB / 0.5314 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.4691, allocations: 2.603 MB / 0.5339 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00541/0.4745, allocations: 2.661 MB / 0.5365 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.4747, allocations: 250.4 kB / 0.5367 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009502/0.4757, allocations: 331.8 kB / 0.5371 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.4926, allocations: 10.45 MB / 0.5473 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.4928, allocations: 43.59 kB / 0.5473 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004171/0.4932, allocations: 159.8 kB / 0.5475 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002942/0.4962, allocations: 2.096 MB / 0.5495 GB, free: 5.258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01529/0.5115, allocations: 8.721 MB / 0.558 GB, free: 12.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04612/0.5577, allocations: 38.65 MB / 0.5958 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006075/0.5638, allocations: 3.064 MB / 0.5987 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002739/0.5666, allocations: 1.736 MB / 0.6004 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004826/0.5671, allocations: 336.2 kB / 0.6008 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/0.5672, allocations: 59.52 kB / 0.6008 GB, free: 15.37 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.889e-06/0.5672, allocations: 0 / 0.6008 GB, free: 15.37 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03767/0.6049, allocations: 15.01 MB / 0.6155 GB, free: 224 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.6051, allocations: 201.4 kB / 0.6157 GB, free: 15.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00509/0.6102, allocations: 3.82 MB / 0.6194 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000378/0.6106, allocations: 57.64 kB / 0.6195 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002061/0.6126, allocations: 3.19 MB / 0.6226 GB, free: 8.867 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008023/0.6135, allocations: 0.7405 MB / 0.6233 GB, free: 8.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.6137, allocations: 120 kB / 0.6234 GB, free: 8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003281/0.614, allocations: 0.5702 MB / 0.624 GB, free: 7.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/0.6175, allocations: 2.257 MB / 0.6262 GB, free: 5.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2145/0.832, allocations: 5.953 MB / 0.632 GB, free: 138.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005422/0.8375, allocations: 3.57 MB / 0.6355 GB, free: 138.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.098e-05/0.8376, allocations: 36.19 kB / 0.6355 GB, free: 138.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01464/0.8523, allocations: 8.483 MB / 0.6438 GB, free: 136.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/0.8524, allocations: 59.94 kB / 0.6438 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00012/0.8525, allocations: 131.6 kB / 0.644 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.8539, allocations: 0.7112 MB / 0.6447 GB, free: 136.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/0.8582, allocations: 1.469 MB / 0.6461 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.8622, allocations: 4.071 MB / 0.6501 GB, free: 134.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/0.8662, allocations: 372 kB / 0.6504 GB, free: 134.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/0.8666, allocations: 370.6 kB / 0.6508 GB, free: 134 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 (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 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003196/0.8698, allocations: 2.235 MB / 0.653 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/0.8704, allocations: 340.4 kB / 0.6533 GB, free: 133 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/0.8754, allocations: 3.291 MB / 0.6565 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.8754, allocations: 28.55 kB / 0.6565 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.8754, allocations: 7.031 kB / 0.6565 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.8754, allocations: 8.016 kB / 0.6565 GB, free: 131.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.8885, allocations: 8.185 MB / 0.6645 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.8885, allocations: 1.844 kB / 0.6645 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.8901, allocations: 356.3 kB / 0.6649 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.8913, allocations: 0.5024 MB / 0.6654 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.8914, allocations: 36.42 kB / 0.6654 GB, free: 128.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003909/0.8953, allocations: 3.639 MB / 0.669 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8954, allocations: 4.969 kB / 0.669 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009129/0.9045, allocations: 5.984 MB / 0.6748 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/0.9062, allocations: 0.6485 MB / 0.6754 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004298/0.9066, allocations: 35.88 kB / 0.6755 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.9079, allocations: 133.9 kB / 0.6756 GB, free: 124 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003193/0.9082, allocations: 135 kB / 0.6757 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/0.9084, allocations: 58.5 kB / 0.6758 GB, free: 123.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00371/0.9121, allocations: 2.37 MB / 0.6781 GB, free: 123.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9121, allocations: 1.281 kB / 0.6781 GB, free: 123.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004669/0.9168, allocations: 1.019 MB / 0.6791 GB, free: 123 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.0003581/0.9171, allocations: 173.9 kB / 0.6793 GB, free: 122.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00775/0.9249, allocations: 5.375 MB / 0.6845 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.9249, allocations: 0 / 0.6845 GB, free: 121 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00224/0.9272, allocations: 1.732 MB / 0.6862 GB, free: 120.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.9293, allocations: 407.9 kB / 0.6866 GB, free: 120.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.9431, allocations: 11.43 MB / 0.6978 GB, free: 112.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002711/0.9459, allocations: 3.458 MB / 0.7011 GB, free: 110.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0042/0.9501, allocations: 1.946 MB / 0.703 GB, free: 109 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/0.9508, allocations: 254.2 kB / 0.7033 GB, free: 108.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9508, allocations: 0 / 0.7033 GB, free: 108.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05058/1.001, allocations: 34.07 MB / 0.7365 GB, free: 75.89 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: