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.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001528/0.001528, allocations: 192.9 kB / 16.14 MB, free: 6.703 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.765/1.765, allocations: 205.1 MB / 222 MB, free: 4.953 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.3782/0.3782, allocations: 39.93 MB / 309.3 MB, free: 9.262 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.001345/0.001345, allocations: 63.91 kB / 376.9 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1471, allocations: 56.88 MB / 433.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3182/0.4654, allocations: 53.2 MB / 487 MB, free: 21.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02922/0.4947, allocations: 11.14 MB / 498.1 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01528/0.51, allocations: 220.5 kB / 498.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005531/0.5157, allocations: 2.819 MB / 0.4894 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.5225, allocations: 1.77 MB / 0.4912 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.5252, allocations: 0.6491 MB / 0.4918 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01102/0.5362, allocations: 6.14 MB / 0.4978 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006659/0.5429, allocations: 3.82 MB / 0.5015 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004022/0.547, allocations: 1.397 MB / 0.5029 GB, free: 8.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005296/0.5523, allocations: 2.359 MB / 0.5052 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001846/0.5542, allocations: 257.2 kB / 0.5054 GB, free: 7.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.5586, allocations: 1.19 MB / 0.5066 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00415/0.5628, allocations: 1.965 MB / 0.5085 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006257/0.5691, allocations: 2.291 MB / 0.5107 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.5833, allocations: 7.519 MB / 0.5181 GB, free: 304 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.5834, allocations: 1.375 kB / 0.5181 GB, free: 304 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5834, allocations: 0 / 0.5181 GB, free: 304 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003537/0.5837, allocations: 0 / 0.5181 GB, free: 304 kB / 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.01726/0.601, allocations: 4.973 MB / 0.5229 GB, free: 12.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.6011, allocations: 9.5 kB / 0.523 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01728/0.6184, allocations: 2.541 MB / 0.5254 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007703/0.6261, allocations: 2.71 MB / 0.5281 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.6264, allocations: 250.8 kB / 0.5283 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/0.628, allocations: 339.7 kB / 0.5286 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.6541, allocations: 10.45 MB / 0.5389 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001828/0.6544, allocations: 43.59 kB / 0.5389 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000822/0.6552, allocations: 159.8 kB / 0.539 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004097/0.6593, allocations: 2.096 MB / 0.5411 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.6809, allocations: 8.732 MB / 0.5496 GB, free: 1.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05661/0.7375, allocations: 38.64 MB / 0.5874 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006355/0.744, allocations: 3.048 MB / 0.5903 GB, free: 6.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002658/0.7467, allocations: 1.745 MB / 0.592 GB, free: 4.945 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004761/0.7472, allocations: 332.2 kB / 0.5923 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.7472, allocations: 59.5 kB / 0.5924 GB, free: 4.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.949e-06/0.7472, allocations: 0 / 0.5924 GB, free: 4.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.03543/0.7827, allocations: 14.78 MB / 0.6068 GB, free: 5.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.7828, allocations: 197.2 kB / 0.607 GB, free: 5.344 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005494/0.7883, allocations: 3.839 MB / 0.6108 GB, free: 1.516 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004663/0.7888, allocations: 49.7 kB / 0.6108 GB, free: 1.461 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002452/0.7913, allocations: 3.194 MB / 0.6139 GB, free: 14.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001098/0.7924, allocations: 0.7366 MB / 0.6147 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/0.7942, allocations: 1.245 MB / 0.6159 GB, free: 12.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.7943, allocations: 309.1 kB / 0.6162 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003699/0.798, allocations: 2.264 MB / 0.6184 GB, free: 9.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/0.8044, allocations: 5.942 MB / 0.6242 GB, free: 1.863 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2175/1.022, allocations: 8.825 MB / 0.6328 GB, free: 134.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000108/1.022, allocations: 43.09 kB / 0.6329 GB, free: 134.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01553/1.038, allocations: 8.479 MB / 0.6411 GB, free: 132.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/1.038, allocations: 60.72 kB / 0.6412 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002633/1.038, allocations: 129.3 kB / 0.6413 GB, free: 132.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/1.04, allocations: 0.6894 MB / 0.642 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00488/1.045, allocations: 1.446 MB / 0.6434 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/1.049, allocations: 4.086 MB / 0.6474 GB, free: 129.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006661/1.056, allocations: 351.5 kB / 0.6477 GB, free: 129.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001576/1.058, allocations: 377.5 kB / 0.6481 GB, free: 129.4 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 (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.005231/1.063, allocations: 2.241 MB / 0.6503 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.064, allocations: 337 kB / 0.6506 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006584/1.071, allocations: 3.25 MB / 0.6538 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/1.071, allocations: 21.5 kB / 0.6538 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.071, allocations: 2.562 kB / 0.6538 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.803e-05/1.071, allocations: 10.88 kB / 0.6538 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02154/1.092, allocations: 8.157 MB / 0.6618 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.062e-05/1.092, allocations: 4.656 kB / 0.6618 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/1.094, allocations: 342 kB / 0.6621 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/1.096, allocations: 0.5082 MB / 0.6626 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003099/1.096, allocations: 37.48 kB / 0.6626 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004512/1.101, allocations: 3.639 MB / 0.6662 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.101, allocations: 1.125 kB / 0.6662 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/1.112, allocations: 5.928 MB / 0.672 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002231/1.114, allocations: 0.6429 MB / 0.6726 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001142/1.116, allocations: 33.02 kB / 0.6726 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.118, allocations: 120.7 kB / 0.6727 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004594/1.118, allocations: 133.9 kB / 0.6729 GB, free: 119.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.119, allocations: 50.89 kB / 0.6729 GB, free: 119.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006149/1.125, allocations: 2.396 MB / 0.6753 GB, free: 118.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/1.125, allocations: 0 / 0.6753 GB, free: 118.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007287/1.132, allocations: 1.028 MB / 0.6763 GB, free: 118.4 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 (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.0009862/1.133, allocations: 157 kB / 0.6764 GB, free: 118.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01006/1.143, allocations: 5.352 MB / 0.6816 GB, free: 116.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.143, allocations: 0 / 0.6816 GB, free: 116.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003236/1.147, allocations: 1.712 MB / 0.6833 GB, free: 115.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/1.151, allocations: 407.5 kB / 0.6837 GB, free: 115.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.172, allocations: 11.83 MB / 0.6953 GB, free: 107.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005927/1.178, allocations: 3.47 MB / 0.6986 GB, free: 104.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005848/1.183, allocations: 1.943 MB / 0.7005 GB, free: 103.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001267/1.185, allocations: 250.7 kB / 0.7008 GB, free: 103.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/1.185, allocations: 0 / 0.7008 GB, free: 103.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05942/1.244, allocations: 35.29 MB / 0.7352 GB, free: 69.43 MB / 494.1 MB 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)