Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001513/0.001513, allocations: 182.2 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.001531/0.001531, allocations: 109.9 kB / 252.6 MB, free: 4.824 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.1921/0.1921, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.302e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.117, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.5996, allocations: 101.6 MB / 0.5437 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.6, allocations: 78.02 kB / 0.5438 GB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2481/0.8481, allocations: 97.52 MB / 0.639 GB, free: 12.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.917e-06/0.8482, allocations: 0 / 0.639 GB, free: 12.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002915/0.8485, allocations: 91.94 kB / 0.6391 GB, free: 12.03 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02286/0.8714, allocations: 4.636 MB / 0.6436 GB, free: 7.328 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.8714, allocations: 12.03 kB / 0.6436 GB, free: 7.316 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/0.8888, allocations: 3.62 MB / 0.6472 GB, free: 3.684 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/0.9048, allocations: 4.897 MB / 0.652 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006707/0.9055, allocations: 378.1 kB / 0.6523 GB, free: 14.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/0.9092, allocations: 495.8 kB / 0.6528 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03608/0.9453, allocations: 12.11 MB / 0.6646 GB, free: 1.234 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003389/0.9457, allocations: 39.67 kB / 0.6646 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002984/0.9487, allocations: 223.8 kB / 0.6649 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3599/1.309, allocations: 1.31 MB / 0.6661 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02953/1.338, allocations: 11.34 MB / 0.6772 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06407/1.402, allocations: 41.9 MB / 0.7181 GB, free: 87.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009496/1.412, allocations: 4.908 MB / 0.7229 GB, free: 85.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003154/1.415, allocations: 2.354 MB / 0.7252 GB, free: 84.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009355/1.424, allocations: 6.557 MB / 0.7316 GB, free: 80.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.425, allocations: 52.12 kB / 0.7317 GB, free: 80.51 MB / 474.7 MB Notification: Performance of pre-optimization done (n=228): time 4.909e-06/1.425, allocations: 0 / 0.7317 GB, free: 80.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=237): time 0.03159/1.456, allocations: 13.61 MB / 0.745 GB, free: 76.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.456, allocations: 72.28 kB / 0.745 GB, free: 76.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004526/1.461, allocations: 2.814 MB / 0.7478 GB, free: 75.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003701/1.461, allocations: 60.56 kB / 0.7478 GB, free: 75.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/1.463, allocations: 3.275 MB / 0.751 GB, free: 72.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009345/1.464, allocations: 0.8944 MB / 0.7519 GB, free: 72.16 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/1.464, allocations: 115.7 kB / 0.752 GB, free: 72.07 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003659/1.465, allocations: 0.5678 MB / 0.7526 GB, free: 71.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/1.468, allocations: 2.331 MB / 0.7549 GB, free: 70.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004371/1.472, allocations: 5.691 MB / 0.7604 GB, free: 64.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/1.477, allocations: 3.68 MB / 0.764 GB, free: 61.54 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.161e-05/1.477, allocations: 36 kB / 0.764 GB, free: 61.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01416/1.491, allocations: 8.819 MB / 0.7727 GB, free: 53.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.485e-05/1.491, allocations: 59.75 kB / 0.7727 GB, free: 53.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/1.491, allocations: 116 kB / 0.7728 GB, free: 53.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/1.494, allocations: 1.16 MB / 0.774 GB, free: 52.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/1.499, allocations: 1.373 MB / 0.7753 GB, free: 51.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004784/1.504, allocations: 4.58 MB / 0.7798 GB, free: 47.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004764/1.509, allocations: 325.7 kB / 0.7801 GB, free: 47.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009544/1.509, allocations: 351.2 kB / 0.7804 GB, free: 47.02 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (742): * Single equations (assignments): 734 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0009996/1.51, allocations: 0.5468 MB / 0.7809 GB, free: 46.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00056/1.511, allocations: 300.1 kB / 0.7812 GB, free: 46.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006478/1.518, allocations: 4.394 MB / 0.7855 GB, free: 42.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/1.518, allocations: 50.08 kB / 0.7856 GB, free: 42.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.518, allocations: 0 / 0.7856 GB, free: 42.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/1.518, allocations: 9.891 kB / 0.7856 GB, free: 42.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/1.536, allocations: 10.42 MB / 0.7958 GB, free: 33.76 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.536, allocations: 7.938 kB / 0.7958 GB, free: 33.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.537, allocations: 385.9 kB / 0.7961 GB, free: 33.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/1.539, allocations: 0.6693 MB / 0.7968 GB, free: 33 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/1.539, allocations: 50.97 kB / 0.7968 GB, free: 32.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/1.541, allocations: 2.408 MB / 0.7992 GB, free: 30.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.541, allocations: 16 kB / 0.7992 GB, free: 30.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008622/1.55, allocations: 7.116 MB / 0.8061 GB, free: 24.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.551, allocations: 355.3 kB / 0.8065 GB, free: 23.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/1.552, allocations: 50.72 kB / 0.8065 GB, free: 23.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.553, allocations: 141 kB / 0.8067 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.553, allocations: 130.9 kB / 0.8068 GB, free: 23.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/1.553, allocations: 67.38 kB / 0.8069 GB, free: 23.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002948/1.556, allocations: 1.897 MB / 0.8087 GB, free: 21.83 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-07/1.556, allocations: 4 kB / 0.8087 GB, free: 21.83 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005284/1.562, allocations: 1.067 MB / 0.8098 GB, free: 20.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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.000529/1.562, allocations: 188.9 kB / 0.8099 GB, free: 20.59 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008848/1.571, allocations: 5.744 MB / 0.8155 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.571, allocations: 4 kB / 0.8156 GB, free: 15.37 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003595/1.575, allocations: 2.39 MB / 0.8179 GB, free: 13.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/1.577, allocations: 411.5 kB / 0.8183 GB, free: 12.87 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/1.596, allocations: 9.444 MB / 0.8275 GB, free: 4.043 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/1.6, allocations: 3.826 MB / 0.8312 GB, free: 204 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005297/1.605, allocations: 2.058 MB / 0.8332 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/1.606, allocations: 239.4 kB / 0.8335 GB, free: 13.92 MB / 490.7 MB Notification: Performance of SimCode: time 1.363e-06/1.606, allocations: 0 / 0.8335 GB, free: 13.92 MB / 490.7 MB Notification: Performance of Templates: time 0.5189/2.125, allocations: 34.14 MB / 0.8668 GB, free: 106.5 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)