Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001479/0.001479, allocations: 177.3 kB / 15.95 MB, free: 216 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.706/1.706, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3452/0.3452, allocations: 38.04 MB / 308.4 MB, free: 10.35 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.000658/0.0006583, allocations: 20.22 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1571, allocations: 57.52 MB / 433.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.3324/0.4896, allocations: 25.3 MB / 459.2 MB, free: 33.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.5058, allocations: 6.724 MB / 466 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006373/0.5123, allocations: 123.3 kB / 466.1 MB, free: 32.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.5165, allocations: 1.299 MB / 467.4 MB, free: 32.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01483/0.5313, allocations: 3.934 MB / 471.3 MB, free: 32.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.5336, allocations: 405.7 kB / 471.7 MB, free: 32.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005905/0.5395, allocations: 2.2 MB / 473.9 MB, free: 31.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00427/0.5438, allocations: 2.207 MB / 476.1 MB, free: 31.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.5459, allocations: 0.8912 MB / 477 MB, free: 31.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.5474, allocations: 1.246 MB / 478.2 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.5478, allocations: 130.8 kB / 478.4 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.5497, allocations: 0.8762 MB / 479.3 MB, free: 31.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.551, allocations: 1.468 MB / 480.7 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007969/0.5518, allocations: 0.7701 MB / 481.5 MB, free: 30.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006656/0.5585, allocations: 4.912 MB / 486.4 MB, free: 30.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5585, allocations: 0 / 486.4 MB, free: 30.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5585, allocations: 0 / 486.4 MB, free: 30.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002804/0.5588, allocations: 0 / 486.4 MB, free: 30.56 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.009935/0.5687, allocations: 3.696 MB / 490.1 MB, free: 28.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.5688, allocations: 8.781 kB / 490.1 MB, free: 28.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.5848, allocations: 3.858 MB / 494 MB, free: 28.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008067/0.5929, allocations: 2.426 MB / 496.4 MB, free: 26.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.5933, allocations: 193.9 kB / 496.6 MB, free: 26.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.5953, allocations: 339.6 kB / 496.9 MB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/0.6184, allocations: 10.83 MB / 0.4958 GB, free: 21.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.6185, allocations: 32.31 kB / 0.4959 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000499/0.619, allocations: 124.1 kB / 0.496 GB, free: 21.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005482/0.6245, allocations: 2.562 MB / 0.4985 GB, free: 20.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.6481, allocations: 10.33 MB / 0.5086 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06598/0.7142, allocations: 35.99 MB / 0.5437 GB, free: 9.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00931/0.7235, allocations: 4.433 MB / 0.5481 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00139/0.725, allocations: 1.329 MB / 0.5494 GB, free: 3.527 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.725, allocations: 56.55 kB / 0.5494 GB, free: 3.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=245): time 4.889e-06/0.725, allocations: 0 / 0.5494 GB, free: 3.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=261): time 0.04301/0.768, allocations: 17.62 MB / 0.5666 GB, free: 1.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001432/0.7695, allocations: 1.554 MB / 0.5681 GB, free: 15.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/0.7745, allocations: 2.998 MB / 0.5711 GB, free: 12.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001101/0.7756, allocations: 61.69 kB / 0.5711 GB, free: 12.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002517/0.7781, allocations: 2.736 MB / 0.5738 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001937/0.7801, allocations: 0.963 MB / 0.5747 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.7804, allocations: 110.5 kB / 0.5748 GB, free: 9.004 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003897/0.7808, allocations: 0.5498 MB / 0.5754 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/0.7847, allocations: 2.459 MB / 0.5778 GB, free: 5.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006254/0.7909, allocations: 5.493 MB / 0.5831 GB, free: 15 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005431/0.7964, allocations: 3.669 MB / 0.5867 GB, free: 11.33 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.557e-05/0.7965, allocations: 28 kB / 0.5867 GB, free: 11.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.02397/0.8204, allocations: 9.822 MB / 0.5963 GB, free: 1.461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.8206, allocations: 52 kB / 0.5964 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01502/0.8357, allocations: 4.912 MB / 0.6012 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/0.8476, allocations: 2.382 MB / 0.6035 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005863/0.8536, allocations: 1.298 MB / 0.6048 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009637/0.8633, allocations: 6.153 MB / 0.6108 GB, free: 2.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006605/0.8699, allocations: 410.2 kB / 0.6112 GB, free: 1.973 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/0.8716, allocations: 328 kB / 0.6115 GB, free: 1.652 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (692): * Single equations (assignments): 680 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005815/0.8774, allocations: 2.105 MB / 0.6135 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008036/0.8782, allocations: 284.3 kB / 0.6138 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01063/0.8889, allocations: 5.441 MB / 0.6191 GB, free: 9.742 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009537/0.8985, allocations: 4.679 MB / 0.6237 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.492e-05/0.8986, allocations: 0 / 0.6237 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/0.8986, allocations: 19.91 kB / 0.6237 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3768/1.275, allocations: 14.74 MB / 0.6381 GB, free: 143.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.237e-05/1.276, allocations: 13.81 kB / 0.6381 GB, free: 143.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/1.277, allocations: 426.4 kB / 0.6385 GB, free: 143.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004192/1.281, allocations: 1.248 MB / 0.6397 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/1.282, allocations: 67.3 kB / 0.6398 GB, free: 143.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004211/1.286, allocations: 4.519 MB / 0.6442 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008263/1.287, allocations: 1.479 MB / 0.6457 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.3, allocations: 8.973 MB / 0.6544 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.301, allocations: 351.7 kB / 0.6548 GB, free: 135.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/1.302, allocations: 54.02 kB / 0.6548 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.304, allocations: 202.2 kB / 0.655 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004444/1.304, allocations: 171 kB / 0.6552 GB, free: 135.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000232/1.304, allocations: 79.38 kB / 0.6553 GB, free: 135.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004277/1.309, allocations: 1.87 MB / 0.6571 GB, free: 134.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.309, allocations: 1.031 kB / 0.6571 GB, free: 134.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007203/1.316, allocations: 1.098 MB / 0.6581 GB, free: 134.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008637/1.317, allocations: 214.2 kB / 0.6584 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01359/1.33, allocations: 6.517 MB / 0.6647 GB, free: 132.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.33, allocations: 1.281 kB / 0.6647 GB, free: 132.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006275/1.337, allocations: 2.882 MB / 0.6675 GB, free: 131.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/1.34, allocations: 354.5 kB / 0.6679 GB, free: 130.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/1.365, allocations: 12.55 MB / 0.6801 GB, free: 124.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003421/1.369, allocations: 3.395 MB / 0.6834 GB, free: 123.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005026/1.374, allocations: 2.114 MB / 0.6855 GB, free: 123 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008466/1.374, allocations: 232.6 kB / 0.6857 GB, free: 123 MB / 494.1 MB Notification: Performance of SimCode: time 1.333e-06/1.374, allocations: 0 / 0.6857 GB, free: 123 MB / 494.1 MB Notification: Performance of Templates: time 0.06474/1.439, allocations: 35.78 MB / 0.7207 GB, free: 89.94 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1) Environment - environmentSimulation: