Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001108, allocations: 99.7 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.001274/0.001274, 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.902/1.902, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3852/0.3852, allocations: 38.03 MB / 308.4 MB, free: 10.45 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.000891/0.0008912, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.148, allocations: 57.52 MB / 433.9 MB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3017/0.4498, allocations: 39.58 MB / 473.5 MB, free: 32.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02392/0.4738, allocations: 9.738 MB / 483.2 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01286/0.4867, allocations: 198.1 kB / 483.4 MB, free: 26.49 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00986/0.4966, allocations: 2.016 MB / 485.5 MB, free: 25.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02183/0.5185, allocations: 5.871 MB / 491.3 MB, free: 23.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.5218, allocations: 486.8 kB / 491.8 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00561/0.5274, allocations: 2.26 MB / 494.1 MB, free: 21.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006678/0.5341, allocations: 4.147 MB / 498.2 MB, free: 20.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002978/0.5371, allocations: 0.9881 MB / 499.2 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003138/0.5403, allocations: 1.342 MB / 0.4888 GB, free: 19.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001214/0.5415, allocations: 153.2 kB / 0.489 GB, free: 19.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003317/0.5449, allocations: 0.8583 MB / 0.4898 GB, free: 19.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003107/0.548, allocations: 1.624 MB / 0.4914 GB, free: 18.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002663/0.5507, allocations: 0.8941 MB / 0.4923 GB, free: 18.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.5638, allocations: 6.039 MB / 0.4982 GB, free: 16.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5638, allocations: 0 / 0.4982 GB, free: 16.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5638, allocations: 0 / 0.4982 GB, free: 16.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005315/0.5644, allocations: 0 / 0.4982 GB, free: 16.74 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01691/0.5813, allocations: 4.395 MB / 0.5024 GB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5814, allocations: 9.188 kB / 0.5025 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01453/0.5959, allocations: 3.835 MB / 0.5062 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008853/0.6048, allocations: 2.481 MB / 0.5086 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005134/0.6054, allocations: 257.2 kB / 0.5089 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0028/0.6082, allocations: 329.8 kB / 0.5092 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/0.6413, allocations: 11.92 MB / 0.5208 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002593/0.6416, allocations: 39.61 kB / 0.5209 GB, free: 2.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002252/0.6439, allocations: 147.8 kB / 0.521 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004632/0.6486, allocations: 2.649 MB / 0.5236 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02712/0.6757, allocations: 11.03 MB / 0.5344 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07806/0.7538, allocations: 37.64 MB / 0.5711 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009674/0.7635, allocations: 4.397 MB / 0.5754 GB, free: 9.551 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.7651, allocations: 1.316 MB / 0.5767 GB, free: 8.016 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.7652, allocations: 64.44 kB / 0.5768 GB, free: 7.945 MB / 446.1 MB Notification: Performance of pre-optimization done (n=244): time 6.522e-06/0.7652, allocations: 0 / 0.5768 GB, free: 7.945 MB / 446.1 MB Notification: Performance of matching and sorting (n=265): time 0.0491/0.8143, allocations: 14.47 MB / 0.5909 GB, free: 9.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.08e-05/0.8144, allocations: 73.41 kB / 0.591 GB, free: 9.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0073/0.8217, allocations: 3.095 MB / 0.594 GB, free: 6.094 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007671/0.8225, allocations: 57.7 kB / 0.594 GB, free: 6.031 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003471/0.826, allocations: 3.108 MB / 0.5971 GB, free: 2.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001985/0.828, allocations: 0.979 MB / 0.598 GB, free: 1.887 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009161/0.829, allocations: 116 kB / 0.5981 GB, free: 1.773 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0008025/0.8298, allocations: 0.5662 MB / 0.5987 GB, free: 1.199 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005185/0.835, allocations: 2.374 MB / 0.601 GB, free: 14.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008167/0.8432, allocations: 5.65 MB / 0.6065 GB, free: 7.547 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006889/0.8501, allocations: 3.661 MB / 0.6101 GB, free: 3.879 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.8502, allocations: 32 kB / 0.6101 GB, free: 3.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=797) (initialization): time 0.02013/0.8704, allocations: 8.752 MB / 0.6187 GB, free: 11.08 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.8705, allocations: 52 kB / 0.6187 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002209/0.8708, allocations: 116 kB / 0.6188 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004078/0.8749, allocations: 1.068 MB / 0.6199 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005464/0.8804, allocations: 1.372 MB / 0.6212 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003151/0.8835, allocations: 2.506 MB / 0.6237 GB, free: 5.812 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005219/0.8888, allocations: 319.8 kB / 0.624 GB, free: 5.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/0.8905, allocations: 352 kB / 0.6243 GB, free: 5.156 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (744): * Single equations (assignments): 735 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.006824/0.8974, allocations: 2.37 MB / 0.6266 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008046/0.8982, allocations: 304.1 kB / 0.6269 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2797/1.178, allocations: 5.077 MB / 0.6319 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.626e-05/1.178, allocations: 48.95 kB / 0.6319 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/1.178, allocations: 3.438 kB / 0.6319 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.579e-05/1.178, allocations: 10.5 kB / 0.6319 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.199, allocations: 11.77 MB / 0.6434 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/1.199, allocations: 12.41 kB / 0.6434 GB, free: 141.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.201, allocations: 428.5 kB / 0.6438 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/1.204, allocations: 0.9013 MB / 0.6447 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002685/1.205, allocations: 67.86 kB / 0.6448 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/1.207, allocations: 2.298 MB / 0.647 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.207, allocations: 6.344 kB / 0.647 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.217, allocations: 8.207 MB / 0.6551 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/1.218, allocations: 343.6 kB / 0.6554 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004129/1.219, allocations: 56.91 kB / 0.6554 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.22, allocations: 142.8 kB / 0.6556 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/1.22, allocations: 158 kB / 0.6557 GB, free: 135.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.22, allocations: 79.98 kB / 0.6558 GB, free: 135.7 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002979/1.223, allocations: 1.894 MB / 0.6576 GB, free: 135.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.223, allocations: 0.8438 kB / 0.6576 GB, free: 135.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005709/1.229, allocations: 1.063 MB / 0.6587 GB, free: 135 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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.0006771/1.23, allocations: 210.2 kB / 0.6589 GB, free: 134.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01212/1.242, allocations: 6.235 MB / 0.665 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.242, allocations: 1.906 kB / 0.665 GB, free: 132.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004912/1.247, allocations: 2.595 MB / 0.6675 GB, free: 131.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.25, allocations: 472 kB / 0.668 GB, free: 131.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/1.271, allocations: 13.52 MB / 0.6812 GB, free: 124.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006061/1.277, allocations: 3.763 MB / 0.6848 GB, free: 123.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005098/1.282, allocations: 2.155 MB / 0.6869 GB, free: 122.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.284, allocations: 246.4 kB / 0.6872 GB, free: 122.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.072e-06/1.284, allocations: 4 kB / 0.6872 GB, free: 122.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06529/1.349, allocations: 33.99 MB / 0.7204 GB, free: 90.59 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1) Environment - environmentSimulation: