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.0008141/0.000814, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004683/0.004683, allocations: 169 kB / 16.26 MB, free: 6.652 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.401/1.401, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3167/0.3167, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0006218/0.0006218, allocations: 16 kB / 377 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1231, allocations: 57.52 MB / 434.6 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.2449/0.368, allocations: 51.85 MB / 486.4 MB, free: 23.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3932, allocations: 11.07 MB / 497.5 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01288/0.4061, allocations: 221.2 kB / 497.7 MB, free: 16.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.4085, allocations: 432.9 kB / 498.1 MB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005867/0.4144, allocations: 1.772 MB / 499.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.4163, allocations: 0.6465 MB / 0.4888 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006636/0.423, allocations: 6.133 MB / 0.4948 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008081/0.4311, allocations: 5.051 MB / 0.4997 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002685/0.4338, allocations: 1.155 MB / 0.5009 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003787/0.4376, allocations: 2.056 MB / 0.5029 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.4388, allocations: 161.5 kB / 0.503 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003263/0.4421, allocations: 1.098 MB / 0.5041 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003486/0.4456, allocations: 1.824 MB / 0.5059 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00467/0.4503, allocations: 2.131 MB / 0.508 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.4623, allocations: 7.305 MB / 0.5151 GB, free: 4.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4623, allocations: 0 / 0.5151 GB, free: 4.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4623, allocations: 0 / 0.5151 GB, free: 4.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004699/0.4628, allocations: 5.406 kB / 0.5151 GB, free: 4.965 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.01253/0.4754, allocations: 4.055 MB / 0.5191 GB, free: 2.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.4754, allocations: 9.562 kB / 0.5191 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/0.4932, allocations: 2.591 MB / 0.5216 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/0.5002, allocations: 2.711 MB / 0.5242 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.5005, allocations: 255.5 kB / 0.5245 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.502, allocations: 335.6 kB / 0.5248 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.523, allocations: 10.47 MB / 0.535 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001871/0.5232, allocations: 43.59 kB / 0.5351 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/0.5245, allocations: 155.8 kB / 0.5352 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003514/0.528, allocations: 2.096 MB / 0.5373 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.5459, allocations: 8.772 MB / 0.5458 GB, free: 9.285 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0509/0.5968, allocations: 38.68 MB / 0.5836 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006694/0.6036, allocations: 3.072 MB / 0.5866 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.6064, allocations: 1.748 MB / 0.5883 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.6068, allocations: 336.2 kB / 0.5886 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.6069, allocations: 59.59 kB / 0.5887 GB, free: 12.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=176): time 4.488e-06/0.6069, allocations: 0 / 0.5887 GB, free: 12.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=194): time 0.0388/0.6457, allocations: 15.05 MB / 0.6034 GB, free: 12.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.6459, allocations: 201.2 kB / 0.6036 GB, free: 12.67 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007199/0.6531, allocations: 3.839 MB / 0.6073 GB, free: 8.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004671/0.6536, allocations: 57.7 kB / 0.6074 GB, free: 8.777 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002006/0.6556, allocations: 3.19 MB / 0.6105 GB, free: 5.539 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001016/0.6566, allocations: 0.7404 MB / 0.6112 GB, free: 4.789 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006491/0.6573, allocations: 0.5269 MB / 0.6117 GB, free: 4.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.986e-05/0.6574, allocations: 301.1 kB / 0.612 GB, free: 3.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/0.6609, allocations: 2.28 MB / 0.6142 GB, free: 1.672 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006064/0.667, allocations: 5.973 MB / 0.6201 GB, free: 9.859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2342/0.9012, allocations: 8.876 MB / 0.6287 GB, free: 140.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001214/0.9014, allocations: 39.41 kB / 0.6288 GB, free: 140.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01435/0.9158, allocations: 8.529 MB / 0.6371 GB, free: 140 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.716e-05/0.9159, allocations: 59.16 kB / 0.6372 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/0.916, allocations: 129.3 kB / 0.6373 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.9176, allocations: 0.6888 MB / 0.638 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004365/0.922, allocations: 1.458 MB / 0.6394 GB, free: 139.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/0.9262, allocations: 4.077 MB / 0.6434 GB, free: 137.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005308/0.9315, allocations: 372.4 kB / 0.6437 GB, free: 137.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008714/0.9324, allocations: 373 kB / 0.6441 GB, free: 137.6 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.003933/0.9363, allocations: 2.235 MB / 0.6463 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005609/0.9369, allocations: 341.2 kB / 0.6466 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/0.9423, allocations: 3.3 MB / 0.6498 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.9423, allocations: 24.86 kB / 0.6498 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.9423, allocations: 4.406 kB / 0.6498 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.9424, allocations: 9.719 kB / 0.6498 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/0.9558, allocations: 8.209 MB / 0.6579 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/0.9559, allocations: 1.094 kB / 0.6579 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.9575, allocations: 352.3 kB / 0.6582 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.9588, allocations: 0.5004 MB / 0.6587 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.959, allocations: 47.22 kB / 0.6587 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/0.9628, allocations: 3.631 MB / 0.6623 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.9628, allocations: 1.219 kB / 0.6623 GB, free: 130.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008925/0.9718, allocations: 6.006 MB / 0.6681 GB, free: 128 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/0.9732, allocations: 0.6517 MB / 0.6688 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003825/0.9736, allocations: 31.95 kB / 0.6688 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/0.9751, allocations: 135 kB / 0.6689 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/0.9755, allocations: 126.9 kB / 0.6691 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.9757, allocations: 56.75 kB / 0.6691 GB, free: 127.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004468/0.9801, allocations: 2.391 MB / 0.6715 GB, free: 126.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.9802, allocations: 4 kB / 0.6715 GB, free: 126.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005564/0.9857, allocations: 1.023 MB / 0.6725 GB, free: 126.6 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.0005228/0.9863, allocations: 167.5 kB / 0.6726 GB, free: 126.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007589/0.9939, allocations: 5.399 MB / 0.6779 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9939, allocations: 2.562 kB / 0.6779 GB, free: 124.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.9962, allocations: 1.739 MB / 0.6796 GB, free: 124 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.999, allocations: 409.3 kB / 0.68 GB, free: 123.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/1.014, allocations: 11.9 MB / 0.6916 GB, free: 116 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/1.017, allocations: 3.456 MB / 0.695 GB, free: 113.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00407/1.021, allocations: 1.947 MB / 0.6969 GB, free: 112.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006524/1.021, allocations: 246.2 kB / 0.6971 GB, free: 111.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/1.021, allocations: 4 kB / 0.6971 GB, free: 111.8 MB / 494.1 MB Notification: Performance of Templates: time 0.05537/1.077, allocations: 34.76 MB / 0.7311 GB, free: 78.36 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: