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.006527/0.006527, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.425/1.425, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001684/0.001684, allocations: 111.3 kB / 226.2 MB, free: 10.11 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.4187/0.4187, allocations: 38.04 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003932/0.0003934, allocations: 8 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 48.71 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5479, allocations: 91.25 MB / 0.491 GB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5481, allocations: 77.41 kB / 0.4911 GB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2244/0.7725, allocations: 90.91 MB / 0.5799 GB, free: 6.371 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7726, allocations: 4 kB / 0.5799 GB, free: 6.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001451/0.7728, allocations: 83.94 kB / 0.58 GB, free: 6.285 MB / 426.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.01743/0.7902, allocations: 4.437 MB / 0.5843 GB, free: 1.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7903, allocations: 12.03 kB / 0.5843 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2883/1.079, allocations: 3.567 MB / 0.5878 GB, free: 80.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/1.094, allocations: 4.715 MB / 0.5924 GB, free: 80.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/1.094, allocations: 337.9 kB / 0.5927 GB, free: 80.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/1.097, allocations: 443.9 kB / 0.5932 GB, free: 80.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02746/1.125, allocations: 11.5 MB / 0.6044 GB, free: 79.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/1.125, allocations: 21.09 kB / 0.6044 GB, free: 79.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007226/1.125, allocations: 198.9 kB / 0.6046 GB, free: 79.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001674/1.127, allocations: 1.255 MB / 0.6058 GB, free: 79.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/1.149, allocations: 11.09 MB / 0.6167 GB, free: 78.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05712/1.206, allocations: 38.04 MB / 0.6538 GB, free: 58.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00847/1.215, allocations: 4.688 MB / 0.6584 GB, free: 56.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001244/1.216, allocations: 1.315 MB / 0.6597 GB, free: 55.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/1.216, allocations: 55.91 kB / 0.6597 GB, free: 55.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.042e-06/1.216, allocations: 0 / 0.6597 GB, free: 55.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.03649/1.252, allocations: 14.34 MB / 0.6737 GB, free: 51.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/1.253, allocations: 75.81 kB / 0.6738 GB, free: 50.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005217/1.258, allocations: 2.504 MB / 0.6762 GB, free: 50 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004819/1.258, allocations: 60.08 kB / 0.6763 GB, free: 49.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00196/1.26, allocations: 2.952 MB / 0.6792 GB, free: 47.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.261, allocations: 0.9373 MB / 0.6801 GB, free: 47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/1.262, allocations: 120.4 kB / 0.6802 GB, free: 46.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/1.262, allocations: 0.5501 MB / 0.6807 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002852/1.265, allocations: 2.269 MB / 0.683 GB, free: 45.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00451/1.27, allocations: 5.41 MB / 0.6882 GB, free: 40.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004671/1.274, allocations: 3.524 MB / 0.6917 GB, free: 39.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.314e-05/1.274, allocations: 31.78 kB / 0.6917 GB, free: 39.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01769/1.292, allocations: 8.385 MB / 0.6999 GB, free: 33.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.145e-05/1.292, allocations: 55.95 kB / 0.7 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/1.292, allocations: 108.8 kB / 0.7001 GB, free: 33.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003135/1.295, allocations: 1.034 MB / 0.7011 GB, free: 32.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/1.3, allocations: 1.311 MB / 0.7024 GB, free: 31.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/1.302, allocations: 2.499 MB / 0.7048 GB, free: 28.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004476/1.306, allocations: 314.6 kB / 0.7051 GB, free: 28.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008525/1.307, allocations: 330.8 kB / 0.7054 GB, free: 28.29 MB / 426.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.004532/1.312, allocations: 2.274 MB / 0.7076 GB, free: 26.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006458/1.312, allocations: 284.3 kB / 0.7079 GB, free: 26.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008063/1.321, allocations: 4.898 MB / 0.7127 GB, free: 22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.792e-05/1.321, allocations: 44.36 kB / 0.7127 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/1.321, allocations: 0 / 0.7127 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/1.321, allocations: 14.77 kB / 0.7127 GB, free: 21.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01893/1.34, allocations: 11.5 MB / 0.724 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.34, allocations: 11.42 kB / 0.724 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.341, allocations: 410.8 kB / 0.7244 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002473/1.344, allocations: 0.6143 MB / 0.725 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002724/1.344, allocations: 55.8 kB / 0.725 GB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/1.346, allocations: 2.098 MB / 0.7271 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/1.346, allocations: 12 kB / 0.7271 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009808/1.356, allocations: 7.729 MB / 0.7346 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/1.357, allocations: 331.8 kB / 0.735 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/1.357, allocations: 51.8 kB / 0.735 GB, free: 1.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.359, allocations: 124.7 kB / 0.7351 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003136/1.359, allocations: 164.2 kB / 0.7353 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/1.359, allocations: 75.8 kB / 0.7353 GB, free: 1.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0025/1.362, allocations: 1.713 MB / 0.737 GB, free: 15.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.564e-06/1.362, allocations: 0 / 0.737 GB, free: 15.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005076/1.367, allocations: 0.9947 MB / 0.738 GB, free: 14.89 MB / 442.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.0005402/1.367, allocations: 205.2 kB / 0.7382 GB, free: 14.7 MB / 442.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 can't be selected as a state. [/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 can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01114/1.378, allocations: 5.958 MB / 0.744 GB, free: 8.699 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-05/1.378, allocations: 5.875 kB / 0.744 GB, free: 8.695 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004371/1.383, allocations: 2.374 MB / 0.7463 GB, free: 6.262 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.386, allocations: 393.5 kB / 0.7467 GB, free: 5.898 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2365/1.622, allocations: 12.93 MB / 0.7593 GB, free: 81.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004695/1.627, allocations: 3.609 MB / 0.7629 GB, free: 80.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004708/1.632, allocations: 2.067 MB / 0.7649 GB, free: 80.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/1.632, allocations: 227.2 kB / 0.7651 GB, free: 80.38 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/1.632, allocations: 4.875 kB / 0.7651 GB, free: 80.38 MB / 442.7 MB Notification: Performance of Templates: time 0.06268/1.695, allocations: 30.69 MB / 0.7951 GB, free: 79.16 MB / 442.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)