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.001345/0.001345, allocations: 181.9 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.513/1.513, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001668/0.001668, allocations: 120.1 kB / 252.6 MB, free: 4.797 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.1915/0.1915, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.547e-05/4.549e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.6039, allocations: 97.89 MB / 0.5401 GB, free: 9.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6043, allocations: 78.33 kB / 0.5401 GB, free: 9.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2636/0.8678, allocations: 91.01 MB / 0.629 GB, free: 6.414 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.8679, allocations: 0 / 0.629 GB, free: 6.414 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002917/0.8682, allocations: 76 kB / 0.6291 GB, free: 6.34 MB / 442.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.02543/0.8937, allocations: 4.297 MB / 0.6333 GB, free: 1.977 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.8938, allocations: 12.03 kB / 0.6333 GB, free: 1.965 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02553/0.9193, allocations: 3.578 MB / 0.6368 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02162/0.941, allocations: 4.702 MB / 0.6414 GB, free: 9.617 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006639/0.9417, allocations: 340.8 kB / 0.6417 GB, free: 9.281 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004357/0.9461, allocations: 447.8 kB / 0.6421 GB, free: 8.844 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03482/0.981, allocations: 11.39 MB / 0.6533 GB, free: 12.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001894/0.9813, allocations: 35.64 kB / 0.6533 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001541/0.9828, allocations: 199.9 kB / 0.6535 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002005/0.9848, allocations: 1.251 MB / 0.6547 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/1.011, allocations: 10.94 MB / 0.6654 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4283/1.439, allocations: 38.02 MB / 0.7025 GB, free: 94.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007528/1.447, allocations: 4.653 MB / 0.7071 GB, free: 92.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002583/1.449, allocations: 2.216 MB / 0.7092 GB, free: 92.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009565/1.45, allocations: 1.326 MB / 0.7105 GB, free: 91.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/1.45, allocations: 51.81 kB / 0.7106 GB, free: 91.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 4.91e-06/1.45, allocations: 0 / 0.7106 GB, free: 91.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.03295/1.483, allocations: 11.26 MB / 0.7216 GB, free: 88.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/1.483, allocations: 78.14 kB / 0.7217 GB, free: 88.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/1.487, allocations: 2.484 MB / 0.7241 GB, free: 87.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003532/1.488, allocations: 57.59 kB / 0.7241 GB, free: 87.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00156/1.489, allocations: 2.953 MB / 0.727 GB, free: 85.84 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008733/1.49, allocations: 0.939 MB / 0.7279 GB, free: 85.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/1.49, allocations: 110.8 kB / 0.728 GB, free: 85.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002946/1.491, allocations: 0.5551 MB / 0.7286 GB, free: 84.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/1.493, allocations: 2.232 MB / 0.7308 GB, free: 83.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004117/1.497, allocations: 5.36 MB / 0.736 GB, free: 79.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004262/1.502, allocations: 3.514 MB / 0.7394 GB, free: 78.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-05/1.502, allocations: 36.81 kB / 0.7395 GB, free: 78.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01417/1.516, allocations: 8.29 MB / 0.7476 GB, free: 75.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.907e-05/1.516, allocations: 51.09 kB / 0.7476 GB, free: 75.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/1.516, allocations: 114.1 kB / 0.7477 GB, free: 75.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003492/1.52, allocations: 1.034 MB / 0.7487 GB, free: 75.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/1.524, allocations: 1.309 MB / 0.75 GB, free: 75.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002471/1.527, allocations: 2.466 MB / 0.7524 GB, free: 73.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004407/1.531, allocations: 321.7 kB / 0.7527 GB, free: 73.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006789/1.532, allocations: 327.6 kB / 0.753 GB, free: 73.52 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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 (710): * Single equations (assignments): 701 * 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.0008265/1.533, allocations: 0.5213 MB / 0.7535 GB, free: 73.08 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004255/1.533, allocations: 284.9 kB / 0.7538 GB, free: 72.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008508/1.542, allocations: 4.854 MB / 0.7586 GB, free: 70.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.863e-05/1.542, allocations: 44.55 kB / 0.7586 GB, free: 70.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/1.542, allocations: 8 kB / 0.7586 GB, free: 70.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/1.542, allocations: 10.41 kB / 0.7586 GB, free: 70.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.562, allocations: 11.48 MB / 0.7698 GB, free: 60.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/1.562, allocations: 8.969 kB / 0.7698 GB, free: 60.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/1.564, allocations: 409.5 kB / 0.7702 GB, free: 60.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.567, allocations: 0.6093 MB / 0.7708 GB, free: 60.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/1.567, allocations: 56.81 kB / 0.7709 GB, free: 60.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/1.569, allocations: 2.068 MB / 0.7729 GB, free: 58.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.569, allocations: 19.89 kB / 0.7729 GB, free: 58.17 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009676/1.579, allocations: 7.662 MB / 0.7804 GB, free: 50.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.58, allocations: 328.4 kB / 0.7807 GB, free: 50.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/1.58, allocations: 52.72 kB / 0.7808 GB, free: 50.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.581, allocations: 122.8 kB / 0.7809 GB, free: 50.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/1.582, allocations: 166 kB / 0.781 GB, free: 50.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.582, allocations: 75.14 kB / 0.7811 GB, free: 50.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002527/1.584, allocations: 1.686 MB / 0.7828 GB, free: 48.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.584, allocations: 0 / 0.7828 GB, free: 48.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005063/1.589, allocations: 0.9902 MB / 0.7837 GB, free: 47.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (207): * Single equations (assignments): 198 * 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.000591/1.59, allocations: 195.3 kB / 0.7839 GB, free: 47.64 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.009029/1.599, allocations: 5.88 MB / 0.7896 GB, free: 42.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.599, allocations: 0 / 0.7896 GB, free: 42.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003439/1.603, allocations: 2.361 MB / 0.792 GB, free: 40.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/1.605, allocations: 389.8 kB / 0.7923 GB, free: 39.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.621, allocations: 9.251 MB / 0.8014 GB, free: 31.46 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/1.625, allocations: 3.601 MB / 0.8049 GB, free: 28.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004678/1.629, allocations: 2.067 MB / 0.8069 GB, free: 26.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007512/1.63, allocations: 223.4 kB / 0.8071 GB, free: 26.27 MB / 474.7 MB Notification: Performance of SimCode: time 9.82e-07/1.63, allocations: 0 / 0.8071 GB, free: 26.27 MB / 474.7 MB Notification: Performance of Templates: time 0.06061/1.691, allocations: 30.72 MB / 0.8371 GB, free: 12.11 MB / 490.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)