Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001094/0.001094, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.571/1.571, allocations: 194.3 MB / 202.4 MB, free: 8.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001798/0.001798, allocations: 115.7 kB / 247.4 MB, free: 6.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2108/0.2108, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.58e-05/1.595e-05, allocations: 7.984 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.4987, allocations: 97.23 MB / 0.5326 GB, free: 3.023 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.4991, allocations: 72.47 kB / 0.5327 GB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2235/0.7226, allocations: 89.42 MB / 0.62 GB, free: 1.305 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.7227, allocations: 4 kB / 0.62 GB, free: 1.301 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001902/0.7229, allocations: 80 kB / 0.6201 GB, free: 1.223 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.01528/0.7381, allocations: 4.282 MB / 0.6243 GB, free: 12.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.7382, allocations: 12.03 kB / 0.6243 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.7542, allocations: 3.582 MB / 0.6278 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0121/0.7664, allocations: 4.694 MB / 0.6324 GB, free: 4.523 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.7667, allocations: 144 kB / 0.6325 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.7692, allocations: 255.9 kB / 0.6328 GB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01535/0.7845, allocations: 7.941 MB / 0.6405 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.8071, allocations: 10.36 MB / 0.6506 GB, free: 1.344 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.8073, allocations: 35.7 kB / 0.6507 GB, free: 1.309 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/0.8089, allocations: 12 kB / 0.6507 GB, free: 1.297 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/0.8108, allocations: 1.259 MB / 0.6519 GB, free: 32 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3489/1.16, allocations: 35.34 MB / 0.6864 GB, free: 99.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004869/1.165, allocations: 4.099 MB / 0.6904 GB, free: 97.89 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003131/1.168, allocations: 2.166 MB / 0.6925 GB, free: 97.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/1.169, allocations: 1.323 MB / 0.6938 GB, free: 96.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/1.169, allocations: 56.16 kB / 0.6939 GB, free: 96.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=246): time 5.64e-06/1.169, allocations: 0 / 0.6939 GB, free: 96.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=258): time 0.02331/1.192, allocations: 10.5 MB / 0.7041 GB, free: 95.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/1.192, allocations: 77.09 kB / 0.7042 GB, free: 95.65 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003507/1.196, allocations: 2.406 MB / 0.7066 GB, free: 95.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003413/1.196, allocations: 25.7 kB / 0.7066 GB, free: 95.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001452/1.198, allocations: 3.039 MB / 0.7096 GB, free: 93.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007135/1.199, allocations: 0.9238 MB / 0.7105 GB, free: 93.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002006/1.199, allocations: 0 / 0.7105 GB, free: 93.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/1.199, allocations: 0.5743 MB / 0.711 GB, free: 92.83 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/1.201, allocations: 2.197 MB / 0.7132 GB, free: 92.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003746/1.205, allocations: 5.562 MB / 0.7186 GB, free: 88.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004451/1.21, allocations: 3.556 MB / 0.7221 GB, free: 88.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.258e-05/1.21, allocations: 34.59 kB / 0.7221 GB, free: 88.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01329/1.223, allocations: 7.884 MB / 0.7298 GB, free: 86.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/1.223, allocations: 59.78 kB / 0.7299 GB, free: 86.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/1.223, allocations: 119.5 kB / 0.73 GB, free: 86.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003524/1.227, allocations: 1.039 MB / 0.731 GB, free: 86.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/1.231, allocations: 1.402 MB / 0.7324 GB, free: 85.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.233, allocations: 2.398 MB / 0.7347 GB, free: 84.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/1.237, allocations: 212.7 kB / 0.7349 GB, free: 84.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005015/1.238, allocations: 356.5 kB / 0.7352 GB, free: 84.42 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * Number of states: 0 () * Number of discrete variables: 21 (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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 748 * 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 {(3,100.0%),(2,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.0007311/1.238, allocations: 418.3 kB / 0.7356 GB, free: 84.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/1.239, allocations: 278.1 kB / 0.7359 GB, free: 83.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007996/1.247, allocations: 4.738 MB / 0.7405 GB, free: 82.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/1.247, allocations: 49.39 kB / 0.7406 GB, free: 82.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.247, allocations: 0 / 0.7406 GB, free: 82.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.247, allocations: 10.73 kB / 0.7406 GB, free: 82.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.264, allocations: 10.28 MB / 0.7506 GB, free: 78.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.264, allocations: 11.91 kB / 0.7506 GB, free: 78.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/1.266, allocations: 414.5 kB / 0.751 GB, free: 78.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/1.268, allocations: 0.5956 MB / 0.7516 GB, free: 78.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002194/1.269, allocations: 25.23 kB / 0.7516 GB, free: 78.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/1.27, allocations: 2.023 MB / 0.7536 GB, free: 77.42 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.271, allocations: 15.84 kB / 0.7536 GB, free: 77.41 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009675/1.28, allocations: 7.612 MB / 0.7611 GB, free: 70.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008057/1.281, allocations: 324 kB / 0.7614 GB, free: 70.46 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006258/1.282, allocations: 16 kB / 0.7614 GB, free: 70.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001537/1.283, allocations: 96.06 kB / 0.7615 GB, free: 70.39 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002718/1.284, allocations: 162.5 kB / 0.7616 GB, free: 70.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/1.284, allocations: 79.17 kB / 0.7617 GB, free: 70.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00282/1.287, allocations: 1.568 MB / 0.7632 GB, free: 68.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.287, allocations: 3.938 kB / 0.7632 GB, free: 68.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005437/1.292, allocations: 0.8682 MB / 0.7641 GB, free: 67.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 200 * 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.0005548/1.293, allocations: 162.2 kB / 0.7642 GB, free: 67.82 MB / 474.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1955:5-1957:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1952:5-1954:161:writable] Warning: Variable $DER.freeMotionScalarInit.angle_1 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.00896/1.302, allocations: 5.744 MB / 0.7699 GB, free: 62.64 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.302, allocations: 4 kB / 0.7699 GB, free: 62.63 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003591/1.305, allocations: 2.306 MB / 0.7721 GB, free: 60.53 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.307, allocations: 283.6 kB / 0.7724 GB, free: 60.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/1.327, allocations: 9.202 MB / 0.7814 GB, free: 52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004965/1.332, allocations: 3.597 MB / 0.7849 GB, free: 49.23 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005297/1.337, allocations: 2.187 MB / 0.787 GB, free: 47.85 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008887/1.338, allocations: 231.2 kB / 0.7872 GB, free: 47.63 MB / 474.7 MB Notification: Performance of SimCode: time 1.433e-06/1.338, allocations: 0 / 0.7872 GB, free: 47.63 MB / 474.7 MB Notification: Performance of Templates: time 0.04877/1.387, allocations: 27.41 MB / 0.814 GB, free: 25.2 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)