Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001649/0.001649, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.346/1.346, allocations: 170.7 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001699/0.001699, allocations: 107.5 kB / 218 MB, free: 8.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1695/0.1695, allocations: 37.99 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.718e-05, allocations: 3.781 kB / 350 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1, allocations: 48.73 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4308/0.5309, allocations: 90.5 MB / 489.2 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5312, allocations: 76.8 kB / 489.3 MB, free: 17.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2123/0.7435, allocations: 89.38 MB / 0.5651 GB, free: 8.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.7436, allocations: 0 / 0.5651 GB, free: 8.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002248/0.7438, allocations: 80 kB / 0.5652 GB, free: 8.355 MB / 378.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.01886/0.7627, allocations: 4.29 MB / 0.5694 GB, free: 4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7627, allocations: 12.03 kB / 0.5694 GB, free: 3.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/0.7801, allocations: 3.585 MB / 0.5729 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.7944, allocations: 4.686 MB / 0.5775 GB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.7947, allocations: 144 kB / 0.5776 GB, free: 11.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/0.7976, allocations: 263.9 kB / 0.5779 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01727/0.8149, allocations: 7.929 MB / 0.5856 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/0.8432, allocations: 10.36 MB / 0.5957 GB, free: 8.477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002737/0.8435, allocations: 35.66 kB / 0.5958 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002538/0.846, allocations: 19.95 kB / 0.5958 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/0.8483, allocations: 1.251 MB / 0.597 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.382/1.23, allocations: 35.35 MB / 0.6315 GB, free: 81.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00602/1.236, allocations: 4.095 MB / 0.6355 GB, free: 80.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/1.24, allocations: 2.165 MB / 0.6376 GB, free: 80.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/1.241, allocations: 1.32 MB / 0.6389 GB, free: 79.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/1.241, allocations: 52.25 kB / 0.639 GB, free: 79.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 7.084e-06/1.241, allocations: 3.75 kB / 0.639 GB, free: 79.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=258): time 0.02651/1.268, allocations: 10.5 MB / 0.6492 GB, free: 78.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/1.268, allocations: 75.06 kB / 0.6493 GB, free: 78.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/1.272, allocations: 2.405 MB / 0.6517 GB, free: 78.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005371/1.272, allocations: 29.64 kB / 0.6517 GB, free: 78.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.274, allocations: 3.038 MB / 0.6547 GB, free: 76.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.275, allocations: 0.9249 MB / 0.6556 GB, free: 76.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/1.275, allocations: 0 / 0.6556 GB, free: 76.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000301/1.276, allocations: 0.5757 MB / 0.6561 GB, free: 75.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002671/1.278, allocations: 2.193 MB / 0.6583 GB, free: 75.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003869/1.282, allocations: 5.567 MB / 0.6637 GB, free: 71.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004431/1.287, allocations: 3.547 MB / 0.6672 GB, free: 71.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.363e-05/1.287, allocations: 38.06 kB / 0.6672 GB, free: 71.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01352/1.3, allocations: 7.897 MB / 0.6749 GB, free: 70.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/1.3, allocations: 54.28 kB / 0.675 GB, free: 70.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001296/1.3, allocations: 125.3 kB / 0.6751 GB, free: 70.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003373/1.304, allocations: 1.031 MB / 0.6761 GB, free: 70.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004697/1.308, allocations: 1.398 MB / 0.6775 GB, free: 70.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.311, allocations: 2.401 MB / 0.6798 GB, free: 68.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/1.315, allocations: 214.5 kB / 0.68 GB, free: 68.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.316, allocations: 353.7 kB / 0.6803 GB, free: 68.56 MB / 426.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.001707/1.318, allocations: 417.6 kB / 0.6807 GB, free: 68.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006623/1.319, allocations: 279.2 kB / 0.681 GB, free: 68.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008955/1.328, allocations: 4.726 MB / 0.6856 GB, free: 66.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.483e-05/1.328, allocations: 52.58 kB / 0.6857 GB, free: 66.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/1.328, allocations: 0 / 0.6857 GB, free: 66.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/1.328, allocations: 7.688 kB / 0.6857 GB, free: 66.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/1.351, allocations: 10.3 MB / 0.6957 GB, free: 63.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.351, allocations: 15.28 kB / 0.6958 GB, free: 63.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/1.353, allocations: 417.9 kB / 0.6962 GB, free: 63.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002812/1.356, allocations: 0.598 MB / 0.6967 GB, free: 62.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003297/1.357, allocations: 24.78 kB / 0.6968 GB, free: 62.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001824/1.358, allocations: 2.007 MB / 0.6987 GB, free: 61.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.358, allocations: 15.62 kB / 0.6987 GB, free: 61.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/1.37, allocations: 7.602 MB / 0.7062 GB, free: 56.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.371, allocations: 324.2 kB / 0.7065 GB, free: 56.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008934/1.372, allocations: 16 kB / 0.7065 GB, free: 56.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/1.374, allocations: 97.77 kB / 0.7066 GB, free: 56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/1.374, allocations: 160.4 kB / 0.7067 GB, free: 55.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.374, allocations: 79.19 kB / 0.7068 GB, free: 55.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003417/1.378, allocations: 1.571 MB / 0.7083 GB, free: 54.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.378, allocations: 0 / 0.7083 GB, free: 54.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007539/1.385, allocations: 0.8582 MB / 0.7092 GB, free: 53.61 MB / 426.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.0006586/1.386, allocations: 169.4 kB / 0.7093 GB, free: 53.45 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1987:5-1989: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.1+maint.om/Mechanics/MultiBody/Joints.mo:1984:5-1986: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.009316/1.395, allocations: 5.745 MB / 0.715 GB, free: 48.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.395, allocations: 3.828 kB / 0.715 GB, free: 48.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003663/1.399, allocations: 2.309 MB / 0.7172 GB, free: 46.19 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/1.401, allocations: 283.6 kB / 0.7175 GB, free: 45.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.421, allocations: 9.209 MB / 0.7265 GB, free: 37.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004245/1.426, allocations: 3.601 MB / 0.73 GB, free: 34.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004667/1.43, allocations: 2.184 MB / 0.7321 GB, free: 33.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/1.431, allocations: 222.9 kB / 0.7323 GB, free: 33.32 MB / 426.7 MB Notification: Performance of SimCode: time 8.21e-07/1.431, allocations: 4 kB / 0.7323 GB, free: 33.32 MB / 426.7 MB Notification: Performance of Templates: time 0.04874/1.48, allocations: 27.41 MB / 0.7591 GB, free: 12.44 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2.pipe 2>&1)