Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001182/0.001182, 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.417/1.417, allocations: 194.3 MB / 207.5 MB, free: 3.445 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.001599/0.001599, allocations: 113.3 kB / 252.6 MB, free: 4.809 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.2052/0.2052, allocations: 39.93 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.885e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09864, allocations: 54.87 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.5036, allocations: 97.89 MB / 0.5401 GB, free: 9.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.5039, allocations: 76.28 kB / 0.5401 GB, free: 9.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2297/0.7336, allocations: 90.66 MB / 0.6287 GB, free: 6.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.7337, allocations: 0 / 0.6287 GB, free: 6.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002107/0.7339, allocations: 76 kB / 0.6288 GB, free: 6.695 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01697/0.7509, allocations: 4.262 MB / 0.6329 GB, free: 2.367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.582e-05/0.7509, allocations: 12.03 kB / 0.6329 GB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01655/0.7675, allocations: 3.558 MB / 0.6364 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.7834, allocations: 4.666 MB / 0.641 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006431/0.7841, allocations: 336.6 kB / 0.6413 GB, free: 9.73 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003509/0.7876, allocations: 443.8 kB / 0.6417 GB, free: 9.297 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04178/0.8295, allocations: 10.95 MB / 0.6524 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/0.8298, allocations: 27.75 kB / 0.6524 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002219/0.832, allocations: 195.9 kB / 0.6526 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002719/0.8348, allocations: 1.228 MB / 0.6538 GB, free: 12.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03498/0.8698, allocations: 10.51 MB / 0.6641 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3858/1.256, allocations: 37.33 MB / 0.7005 GB, free: 93.79 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007644/1.263, allocations: 4.358 MB / 0.7048 GB, free: 92.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002823/1.266, allocations: 2.131 MB / 0.7069 GB, free: 92.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000994/1.267, allocations: 1.317 MB / 0.7081 GB, free: 91.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/1.267, allocations: 52.28 kB / 0.7082 GB, free: 91.42 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 5.431e-06/1.267, allocations: 0 / 0.7082 GB, free: 91.42 MB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.03312/1.3, allocations: 11.16 MB / 0.7191 GB, free: 89.67 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.301, allocations: 83.08 kB / 0.7192 GB, free: 89.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003994/1.305, allocations: 2.487 MB / 0.7216 GB, free: 88.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004922/1.305, allocations: 62.92 kB / 0.7217 GB, free: 88.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.307, allocations: 2.924 MB / 0.7245 GB, free: 86.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.308, allocations: 0.971 MB / 0.7255 GB, free: 86.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000295/1.308, allocations: 113.3 kB / 0.7256 GB, free: 85.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003007/1.309, allocations: 0.5595 MB / 0.7261 GB, free: 85.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003081/1.312, allocations: 2.278 MB / 0.7284 GB, free: 84.77 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004743/1.316, allocations: 5.419 MB / 0.7336 GB, free: 79.87 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004926/1.321, allocations: 3.577 MB / 0.7371 GB, free: 78.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.169e-05/1.321, allocations: 30.03 kB / 0.7372 GB, free: 78.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01748/1.339, allocations: 8.437 MB / 0.7454 GB, free: 76.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.19e-05/1.339, allocations: 51.12 kB / 0.7455 GB, free: 76.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/1.339, allocations: 113.5 kB / 0.7456 GB, free: 76.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003866/1.343, allocations: 1.059 MB / 0.7466 GB, free: 76.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/1.349, allocations: 1.331 MB / 0.7479 GB, free: 75.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/1.352, allocations: 2.475 MB / 0.7503 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005944/1.358, allocations: 310 kB / 0.7506 GB, free: 74.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/1.359, allocations: 340.6 kB / 0.7509 GB, free: 74.22 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 (719): * Single equations (assignments): 710 * 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.002334/1.362, allocations: 0.5215 MB / 0.7514 GB, free: 73.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009814/1.363, allocations: 284.5 kB / 0.7517 GB, free: 73.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.374, allocations: 5.022 MB / 0.7566 GB, free: 71.81 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/1.374, allocations: 42.95 kB / 0.7567 GB, free: 71.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.374, allocations: 0 / 0.7567 GB, free: 71.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.822e-05/1.374, allocations: 15.39 kB / 0.7567 GB, free: 71.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02592/1.4, allocations: 11.57 MB / 0.768 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.173e-05/1.4, allocations: 11.88 kB / 0.768 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/1.402, allocations: 428.2 kB / 0.7684 GB, free: 61.77 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003315/1.405, allocations: 0.9021 MB / 0.7693 GB, free: 61.21 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004965/1.406, allocations: 58.84 kB / 0.7693 GB, free: 61.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/1.408, allocations: 2.28 MB / 0.7716 GB, free: 59.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/1.408, allocations: 11.94 kB / 0.7716 GB, free: 59.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.423, allocations: 8.088 MB / 0.7795 GB, free: 51.57 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/1.425, allocations: 328.6 kB / 0.7798 GB, free: 51.23 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/1.426, allocations: 58.44 kB / 0.7798 GB, free: 51.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.429, allocations: 129.8 kB / 0.78 GB, free: 51.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004539/1.429, allocations: 164.2 kB / 0.7801 GB, free: 50.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002682/1.43, allocations: 71.89 kB / 0.7802 GB, free: 50.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004387/1.434, allocations: 1.691 MB / 0.7818 GB, free: 49.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.623e-06/1.434, allocations: 0 / 0.7818 GB, free: 49.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007622/1.442, allocations: 1.01 MB / 0.7828 GB, free: 48.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete 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.0008518/1.443, allocations: 195.5 kB / 0.783 GB, free: 48.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0105/1.453, allocations: 6.061 MB / 0.7889 GB, free: 42.73 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.453, allocations: 0 / 0.7889 GB, free: 42.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004272/1.457, allocations: 2.572 MB / 0.7914 GB, free: 40.43 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/1.46, allocations: 402.1 kB / 0.7918 GB, free: 40.11 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/1.482, allocations: 9.309 MB / 0.8009 GB, free: 31.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/1.487, allocations: 3.591 MB / 0.8044 GB, free: 28.97 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004622/1.491, allocations: 2.084 MB / 0.8065 GB, free: 27.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/1.492, allocations: 235.4 kB / 0.8067 GB, free: 26.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/1.492, allocations: 8 kB / 0.8067 GB, free: 26.85 MB / 474.7 MB Notification: Performance of Templates: time 0.05547/1.548, allocations: 31.63 MB / 0.8376 GB, free: 11.77 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)