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.008144/0.008143, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001466/0.001466, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.452/1.452, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.3432/0.3432, allocations: 38 MB / 307.9 MB, free: 10.07 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.0015/0.0015, allocations: 67.91 kB / 433 MB, free: 5.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3476, allocations: 56.46 MB / 489.5 MB, free: 20.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01288/0.3606, allocations: 11.23 MB / 0.489 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.3746, allocations: 4.057 MB / 0.4929 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003311/0.378, allocations: 60 kB / 0.493 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006024/0.3841, allocations: 2.822 MB / 0.4957 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.3902, allocations: 1.893 MB / 0.4976 GB, free: 7.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.3919, allocations: 0.7049 MB / 0.4983 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00583/0.3978, allocations: 4.179 MB / 0.5024 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004204/0.402, allocations: 3.892 MB / 0.5062 GB, free: 2.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002671/0.4047, allocations: 1.594 MB / 0.5077 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.4077, allocations: 2.243 MB / 0.5099 GB, free: 88 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008711/0.4086, allocations: 373.9 kB / 0.5103 GB, free: 88 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002379/0.411, allocations: 1.239 MB / 0.5115 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001991/0.413, allocations: 2.058 MB / 0.5135 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003122/0.4161, allocations: 2.378 MB / 0.5158 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009495/0.4256, allocations: 7.893 MB / 0.5235 GB, free: 4.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4257, allocations: 4 kB / 0.5235 GB, free: 4.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4257, allocations: 0 / 0.5235 GB, free: 4.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001786/0.4258, allocations: 4 kB / 0.5235 GB, free: 4.781 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.01009/0.4359, allocations: 4.965 MB / 0.5284 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.436, allocations: 15.89 kB / 0.5284 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/0.4536, allocations: 2.537 MB / 0.5309 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007368/0.461, allocations: 2.734 MB / 0.5335 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.4613, allocations: 254.5 kB / 0.5338 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009425/0.4622, allocations: 335.8 kB / 0.5341 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.4792, allocations: 10.45 MB / 0.5443 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/0.4794, allocations: 39.59 kB / 0.5443 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004524/0.4798, allocations: 163.8 kB / 0.5445 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00358/0.4834, allocations: 2.092 MB / 0.5465 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/0.5004, allocations: 8.728 MB / 0.555 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05159/0.552, allocations: 38.42 MB / 0.5926 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006437/0.5585, allocations: 3.068 MB / 0.5956 GB, free: 8.883 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002832/0.5614, allocations: 1.739 MB / 0.5973 GB, free: 7.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004745/0.5619, allocations: 336.2 kB / 0.5976 GB, free: 6.754 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/0.5619, allocations: 59.5 kB / 0.5976 GB, free: 6.684 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 5.3e-06/0.562, allocations: 3.938 kB / 0.5976 GB, free: 6.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.04033/0.6023, allocations: 14.77 MB / 0.6121 GB, free: 7.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.6025, allocations: 197.2 kB / 0.6123 GB, free: 7.527 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007492/0.61, allocations: 3.843 MB / 0.616 GB, free: 3.695 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004387/0.6104, allocations: 53.64 kB / 0.6161 GB, free: 3.637 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002795/0.6133, allocations: 3.19 MB / 0.6192 GB, free: 412 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.6145, allocations: 0.7445 MB / 0.6199 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00246/0.617, allocations: 1.249 MB / 0.6211 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.6171, allocations: 301.1 kB / 0.6214 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003911/0.621, allocations: 2.257 MB / 0.6236 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00652/0.6276, allocations: 5.95 MB / 0.6294 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2845/0.9121, allocations: 8.818 MB / 0.638 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.897e-05/0.9122, allocations: 40.91 kB / 0.6381 GB, free: 115.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01777/0.93, allocations: 8.485 MB / 0.6464 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.9302, allocations: 60.55 kB / 0.6464 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002227/0.9304, allocations: 133.4 kB / 0.6466 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/0.9323, allocations: 0.6886 MB / 0.6472 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00562/0.938, allocations: 1.445 MB / 0.6486 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.945, allocations: 4.368 MB / 0.6529 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00635/0.9514, allocations: 357.9 kB / 0.6532 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/0.9528, allocations: 379.7 kB / 0.6536 GB, free: 109.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.004821/0.9576, allocations: 2.234 MB / 0.6558 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/0.9587, allocations: 343.2 kB / 0.6561 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006999/0.9657, allocations: 3.25 MB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/0.9657, allocations: 21.06 kB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.9658, allocations: 7.406 kB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.832e-05/0.9658, allocations: 8.266 kB / 0.6593 GB, free: 107.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.9803, allocations: 8.136 MB / 0.6673 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.9804, allocations: 1.188 kB / 0.6673 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/0.982, allocations: 336.1 kB / 0.6676 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/0.9834, allocations: 0.504 MB / 0.6681 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.9836, allocations: 43.38 kB / 0.6681 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/0.9875, allocations: 3.919 MB / 0.6719 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.9876, allocations: 3.812 kB / 0.672 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.9951, allocations: 5.928 MB / 0.6777 GB, free: 99.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.9965, allocations: 0.6461 MB / 0.6784 GB, free: 99.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003686/0.9968, allocations: 31.84 kB / 0.6784 GB, free: 99.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/0.9983, allocations: 118.8 kB / 0.6785 GB, free: 99.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000308/0.9986, allocations: 131.7 kB / 0.6786 GB, free: 98.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.9987, allocations: 62.73 kB / 0.6787 GB, free: 98.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00282/1.002, allocations: 2.387 MB / 0.681 GB, free: 97.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.002, allocations: 3 kB / 0.681 GB, free: 97.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00464/1.006, allocations: 1.021 MB / 0.682 GB, free: 97.64 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.0004204/1.007, allocations: 165 kB / 0.6822 GB, free: 97.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007695/1.014, allocations: 5.376 MB / 0.6874 GB, free: 93.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.014, allocations: 0 / 0.6874 GB, free: 93.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.017, allocations: 1.708 MB / 0.6891 GB, free: 91.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.019, allocations: 419.1 kB / 0.6895 GB, free: 91.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.035, allocations: 9.553 MB / 0.6988 GB, free: 81.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.038, allocations: 3.455 MB / 0.7022 GB, free: 78.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0039/1.042, allocations: 1.944 MB / 0.7041 GB, free: 76.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007379/1.042, allocations: 251.4 kB / 0.7043 GB, free: 76.2 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/1.042, allocations: 0 / 0.7043 GB, free: 76.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.0544/1.097, allocations: 33.82 MB / 0.7374 GB, free: 42.46 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)