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.007046/0.007046, allocations: 101 kB / 15.73 MB, free: 6.004 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.001363/0.001363, allocations: 196.6 kB / 16.68 MB, free: 5.926 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.3201/0.3201, allocations: 38 MB / 307.9 MB, free: 10.12 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.001508/0.001508, allocations: 79.88 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2799, allocations: 56.46 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01036/0.2903, allocations: 11.22 MB / 0.489 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008299/0.2987, allocations: 4.061 MB / 0.4929 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.3009, allocations: 60.78 kB / 0.493 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005799/0.3068, allocations: 2.835 MB / 0.4957 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00598/0.3128, allocations: 1.932 MB / 0.4976 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001983/0.3148, allocations: 0.7025 MB / 0.4983 GB, free: 6.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006483/0.3213, allocations: 4.188 MB / 0.5024 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004621/0.326, allocations: 3.887 MB / 0.5062 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.3303, allocations: 1.603 MB / 0.5078 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005796/0.3362, allocations: 2.233 MB / 0.5099 GB, free: 20 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002421/0.3386, allocations: 373.8 kB / 0.5103 GB, free: 20 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004529/0.3432, allocations: 1.24 MB / 0.5115 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004226/0.3474, allocations: 2.079 MB / 0.5135 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00497/0.3524, allocations: 2.377 MB / 0.5159 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.3671, allocations: 7.892 MB / 0.5236 GB, free: 4.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3671, allocations: 3.938 kB / 0.5236 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3671, allocations: 0 / 0.5236 GB, free: 4.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002432/0.3674, allocations: 0 / 0.5236 GB, free: 4.719 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.01871/0.3861, allocations: 4.965 MB / 0.5284 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3862, allocations: 15.89 kB / 0.5284 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03025/0.4164, allocations: 2.541 MB / 0.5309 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008129/0.4246, allocations: 2.734 MB / 0.5336 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002776/0.4249, allocations: 254.5 kB / 0.5338 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/0.4264, allocations: 327.8 kB / 0.5341 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.4455, allocations: 10.45 MB / 0.5443 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.4456, allocations: 43.59 kB / 0.5444 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/0.446, allocations: 155.8 kB / 0.5445 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003158/0.4492, allocations: 2.096 MB / 0.5466 GB, free: 12.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01516/0.4643, allocations: 8.736 MB / 0.5551 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04756/0.5119, allocations: 38.42 MB / 0.5926 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/0.5178, allocations: 3.061 MB / 0.5956 GB, free: 8.828 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.5203, allocations: 1.751 MB / 0.5973 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.5208, allocations: 336.2 kB / 0.5977 GB, free: 6.688 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.5208, allocations: 51.59 kB / 0.5977 GB, free: 6.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=176): time 4.268e-06/0.5208, allocations: 0 / 0.5977 GB, free: 6.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=194): time 0.03537/0.5562, allocations: 14.78 MB / 0.6121 GB, free: 7.707 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.5564, allocations: 205.3 kB / 0.6123 GB, free: 7.465 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006635/0.563, allocations: 3.843 MB / 0.6161 GB, free: 3.633 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004384/0.5635, allocations: 53.7 kB / 0.6161 GB, free: 3.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002649/0.5661, allocations: 3.194 MB / 0.6193 GB, free: 340 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/0.5673, allocations: 0.7406 MB / 0.62 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002566/0.5699, allocations: 1.242 MB / 0.6212 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.478e-05/0.57, allocations: 301.1 kB / 0.6215 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003855/0.5739, allocations: 2.261 MB / 0.6237 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00649/0.5804, allocations: 5.946 MB / 0.6295 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2658/0.8462, allocations: 8.822 MB / 0.6381 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/0.8464, allocations: 40.94 kB / 0.6381 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01656/0.863, allocations: 8.485 MB / 0.6464 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.8631, allocations: 60.34 kB / 0.6465 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001967/0.8633, allocations: 131.6 kB / 0.6466 GB, free: 112.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.8651, allocations: 0.6873 MB / 0.6473 GB, free: 112.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004608/0.8697, allocations: 1.445 MB / 0.6487 GB, free: 112 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.8747, allocations: 4.374 MB / 0.653 GB, free: 109.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004033/0.8788, allocations: 359 kB / 0.6533 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005671/0.8794, allocations: 375.2 kB / 0.6537 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.00386/0.8832, allocations: 2.241 MB / 0.6559 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006807/0.8839, allocations: 337.2 kB / 0.6562 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/0.8899, allocations: 3.253 MB / 0.6594 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/0.89, allocations: 21.03 kB / 0.6594 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.89, allocations: 3.719 kB / 0.6594 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/0.89, allocations: 9.359 kB / 0.6594 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.9027, allocations: 8.139 MB / 0.6673 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.9027, allocations: 1.156 kB / 0.6673 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/0.9043, allocations: 342.6 kB / 0.6677 GB, free: 104.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.9057, allocations: 0.4996 MB / 0.6682 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/0.9059, allocations: 37.25 kB / 0.6682 GB, free: 104.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00393/0.9098, allocations: 3.916 MB / 0.672 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9098, allocations: 5.531 kB / 0.672 GB, free: 101.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007629/0.9175, allocations: 5.932 MB / 0.6778 GB, free: 99.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.9186, allocations: 0.6444 MB / 0.6784 GB, free: 99.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003255/0.9189, allocations: 30.88 kB / 0.6785 GB, free: 99.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.9203, allocations: 127.3 kB / 0.6786 GB, free: 99.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002941/0.9206, allocations: 131.6 kB / 0.6787 GB, free: 99.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.9207, allocations: 51.11 kB / 0.6788 GB, free: 99.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003073/0.9238, allocations: 2.391 MB / 0.6811 GB, free: 97.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9238, allocations: 0 / 0.6811 GB, free: 97.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00469/0.9285, allocations: 1.031 MB / 0.6821 GB, free: 97.69 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.0003808/0.9289, allocations: 157 kB / 0.6823 GB, free: 97.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007124/0.936, allocations: 5.362 MB / 0.6875 GB, free: 93.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.936, allocations: 384 / 0.6875 GB, free: 93.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.9382, allocations: 1.722 MB / 0.6892 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.002606/0.9408, allocations: 419.2 kB / 0.6896 GB, free: 91.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.955, allocations: 9.55 MB / 0.6989 GB, free: 81.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002801/0.9578, allocations: 3.459 MB / 0.7023 GB, free: 78.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003722/0.9615, allocations: 1.936 MB / 0.7042 GB, free: 76.45 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007518/0.9623, allocations: 255.4 kB / 0.7044 GB, free: 76.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.383e-06/0.9623, allocations: 4 kB / 0.7044 GB, free: 76.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.05281/1.015, 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)