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.01085/0.01085, allocations: 165.3 kB / 15.11 MB, free: 5.969 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.544/1.544, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001703/0.001703, allocations: 106.6 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.4026/0.4026, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5484, allocations: 95.01 MB / 0.4947 GB, free: 9.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.5487, allocations: 79.02 kB / 0.4948 GB, free: 9.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4991/1.048, allocations: 97.86 MB / 0.5903 GB, free: 77.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.127e-06/1.048, allocations: 0 / 0.5903 GB, free: 77.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003928/1.048, allocations: 91.19 kB / 0.5904 GB, free: 77.85 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: 1878 * Number of variables: 1878 Notification: Performance of Generate backend data structure: time 0.02298/1.071, allocations: 4.809 MB / 0.5951 GB, free: 75.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/1.071, allocations: 8.031 kB / 0.5951 GB, free: 75.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/1.088, allocations: 3.622 MB / 0.5987 GB, free: 75.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01582/1.104, allocations: 4.919 MB / 0.6035 GB, free: 75.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004702/1.104, allocations: 375.4 kB / 0.6038 GB, free: 75.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002715/1.107, allocations: 0.4902 MB / 0.6043 GB, free: 75.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02453/1.131, allocations: 12.24 MB / 0.6163 GB, free: 73.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/1.132, allocations: 36.66 kB / 0.6163 GB, free: 73.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009105/1.133, allocations: 226 kB / 0.6165 GB, free: 73.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/1.134, allocations: 1.315 MB / 0.6178 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02442/1.159, allocations: 11.54 MB / 0.6291 GB, free: 73.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05827/1.217, allocations: 41.98 MB / 0.6701 GB, free: 49.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009329/1.227, allocations: 4.888 MB / 0.6748 GB, free: 47.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/1.239, allocations: 6.575 MB / 0.6813 GB, free: 43.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/1.239, allocations: 55.69 kB / 0.6813 GB, free: 43.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=231): time 6.392e-06/1.239, allocations: 4 kB / 0.6813 GB, free: 43.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=252): time 0.04915/1.288, allocations: 19.36 MB / 0.7002 GB, free: 35.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/1.288, allocations: 73.41 kB / 0.7003 GB, free: 35.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006521/1.295, allocations: 2.843 MB / 0.7031 GB, free: 33.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005713/1.295, allocations: 59.19 kB / 0.7031 GB, free: 33.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.297, allocations: 3.283 MB / 0.7063 GB, free: 30.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001257/1.299, allocations: 0.9402 MB / 0.7073 GB, free: 29.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008662/1.3, allocations: 120 kB / 0.7074 GB, free: 29.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006376/1.3, allocations: 0.5757 MB / 0.7079 GB, free: 28.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003954/1.304, allocations: 2.462 MB / 0.7103 GB, free: 26.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005563/1.31, allocations: 5.825 MB / 0.716 GB, free: 19.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/1.315, allocations: 3.779 MB / 0.7197 GB, free: 16.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001047/1.315, allocations: 36 kB / 0.7198 GB, free: 16.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01993/1.335, allocations: 10.04 MB / 0.7296 GB, free: 7.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001689/1.335, allocations: 59.59 kB / 0.7296 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002876/1.336, allocations: 124 kB / 0.7297 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008614/1.344, allocations: 2.355 MB / 0.732 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/1.349, allocations: 1.354 MB / 0.7334 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/1.367, allocations: 11.1 MB / 0.7442 GB, free: 10.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00575/1.373, allocations: 338.4 kB / 0.7445 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001427/1.374, allocations: 358.9 kB / 0.7449 GB, free: 10.11 MB / 442.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 () * Number of clocked 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.006598/1.381, allocations: 2.437 MB / 0.7472 GB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009284/1.382, allocations: 307.9 kB / 0.7475 GB, free: 7.359 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009807/1.392, allocations: 4.64 MB / 0.7521 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.494e-05/1.392, allocations: 45.08 kB / 0.7521 GB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.392, allocations: 4 kB / 0.7521 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/1.392, allocations: 7.969 kB / 0.7521 GB, free: 2.605 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2493/1.641, allocations: 10.84 MB / 0.7627 GB, free: 81.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.641, allocations: 3.156 kB / 0.7627 GB, free: 81.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.643, allocations: 413.7 kB / 0.7631 GB, free: 81.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/1.645, allocations: 0.6948 MB / 0.7638 GB, free: 81.97 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/1.645, allocations: 53.69 kB / 0.7638 GB, free: 81.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/1.648, allocations: 2.447 MB / 0.7662 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/1.648, allocations: 3.219 kB / 0.7662 GB, free: 80.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009048/1.657, allocations: 7.46 MB / 0.7735 GB, free: 79.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008748/1.658, allocations: 355.5 kB / 0.7738 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/1.658, allocations: 53.03 kB / 0.7739 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.659, allocations: 136.3 kB / 0.774 GB, free: 79.76 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/1.66, allocations: 140.8 kB / 0.7742 GB, free: 79.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/1.66, allocations: 77.64 kB / 0.7742 GB, free: 79.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00269/1.663, allocations: 1.925 MB / 0.7761 GB, free: 79.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.663, allocations: 0 / 0.7761 GB, free: 79.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004702/1.667, allocations: 1.131 MB / 0.7772 GB, free: 79.61 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 () * Number of clocked 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.0004335/1.668, allocations: 197.1 kB / 0.7774 GB, free: 79.52 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 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 freeMotionScalarInit.angle_1 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:1987:5-1989:161:writable] Warning: Variable freeMotionScalarInit.angle_2 has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.01039/1.678, allocations: 6.132 MB / 0.7834 GB, free: 79.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/1.678, allocations: 3.719 kB / 0.7834 GB, free: 79.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004105/1.682, allocations: 2.532 MB / 0.7859 GB, free: 79.02 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.685, allocations: 419.8 kB / 0.7863 GB, free: 79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.707, allocations: 13.45 MB / 0.7994 GB, free: 73.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006267/1.714, allocations: 3.873 MB / 0.8032 GB, free: 73.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005113/1.719, allocations: 2.069 MB / 0.8052 GB, free: 72.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008553/1.72, allocations: 241.2 kB / 0.8054 GB, free: 72.96 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/1.72, allocations: 0 / 0.8054 GB, free: 72.96 MB / 442.7 MB Notification: Performance of Templates: time 0.06268/1.783, allocations: 39.23 MB / 0.8438 GB, free: 70.5 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)