Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001443/0.001443, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.353/1.353, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001676/0.001676, allocations: 107.5 kB / 223.2 MB, free: 4.109 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.1642/0.1642, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.727e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09244, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.4278, allocations: 94.91 MB / 0.4889 GB, free: 16.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.428, allocations: 78.61 kB / 0.489 GB, free: 16.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2339/0.662, allocations: 97.93 MB / 0.5846 GB, free: 2.496 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.662, allocations: 0 / 0.5846 GB, free: 2.496 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001704/0.6622, allocations: 91.94 kB / 0.5847 GB, free: 2.406 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.016/0.6782, allocations: 4.66 MB / 0.5892 GB, free: 13.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6783, allocations: 8.031 kB / 0.5892 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01628/0.6946, allocations: 3.632 MB / 0.5928 GB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.7081, allocations: 4.898 MB / 0.5976 GB, free: 5.074 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000423/0.7086, allocations: 373.9 kB / 0.5979 GB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002792/0.7114, allocations: 0.4919 MB / 0.5984 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0274/0.7388, allocations: 12.14 MB / 0.6103 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/0.7391, allocations: 39.64 kB / 0.6103 GB, free: 7.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00132/0.7404, allocations: 231.8 kB / 0.6105 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001893/0.7423, allocations: 1.314 MB / 0.6118 GB, free: 5.949 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3066/1.049, allocations: 11.36 MB / 0.6229 GB, free: 86.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05875/1.108, allocations: 41.98 MB / 0.6639 GB, free: 69.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009624/1.117, allocations: 4.846 MB / 0.6686 GB, free: 67.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/1.121, allocations: 2.36 MB / 0.6709 GB, free: 66.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009357/1.13, allocations: 6.569 MB / 0.6773 GB, free: 62.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.13, allocations: 55.12 kB / 0.6774 GB, free: 62.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 5.71e-06/1.13, allocations: 3.797 kB / 0.6774 GB, free: 62.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.04117/1.171, allocations: 16.09 MB / 0.6931 GB, free: 58.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.171, allocations: 73.09 kB / 0.6932 GB, free: 58.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/1.177, allocations: 2.819 MB / 0.6959 GB, free: 57.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004093/1.177, allocations: 60.58 kB / 0.696 GB, free: 57.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/1.179, allocations: 3.282 MB / 0.6992 GB, free: 54.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009488/1.18, allocations: 0.9428 MB / 0.7001 GB, free: 53.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004561/1.18, allocations: 119.5 kB / 0.7002 GB, free: 53.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004437/1.181, allocations: 0.5772 MB / 0.7008 GB, free: 53.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003597/1.184, allocations: 2.404 MB / 0.7031 GB, free: 52.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005396/1.19, allocations: 5.781 MB / 0.7088 GB, free: 47.37 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005315/1.195, allocations: 3.773 MB / 0.7125 GB, free: 46.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/1.195, allocations: 33.75 kB / 0.7125 GB, free: 46.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02026/1.215, allocations: 9.948 MB / 0.7222 GB, free: 38.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000152/1.216, allocations: 59.12 kB / 0.7223 GB, free: 38.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001811/1.216, allocations: 120 kB / 0.7224 GB, free: 38.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008635/1.224, allocations: 2.343 MB / 0.7247 GB, free: 37.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005123/1.23, allocations: 1.353 MB / 0.726 GB, free: 35.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.245, allocations: 10.61 MB / 0.7364 GB, free: 26.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005698/1.251, allocations: 329.7 kB / 0.7367 GB, free: 26.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.253, allocations: 356.7 kB / 0.737 GB, free: 26.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (733): * Single equations (assignments): 725 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.002037/1.255, allocations: 0.5462 MB / 0.7376 GB, free: 25.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007681/1.256, allocations: 304 kB / 0.7378 GB, free: 25.31 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007729/1.263, allocations: 4.594 MB / 0.7423 GB, free: 21.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.305e-05/1.263, allocations: 45.17 kB / 0.7424 GB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.263, allocations: 7.125 kB / 0.7424 GB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/1.263, allocations: 7.312 kB / 0.7424 GB, free: 21.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/1.281, allocations: 10.8 MB / 0.7529 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.281, allocations: 11.53 kB / 0.7529 GB, free: 12.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001782/1.282, allocations: 416.6 kB / 0.7533 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/1.284, allocations: 0.6947 MB / 0.754 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002622/1.285, allocations: 48.64 kB / 0.7541 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/1.287, allocations: 2.414 MB / 0.7564 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.287, allocations: 4 kB / 0.7564 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008819/1.296, allocations: 7.397 MB / 0.7636 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009335/1.297, allocations: 357 kB / 0.764 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004569/1.297, allocations: 44 kB / 0.764 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/1.298, allocations: 140.9 kB / 0.7642 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/1.299, allocations: 138.2 kB / 0.7643 GB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/1.299, allocations: 68.84 kB / 0.7644 GB, free: 1.723 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00264/1.302, allocations: 1.904 MB / 0.7662 GB, free: 15.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.302, allocations: 0 / 0.7662 GB, free: 15.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005746/1.307, allocations: 1.14 MB / 0.7673 GB, free: 14.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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.0005998/1.308, allocations: 184.9 kB / 0.7675 GB, free: 14.51 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:1990:5-1992:161:writable] Warning: Variable freeMotionScalarInit.angle_3 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 freeMotionScalarInit.angle_1 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:1987:5-1989:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01041/1.318, allocations: 6.058 MB / 0.7734 GB, free: 8.457 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.318, allocations: 0 / 0.7734 GB, free: 8.457 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004797/1.323, allocations: 2.503 MB / 0.7759 GB, free: 5.906 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/1.326, allocations: 426.5 kB / 0.7763 GB, free: 5.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2281/1.554, allocations: 9.45 MB / 0.7855 GB, free: 92.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004693/1.559, allocations: 3.861 MB / 0.7893 GB, free: 91.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005926/1.565, allocations: 2.07 MB / 0.7913 GB, free: 91.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009678/1.566, allocations: 240.4 kB / 0.7915 GB, free: 91.25 MB / 442.7 MB Notification: Performance of SimCode: time 2.174e-06/1.566, allocations: 0 / 0.7915 GB, free: 91.25 MB / 442.7 MB Notification: Performance of Templates: time 0.0663/1.632, allocations: 39.24 MB / 0.8298 GB, free: 89.62 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1)