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.01129/0.01129, allocations: 174.7 kB / 15.12 MB, free: 5.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.781/1.781, allocations: 194.5 MB / 210.3 MB, free: 7.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.001773/0.001774, allocations: 120.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2287/0.2287, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004562, allocations: 14.84 kB / 406.2 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1404, allocations: 54.87 MB / 461 MB, free: 3.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.5931, allocations: 97.99 MB / 0.5459 GB, free: 21.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.5934, allocations: 80.44 kB / 0.546 GB, free: 21.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2043/0.7977, allocations: 90.94 MB / 0.6348 GB, free: 8.816 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.7978, allocations: 0 / 0.6348 GB, free: 8.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001504/0.798, allocations: 79.98 kB / 0.6349 GB, free: 8.738 MB / 410.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.01661/0.8146, allocations: 4.437 MB / 0.6392 GB, free: 4.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.8146, allocations: 15.97 kB / 0.6392 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.8307, allocations: 3.566 MB / 0.6427 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01631/0.847, allocations: 4.718 MB / 0.6473 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000686/0.8478, allocations: 340.8 kB / 0.6476 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003629/0.8515, allocations: 443.8 kB / 0.6481 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02777/0.8792, allocations: 11.49 MB / 0.6593 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002924/0.8796, allocations: 27.75 kB / 0.6593 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002867/0.8825, allocations: 199.9 kB / 0.6595 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002641/0.8851, allocations: 1.247 MB / 0.6607 GB, free: 13.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02586/0.911, allocations: 11.1 MB / 0.6715 GB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07015/0.9812, allocations: 38.02 MB / 0.7087 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009792/0.9911, allocations: 4.686 MB / 0.7133 GB, free: 6.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.9926, allocations: 1.323 MB / 0.7146 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.9926, allocations: 52.56 kB / 0.7146 GB, free: 5.102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 9.438e-06/0.9927, allocations: 0 / 0.7146 GB, free: 5.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.3417/1.334, allocations: 14.33 MB / 0.7286 GB, free: 119 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/1.335, allocations: 75.72 kB / 0.7287 GB, free: 119 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005482/1.34, allocations: 2.503 MB / 0.7311 GB, free: 118.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006218/1.341, allocations: 62.5 kB / 0.7312 GB, free: 118.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002797/1.343, allocations: 2.953 MB / 0.7341 GB, free: 117.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.345, allocations: 0.9361 MB / 0.735 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/1.346, allocations: 112.7 kB / 0.7351 GB, free: 116.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004424/1.346, allocations: 0.5534 MB / 0.7356 GB, free: 116.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0037/1.35, allocations: 2.276 MB / 0.7378 GB, free: 116.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004576/1.354, allocations: 5.407 MB / 0.7431 GB, free: 112.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004456/1.359, allocations: 3.524 MB / 0.7466 GB, free: 112.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.743e-05/1.359, allocations: 31.88 kB / 0.7466 GB, free: 112.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01492/1.374, allocations: 8.383 MB / 0.7548 GB, free: 111.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/1.374, allocations: 56.53 kB / 0.7548 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/1.374, allocations: 114 kB / 0.7549 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003335/1.377, allocations: 1.032 MB / 0.7559 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/1.382, allocations: 1.315 MB / 0.7572 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/1.385, allocations: 2.491 MB / 0.7597 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005072/1.39, allocations: 316.4 kB / 0.76 GB, free: 110.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/1.391, allocations: 331.8 kB / 0.7603 GB, free: 110.2 MB / 490.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 () * Number of clocked 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.005984/1.397, allocations: 2.268 MB / 0.7625 GB, free: 109.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008644/1.398, allocations: 287.3 kB / 0.7628 GB, free: 109.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008322/1.406, allocations: 4.901 MB / 0.7676 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.44e-05/1.406, allocations: 48.92 kB / 0.7676 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.406, allocations: 0 / 0.7676 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/1.406, allocations: 11.2 kB / 0.7676 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02628/1.433, allocations: 11.5 MB / 0.7788 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.433, allocations: 7.219 kB / 0.7789 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/1.434, allocations: 415.3 kB / 0.7793 GB, free: 105.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002576/1.437, allocations: 0.61 MB / 0.7798 GB, free: 105.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003805/1.437, allocations: 54.28 kB / 0.7799 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.439, allocations: 2.094 MB / 0.7819 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.968e-06/1.439, allocations: 18.36 kB / 0.782 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.45, allocations: 7.722 MB / 0.7895 GB, free: 99.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.451, allocations: 337.3 kB / 0.7898 GB, free: 99.67 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000545/1.452, allocations: 53.44 kB / 0.7899 GB, free: 99.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/1.453, allocations: 130 kB / 0.79 GB, free: 99.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/1.453, allocations: 155.9 kB / 0.7901 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/1.453, allocations: 82.12 kB / 0.7902 GB, free: 99.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002552/1.456, allocations: 1.713 MB / 0.7919 GB, free: 98.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.074e-06/1.456, allocations: 0 / 0.7919 GB, free: 98.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005679/1.462, allocations: 0.9942 MB / 0.7929 GB, free: 98.85 MB / 490.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 () * Number of clocked 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.0006292/1.462, allocations: 196.2 kB / 0.7931 GB, free: 98.71 MB / 490.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 can't be selected as a state. [/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 can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009885/1.472, allocations: 5.962 MB / 0.7989 GB, free: 95.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/1.472, allocations: 0 / 0.7989 GB, free: 95.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004103/1.476, allocations: 2.377 MB / 0.8012 GB, free: 93.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.479, allocations: 391.4 kB / 0.8016 GB, free: 93.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.504, allocations: 12.92 MB / 0.8142 GB, free: 81.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005013/1.509, allocations: 3.604 MB / 0.8177 GB, free: 78.78 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004908/1.514, allocations: 2.069 MB / 0.8197 GB, free: 77.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007074/1.515, allocations: 226.2 kB / 0.82 GB, free: 77.25 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/1.515, allocations: 4 kB / 0.82 GB, free: 77.25 MB / 490.7 MB Notification: Performance of Templates: time 0.0753/1.59, allocations: 30.7 MB / 0.8499 GB, free: 55.07 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)