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.001225/0.001225, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001628/0.001628, allocations: 168.7 kB / 15.95 MB, free: 200 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.88/1.88, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.5207/0.5207, allocations: 40.01 MB / 310.4 MB, free: 9.637 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.0005855/0.0005855, allocations: 19.98 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1561, allocations: 57.95 MB / 436.8 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3301/0.4863, allocations: 48.24 MB / 485 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.5157, allocations: 10.56 MB / 495.6 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0148/0.5306, allocations: 217.7 kB / 495.8 MB, free: 17.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.5414, allocations: 2.508 MB / 498.3 MB, free: 16.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02476/0.5663, allocations: 7.465 MB / 0.4939 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.5703, allocations: 0.6053 MB / 0.4945 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02971/0.6, allocations: 18.95 MB / 0.513 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006968/0.607, allocations: 4.381 MB / 0.5173 GB, free: 4.758 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003071/0.6101, allocations: 1.252 MB / 0.5185 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003281/0.6134, allocations: 2.035 MB / 0.5205 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007262/0.6142, allocations: 156 kB / 0.5207 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002111/0.6163, allocations: 0.944 MB / 0.5216 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001733/0.6181, allocations: 1.78 MB / 0.5233 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.6192, allocations: 0.8817 MB / 0.5242 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007631/0.6268, allocations: 6.063 MB / 0.5301 GB, free: 8.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.6269, allocations: 0 / 0.5301 GB, free: 8.312 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.781e-06/0.6269, allocations: 4 kB / 0.5301 GB, free: 8.309 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002808/0.6272, allocations: 0 / 0.5301 GB, free: 8.309 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.009303/0.6365, allocations: 4.104 MB / 0.5341 GB, free: 4.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6366, allocations: 8.031 kB / 0.5341 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01487/0.6514, allocations: 2.603 MB / 0.5367 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.6581, allocations: 2.661 MB / 0.5393 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002281/0.6584, allocations: 254.4 kB / 0.5395 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.6594, allocations: 331.7 kB / 0.5398 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.6763, allocations: 10.45 MB / 0.55 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.6764, allocations: 39.59 kB / 0.5501 GB, free: 3.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004081/0.6769, allocations: 159.8 kB / 0.5502 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003248/0.6801, allocations: 2.1 MB / 0.5523 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/0.6962, allocations: 8.713 MB / 0.5608 GB, free: 8.059 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05181/0.748, allocations: 38.64 MB / 0.5985 GB, free: 328 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006059/0.7542, allocations: 3.065 MB / 0.6015 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/0.7569, allocations: 1.744 MB / 0.6032 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004023/0.7574, allocations: 340.2 kB / 0.6035 GB, free: 10.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.7574, allocations: 59.53 kB / 0.6036 GB, free: 10.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.018e-06/0.7574, allocations: 4 kB / 0.6036 GB, free: 10.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03568/0.7931, allocations: 15.02 MB / 0.6183 GB, free: 11.74 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001787/0.7933, allocations: 205.1 kB / 0.6185 GB, free: 11.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00585/0.7992, allocations: 3.824 MB / 0.6222 GB, free: 7.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004165/0.7996, allocations: 49.7 kB / 0.6222 GB, free: 7.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002451/0.8021, allocations: 3.183 MB / 0.6254 GB, free: 4.395 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009857/0.8031, allocations: 0.7443 MB / 0.6261 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003474/0.8035, allocations: 124 kB / 0.6262 GB, free: 3.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003641/0.8038, allocations: 0.5663 MB / 0.6268 GB, free: 2.945 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00397/0.8078, allocations: 2.261 MB / 0.629 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2858/1.094, allocations: 5.945 MB / 0.6348 GB, free: 137.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/1.1, allocations: 3.566 MB / 0.6382 GB, free: 137.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.1, allocations: 38.09 kB / 0.6383 GB, free: 137.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01497/1.115, allocations: 8.474 MB / 0.6466 GB, free: 135 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/1.115, allocations: 64.44 kB / 0.6466 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/1.115, allocations: 129.4 kB / 0.6467 GB, free: 135 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/1.117, allocations: 0.7187 MB / 0.6474 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/1.121, allocations: 1.456 MB / 0.6489 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00429/1.126, allocations: 4.072 MB / 0.6528 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/1.131, allocations: 368.5 kB / 0.6532 GB, free: 132.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/1.132, allocations: 376.8 kB / 0.6536 GB, free: 132.2 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.00421/1.136, allocations: 2.239 MB / 0.6557 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008037/1.137, allocations: 339.8 kB / 0.6561 GB, free: 131.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006096/1.143, allocations: 3.293 MB / 0.6593 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.077e-05/1.143, allocations: 22.25 kB / 0.6593 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.143, allocations: 3.438 kB / 0.6593 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/1.143, allocations: 12.83 kB / 0.6593 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.159, allocations: 8.19 MB / 0.6673 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/1.159, allocations: 4.703 kB / 0.6673 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.161, allocations: 354.2 kB / 0.6677 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/1.162, allocations: 0.5022 MB / 0.6681 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001693/1.163, allocations: 41.03 kB / 0.6682 GB, free: 127 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004729/1.167, allocations: 3.634 MB / 0.6717 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.167, allocations: 1.125 kB / 0.6717 GB, free: 124.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.178, allocations: 5.996 MB / 0.6776 GB, free: 122.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002002/1.18, allocations: 0.6522 MB / 0.6782 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/1.181, allocations: 32.44 kB / 0.6783 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.182, allocations: 130.1 kB / 0.6784 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004396/1.182, allocations: 132.4 kB / 0.6785 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/1.183, allocations: 54.86 kB / 0.6786 GB, free: 122.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0056/1.188, allocations: 2.372 MB / 0.6809 GB, free: 121.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.574e-06/1.188, allocations: 0 / 0.6809 GB, free: 121.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007918/1.196, allocations: 1.03 MB / 0.6819 GB, free: 121.2 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.000477/1.197, allocations: 166.6 kB / 0.682 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009604/1.206, allocations: 5.378 MB / 0.6873 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.206, allocations: 0 / 0.6873 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002743/1.209, allocations: 1.729 MB / 0.689 GB, free: 118.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/1.212, allocations: 397.5 kB / 0.6894 GB, free: 118.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/1.23, allocations: 11.44 MB / 0.7005 GB, free: 109.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003371/1.233, allocations: 3.459 MB / 0.7039 GB, free: 106.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004734/1.238, allocations: 1.948 MB / 0.7058 GB, free: 105.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008467/1.239, allocations: 250.6 kB / 0.7061 GB, free: 105.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/1.239, allocations: 0 / 0.7061 GB, free: 105.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05629/1.295, allocations: 34.07 MB / 0.7393 GB, free: 71.84 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: