Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.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.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001033/0.001033, allocations: 177.8 kB / 7.653 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.566/1.566, allocations: 194.3 MB / 202.4 MB, free: 13.02 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.001781/0.001781, allocations: 109.6 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1968/0.1968, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.457e-05, allocations: 4 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2606, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.6474, allocations: 101 MB / 0.5363 GB, free: 88.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.6477, allocations: 75.52 kB / 0.5364 GB, free: 88.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2158/0.8635, allocations: 96.09 MB / 0.6302 GB, free: 10.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.8635, allocations: 3.938 kB / 0.6302 GB, free: 10.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002136/0.8638, allocations: 92 kB / 0.6303 GB, free: 9.922 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.01836/0.8821, allocations: 4.651 MB / 0.6348 GB, free: 5.203 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.542e-05/0.8822, allocations: 12.03 kB / 0.6349 GB, free: 5.191 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/0.8994, allocations: 3.624 MB / 0.6384 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/0.9148, allocations: 4.898 MB / 0.6432 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/0.9153, allocations: 164.3 kB / 0.6433 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002935/0.9183, allocations: 303.8 kB / 0.6436 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01724/0.9355, allocations: 8.435 MB / 0.6519 GB, free: 3.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02903/0.9646, allocations: 11.15 MB / 0.6627 GB, free: 8.027 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002944/0.965, allocations: 31.66 kB / 0.6628 GB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002621/0.9676, allocations: 16 kB / 0.6628 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002445/0.9701, allocations: 1.326 MB / 0.6641 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3377/1.308, allocations: 39.46 MB / 0.7026 GB, free: 94.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005565/1.313, allocations: 4.314 MB / 0.7068 GB, free: 92.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002913/1.316, allocations: 2.292 MB / 0.7091 GB, free: 92.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001333/1.318, allocations: 1.318 MB / 0.7104 GB, free: 91.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.565e-05/1.318, allocations: 63.94 kB / 0.7104 GB, free: 91.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 8.976e-06/1.318, allocations: 0 / 0.7104 GB, free: 91.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=285): time 0.03608/1.354, allocations: 18.03 MB / 0.728 GB, free: 89.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/1.354, allocations: 101.1 kB / 0.7281 GB, free: 89.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004081/1.358, allocations: 2.579 MB / 0.7306 GB, free: 89.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005224/1.359, allocations: 28.98 kB / 0.7307 GB, free: 89.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/1.36, allocations: 3.292 MB / 0.7339 GB, free: 87.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.361, allocations: 1.03 MB / 0.7349 GB, free: 87.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/1.362, allocations: 0 / 0.7349 GB, free: 87.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000323/1.362, allocations: 0.5932 MB / 0.7355 GB, free: 86.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/1.365, allocations: 2.417 MB / 0.7378 GB, free: 86.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/1.369, allocations: 6.026 MB / 0.7437 GB, free: 82.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005371/1.374, allocations: 3.866 MB / 0.7475 GB, free: 81.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.138e-05/1.374, allocations: 35.53 kB / 0.7475 GB, free: 81.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=875) (initialization): time 0.02162/1.396, allocations: 9.603 MB / 0.7569 GB, free: 78.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.396, allocations: 58.47 kB / 0.757 GB, free: 78.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/1.396, allocations: 129.2 kB / 0.7571 GB, free: 78.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0084/1.405, allocations: 2.34 MB / 0.7594 GB, free: 78.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/1.41, allocations: 1.474 MB / 0.7608 GB, free: 78.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/1.424, allocations: 9.844 MB / 0.7704 GB, free: 73.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005086/1.429, allocations: 220.5 kB / 0.7706 GB, free: 73.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.431, allocations: 389.9 kB / 0.771 GB, free: 73.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * 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 (794): * Single equations (assignments): 786 * 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 24} Notification: Performance of prepare postOptimizeDAE: time 0.001637/1.433, allocations: 428.1 kB / 0.7714 GB, free: 73.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006583/1.433, allocations: 308 kB / 0.7717 GB, free: 72.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007345/1.441, allocations: 4.997 MB / 0.7766 GB, free: 68.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/1.441, allocations: 56.73 kB / 0.7766 GB, free: 68.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.441, allocations: 4 kB / 0.7766 GB, free: 68.72 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/1.441, allocations: 10.64 kB / 0.7767 GB, free: 68.72 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01925/1.46, allocations: 10.95 MB / 0.7873 GB, free: 59.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.46, allocations: 8 kB / 0.7874 GB, free: 59.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002061/1.462, allocations: 475.3 kB / 0.7878 GB, free: 59.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/1.464, allocations: 0.6998 MB / 0.7885 GB, free: 58.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004136/1.464, allocations: 38.22 kB / 0.7885 GB, free: 58.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002122/1.467, allocations: 2.33 MB / 0.7908 GB, free: 56.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/1.467, allocations: 11.94 kB / 0.7908 GB, free: 56.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009278/1.476, allocations: 8.301 MB / 0.7989 GB, free: 48.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008436/1.477, allocations: 348.6 kB / 0.7993 GB, free: 48.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004614/1.477, allocations: 23.66 kB / 0.7993 GB, free: 48.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/1.479, allocations: 106.8 kB / 0.7994 GB, free: 48.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/1.479, allocations: 178.2 kB / 0.7995 GB, free: 48.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.479, allocations: 82.33 kB / 0.7996 GB, free: 48.11 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002333/1.482, allocations: 1.689 MB / 0.8013 GB, free: 46.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.482, allocations: 3 kB / 0.8013 GB, free: 46.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006228/1.488, allocations: 1.001 MB / 0.8023 GB, free: 45.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * 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 (236): * Single equations (assignments): 227 * 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.0007613/1.489, allocations: 171.5 kB / 0.8024 GB, free: 45.49 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Mechanics/MultiBody/Joints.mo:1958:5-1960: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.2+maint.om/Mechanics/MultiBody/Joints.mo:1952:5-1954: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.2+maint.om/Mechanics/MultiBody/Joints.mo:1955:5-1957: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.008848/1.497, allocations: 6.063 MB / 0.8083 GB, free: 40.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/1.498, allocations: 4 kB / 0.8083 GB, free: 40.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005685/1.503, allocations: 2.642 MB / 0.8109 GB, free: 37.66 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.506, allocations: 311.2 kB / 0.8112 GB, free: 37.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.523, allocations: 9.837 MB / 0.8208 GB, free: 28.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/1.526, allocations: 3.876 MB / 0.8246 GB, free: 25.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005027/1.531, allocations: 2.286 MB / 0.8268 GB, free: 24.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000815/1.532, allocations: 255.3 kB / 0.8271 GB, free: 23.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.212e-06/1.532, allocations: 0 / 0.8271 GB, free: 23.91 MB / 458.7 MB Notification: Performance of Templates: time 0.06164/1.594, allocations: 35.88 MB / 0.8621 GB, free: 6.773 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4.pipe 2>&1)