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.001164/0.001165, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.692/1.692, allocations: 205.1 MB / 222.4 MB, free: 4.633 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.3742/0.3742, allocations: 39.94 MB / 309.7 MB, free: 9.344 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.002441/0.002442, allocations: 66.41 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1542, allocations: 56.89 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01264/0.1669, allocations: 11.22 MB / 445.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009962/0.1769, allocations: 4.042 MB / 449.8 MB, free: 4.359 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.1801, allocations: 59.88 kB / 449.8 MB, free: 4.301 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005856/0.1861, allocations: 2.838 MB / 452.7 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2719/0.458, allocations: 1.887 MB / 454.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.4599, allocations: 0.7021 MB / 455.3 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005626/0.4656, allocations: 4.17 MB / 459.4 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004084/0.4697, allocations: 3.898 MB / 463.3 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.4725, allocations: 1.593 MB / 464.9 MB, free: 35.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002981/0.4755, allocations: 2.235 MB / 467.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009125/0.4764, allocations: 378.4 kB / 467.5 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.4788, allocations: 1.239 MB / 468.8 MB, free: 35.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.4805, allocations: 2.05 MB / 470.8 MB, free: 34.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.4828, allocations: 2.39 MB / 473.2 MB, free: 33.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00724/0.49, allocations: 7.617 MB / 480.8 MB, free: 30.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.49, allocations: 0 / 480.8 MB, free: 30.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4901, allocations: 4.609 kB / 480.8 MB, free: 30.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002508/0.4903, allocations: 0 / 480.8 MB, free: 30.51 MB / 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.01338/0.5037, allocations: 4.965 MB / 485.8 MB, free: 27.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/0.5038, allocations: 14.22 kB / 485.8 MB, free: 27.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01823/0.522, allocations: 2.542 MB / 488.3 MB, free: 27.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008601/0.5307, allocations: 2.7 MB / 491 MB, free: 26.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.531, allocations: 256.4 kB / 491.3 MB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/0.5324, allocations: 332.8 kB / 491.6 MB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.5535, allocations: 10.45 MB / 0.4903 GB, free: 21.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/0.5537, allocations: 45.73 kB / 0.4903 GB, free: 21.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005126/0.5542, allocations: 157.4 kB / 0.4905 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003661/0.5579, allocations: 2.093 MB / 0.4925 GB, free: 20.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.5746, allocations: 8.745 MB / 0.5011 GB, free: 17.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04694/0.6216, allocations: 38.64 MB / 0.5388 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005973/0.6276, allocations: 3.04 MB / 0.5418 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002408/0.63, allocations: 1.747 MB / 0.5435 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/0.6304, allocations: 339.3 kB / 0.5438 GB, free: 4.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.6305, allocations: 47.56 kB / 0.5439 GB, free: 4.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=176): time 3.606e-06/0.6305, allocations: 0 / 0.5439 GB, free: 4.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=194): time 0.0339/0.6644, allocations: 14.78 MB / 0.5583 GB, free: 5.605 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.6645, allocations: 201.2 kB / 0.5585 GB, free: 5.363 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005306/0.6698, allocations: 3.839 MB / 0.5622 GB, free: 1.535 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003386/0.6702, allocations: 53.7 kB / 0.5623 GB, free: 1.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002134/0.6723, allocations: 3.197 MB / 0.5654 GB, free: 14.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008236/0.6732, allocations: 0.7322 MB / 0.5661 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/0.6748, allocations: 1.245 MB / 0.5673 GB, free: 12.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6749, allocations: 305.1 kB / 0.5676 GB, free: 11.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/0.6783, allocations: 2.261 MB / 0.5698 GB, free: 9.727 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005922/0.6843, allocations: 5.947 MB / 0.5756 GB, free: 1.953 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.6959, allocations: 8.834 MB / 0.5843 GB, free: 7.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000133/0.6961, allocations: 40 kB / 0.5843 GB, free: 7.289 MB / 462.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01692/0.713, allocations: 8.478 MB / 0.5926 GB, free: 14.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.7132, allocations: 63.94 kB / 0.5926 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/0.7133, allocations: 132 kB / 0.5928 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.7151, allocations: 0.6862 MB / 0.5934 GB, free: 13.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/0.7199, allocations: 1.443 MB / 0.5949 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/0.7251, allocations: 4.388 MB / 0.5991 GB, free: 7.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004638/0.7298, allocations: 355.6 kB / 0.5995 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006247/0.7304, allocations: 374.9 kB / 0.5998 GB, free: 7.246 MB / 478.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.003454/0.7339, allocations: 2.232 MB / 0.602 GB, free: 5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006471/0.7345, allocations: 343.5 kB / 0.6023 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/0.7404, allocations: 3.245 MB / 0.6055 GB, free: 1.398 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.37e-05/0.7405, allocations: 23.94 kB / 0.6055 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.7405, allocations: 7.938 kB / 0.6055 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.7405, allocations: 7.969 kB / 0.6055 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.7554, allocations: 8.156 MB / 0.6135 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.7554, allocations: 3.469 kB / 0.6135 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.757, allocations: 339.5 kB / 0.6138 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.7584, allocations: 0.508 MB / 0.6143 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001521/0.7586, allocations: 39.97 kB / 0.6144 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004705/0.7633, allocations: 3.921 MB / 0.6182 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.7633, allocations: 7.969 kB / 0.6182 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009097/0.7724, allocations: 5.934 MB / 0.624 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001807/0.7743, allocations: 0.6449 MB / 0.6246 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/0.7748, allocations: 32 kB / 0.6247 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.7763, allocations: 123.9 kB / 0.6248 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/0.7767, allocations: 129.1 kB / 0.6249 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.7768, allocations: 51.98 kB / 0.625 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003766/0.7806, allocations: 2.392 MB / 0.6273 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7806, allocations: 0 / 0.6273 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004922/0.7856, allocations: 1.023 MB / 0.6283 GB, free: 9.879 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.0004277/0.786, allocations: 170.9 kB / 0.6285 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0114/0.7974, allocations: 6.541 MB / 0.6348 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7974, allocations: 4 kB / 0.6348 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002779/0.8002, allocations: 1.709 MB / 0.6365 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/0.8028, allocations: 423.5 kB / 0.6369 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1994/1.002, allocations: 9.659 MB / 0.6464 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003008/1.005, allocations: 3.466 MB / 0.6497 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004389/1.01, allocations: 1.937 MB / 0.6516 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006919/1.01, allocations: 255.5 kB / 0.6519 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.713e-06/1.01, allocations: 3.094 kB / 0.6519 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.07349/1.084, allocations: 36.83 MB / 0.6878 GB, free: 147.2 MB / 0.4981 GB 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)