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.0112/0.0112, allocations: 99.14 kB / 15.73 MB, free: 6.035 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.002032/0.002032, allocations: 196.9 kB / 16.67 MB, free: 5.965 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.524/1.524, allocations: 205.1 MB / 222.5 MB, free: 4.324 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.3066/0.3066, allocations: 38 MB / 307.9 MB, free: 10.38 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.002464/0.002464, allocations: 75.89 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3431, allocations: 56.45 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01284/0.356, allocations: 11.23 MB / 0.489 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009665/0.3657, allocations: 4.062 MB / 0.4929 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00284/0.3686, allocations: 58.66 kB / 0.493 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005621/0.3743, allocations: 2.83 MB / 0.4957 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006497/0.3808, allocations: 1.889 MB / 0.4976 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.3829, allocations: 0.7051 MB / 0.4983 GB, free: 6.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005894/0.3888, allocations: 4.18 MB / 0.5024 GB, free: 4.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005099/0.394, allocations: 3.886 MB / 0.5061 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.3967, allocations: 1.604 MB / 0.5077 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003384/0.4001, allocations: 2.24 MB / 0.5099 GB, free: 104 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.4013, allocations: 374 kB / 0.5103 GB, free: 104 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002872/0.4042, allocations: 1.24 MB / 0.5115 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002543/0.4067, allocations: 2.067 MB / 0.5135 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003912/0.4106, allocations: 2.386 MB / 0.5158 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.4212, allocations: 7.894 MB / 0.5235 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4212, allocations: 0 / 0.5235 GB, free: 4.762 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4212, allocations: 3.984 kB / 0.5235 GB, free: 4.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002312/0.4215, allocations: 0 / 0.5235 GB, free: 4.758 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.01213/0.4336, allocations: 4.968 MB / 0.5284 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.4337, allocations: 11.89 kB / 0.5284 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01716/0.4508, allocations: 2.541 MB / 0.5309 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008202/0.4591, allocations: 2.726 MB / 0.5335 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002721/0.4594, allocations: 254.5 kB / 0.5338 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001355/0.4608, allocations: 339.7 kB / 0.5341 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.4792, allocations: 10.45 MB / 0.5443 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.4794, allocations: 43.59 kB / 0.5443 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.4798, allocations: 163.8 kB / 0.5445 GB, free: 14.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003171/0.483, allocations: 2.088 MB / 0.5465 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/0.4993, allocations: 8.736 MB / 0.5551 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05311/0.5525, allocations: 38.42 MB / 0.5926 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006034/0.5585, allocations: 3.056 MB / 0.5956 GB, free: 8.863 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.5611, allocations: 1.743 MB / 0.5973 GB, free: 7.113 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004301/0.5616, allocations: 340.2 kB / 0.5976 GB, free: 6.727 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.601e-05/0.5616, allocations: 56.02 kB / 0.5977 GB, free: 6.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.268e-06/0.5617, allocations: 0 / 0.5977 GB, free: 6.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03359/0.5953, allocations: 14.77 MB / 0.6121 GB, free: 7.742 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5954, allocations: 205.2 kB / 0.6123 GB, free: 7.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005155/0.6006, allocations: 3.839 MB / 0.616 GB, free: 3.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000392/0.601, allocations: 57.69 kB / 0.6161 GB, free: 3.609 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002547/0.6035, allocations: 3.186 MB / 0.6192 GB, free: 384 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.6046, allocations: 0.7406 MB / 0.6199 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001715/0.6063, allocations: 1.245 MB / 0.6211 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6065, allocations: 301.1 kB / 0.6214 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/0.6105, allocations: 2.261 MB / 0.6236 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006314/0.6169, allocations: 5.946 MB / 0.6294 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3214/0.9383, allocations: 8.832 MB / 0.6381 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.9385, allocations: 41.03 kB / 0.6381 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01926/0.9578, allocations: 8.483 MB / 0.6464 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.9579, allocations: 60.59 kB / 0.6464 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000239/0.9582, allocations: 130.9 kB / 0.6466 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.9604, allocations: 0.684 MB / 0.6472 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/0.9661, allocations: 1.441 MB / 0.6486 GB, free: 112.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.9719, allocations: 4.374 MB / 0.6529 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004844/0.9768, allocations: 362.9 kB / 0.6533 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008693/0.9777, allocations: 372.3 kB / 0.6536 GB, free: 109.4 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.003678/0.9814, allocations: 2.24 MB / 0.6558 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006058/0.982, allocations: 337.1 kB / 0.6561 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/0.9882, allocations: 3.253 MB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-05/0.9882, allocations: 25.92 kB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.9883, allocations: 3.312 kB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.9883, allocations: 8.609 kB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.004, allocations: 8.133 MB / 0.6673 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.004, allocations: 1.094 kB / 0.6673 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.006, allocations: 345.7 kB / 0.6676 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/1.007, allocations: 0.5085 MB / 0.6681 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.007, allocations: 37.05 kB / 0.6681 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003956/1.011, allocations: 3.91 MB / 0.672 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.011, allocations: 2.062 kB / 0.672 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008059/1.019, allocations: 5.934 MB / 0.6778 GB, free: 99.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/1.021, allocations: 0.644 MB / 0.6784 GB, free: 99.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/1.022, allocations: 27.81 kB / 0.6784 GB, free: 99.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/1.023, allocations: 118.8 kB / 0.6785 GB, free: 99.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/1.024, allocations: 135.8 kB / 0.6787 GB, free: 99.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.024, allocations: 55.14 kB / 0.6787 GB, free: 99.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003285/1.027, allocations: 2.395 MB / 0.6811 GB, free: 97.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.61e-07/1.027, allocations: 0 / 0.6811 GB, free: 97.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006447/1.033, allocations: 1.029 MB / 0.6821 GB, free: 97.7 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.0005503/1.034, allocations: 162.5 kB / 0.6822 GB, free: 97.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008715/1.043, allocations: 5.368 MB / 0.6875 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.043, allocations: 0 / 0.6875 GB, free: 93.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/1.045, allocations: 1.708 MB / 0.6891 GB, free: 91.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/1.048, allocations: 421.5 kB / 0.6895 GB, free: 91.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01367/1.061, allocations: 9.547 MB / 0.6988 GB, free: 81.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002745/1.064, allocations: 3.455 MB / 0.7022 GB, free: 78.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003995/1.068, allocations: 1.944 MB / 0.7041 GB, free: 76.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000858/1.069, allocations: 255.4 kB / 0.7044 GB, free: 76.22 MB / 0.4981 GB Notification: Performance of SimCode: time 1.613e-06/1.069, allocations: 7.875 kB / 0.7044 GB, free: 76.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.05571/1.125, allocations: 33.58 MB / 0.7372 GB, free: 42.78 MB / 0.4981 GB 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)