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.001472/0.001471, allocations: 182.1 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.491/1.491, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001657/0.001657, allocations: 112 kB / 252.6 MB, free: 4.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2362/0.2362, allocations: 39.95 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.167e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5032/0.6142, allocations: 101.6 MB / 0.5437 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/0.6146, allocations: 78.95 kB / 0.5438 GB, free: 6.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2489/0.8635, allocations: 97.96 MB / 0.6395 GB, free: 11.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.8635, allocations: 0 / 0.6395 GB, free: 11.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001788/0.8637, allocations: 95.94 kB / 0.6396 GB, free: 11.57 MB / 458.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.01941/0.8832, allocations: 4.651 MB / 0.6441 GB, free: 6.859 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.8832, allocations: 8.031 kB / 0.6441 GB, free: 6.852 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0166/0.8998, allocations: 3.628 MB / 0.6477 GB, free: 3.211 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/0.9166, allocations: 4.906 MB / 0.6524 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004888/0.9172, allocations: 374.2 kB / 0.6528 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003483/0.9207, allocations: 499.7 kB / 0.6533 GB, free: 13.39 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02907/0.9497, allocations: 12.15 MB / 0.6651 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002439/0.95, allocations: 35.64 kB / 0.6652 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/0.9515, allocations: 227.9 kB / 0.6654 GB, free: 468 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3411/1.293, allocations: 1.308 MB / 0.6667 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0321/1.325, allocations: 11.37 MB / 0.6778 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07116/1.396, allocations: 41.97 MB / 0.7188 GB, free: 86.36 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/1.407, allocations: 4.847 MB / 0.7235 GB, free: 84.11 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00343/1.41, allocations: 2.364 MB / 0.7258 GB, free: 83.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/1.423, allocations: 6.57 MB / 0.7322 GB, free: 79.64 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/1.423, allocations: 55.64 kB / 0.7323 GB, free: 79.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=231): time 6.643e-06/1.423, allocations: 0 / 0.7323 GB, free: 79.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=252): time 0.0431/1.466, allocations: 16.11 MB / 0.748 GB, free: 74.97 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/1.466, allocations: 73.25 kB / 0.7481 GB, free: 74.91 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00639/1.473, allocations: 2.811 MB / 0.7508 GB, free: 73.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004239/1.473, allocations: 57.58 kB / 0.7509 GB, free: 73.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00283/1.476, allocations: 3.283 MB / 0.7541 GB, free: 71.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.478, allocations: 0.9499 MB / 0.755 GB, free: 70.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/1.479, allocations: 121.5 kB / 0.7551 GB, free: 70.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001192/1.48, allocations: 0.5712 MB / 0.7557 GB, free: 70.08 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00568/1.486, allocations: 2.406 MB / 0.758 GB, free: 67.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009769/1.496, allocations: 5.776 MB / 0.7637 GB, free: 60.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007693/1.504, allocations: 3.761 MB / 0.7673 GB, free: 57.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/1.504, allocations: 36 kB / 0.7674 GB, free: 57.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.02439/1.528, allocations: 9.952 MB / 0.7771 GB, free: 49.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/1.529, allocations: 56 kB / 0.7771 GB, free: 49.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003776/1.529, allocations: 119 kB / 0.7773 GB, free: 49.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008737/1.538, allocations: 2.333 MB / 0.7795 GB, free: 47.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005067/1.543, allocations: 1.367 MB / 0.7809 GB, free: 46.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/1.559, allocations: 10.62 MB / 0.7912 GB, free: 37.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005504/1.564, allocations: 332.8 kB / 0.7916 GB, free: 37.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.566, allocations: 355.5 kB / 0.7919 GB, free: 36.93 MB / 474.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.002194/1.568, allocations: 0.547 MB / 0.7924 GB, free: 36.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009124/1.569, allocations: 300.1 kB / 0.7927 GB, free: 36.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009292/1.578, allocations: 4.593 MB / 0.7972 GB, free: 32.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-05/1.579, allocations: 48.92 kB / 0.7972 GB, free: 32.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/1.579, allocations: 7.953 kB / 0.7973 GB, free: 32.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-05/1.579, allocations: 14.31 kB / 0.7973 GB, free: 32.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.605, allocations: 10.79 MB / 0.8078 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.605, allocations: 4 kB / 0.8078 GB, free: 23.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/1.607, allocations: 432.9 kB / 0.8082 GB, free: 22.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/1.609, allocations: 0.6857 MB / 0.8089 GB, free: 22.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004207/1.609, allocations: 57.48 kB / 0.8089 GB, free: 22.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/1.612, allocations: 2.409 MB / 0.8113 GB, free: 20.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.612, allocations: 7.938 kB / 0.8113 GB, free: 20 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.622, allocations: 7.392 MB / 0.8185 GB, free: 12.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.624, allocations: 357 kB / 0.8189 GB, free: 11.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/1.625, allocations: 54.75 kB / 0.8189 GB, free: 11.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/1.627, allocations: 135.6 kB / 0.819 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003991/1.627, allocations: 145.6 kB / 0.8192 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.628, allocations: 74.62 kB / 0.8193 GB, free: 11.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004357/1.632, allocations: 1.902 MB / 0.8211 GB, free: 9.703 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.632, allocations: 3.562 kB / 0.8211 GB, free: 9.703 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007625/1.64, allocations: 1.131 MB / 0.8222 GB, free: 8.578 MB / 474.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.001116/1.641, allocations: 193 kB / 0.8224 GB, free: 8.387 MB / 474.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.01052/1.651, allocations: 6.055 MB / 0.8283 GB, free: 2.336 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.651, allocations: 0 / 0.8283 GB, free: 2.336 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004644/1.656, allocations: 2.506 MB / 0.8308 GB, free: 15.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/1.66, allocations: 408.1 kB / 0.8312 GB, free: 15.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0256/1.685, allocations: 9.451 MB / 0.8404 GB, free: 5.914 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009558/1.695, allocations: 3.867 MB / 0.8442 GB, free: 2.035 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.311/2.006, allocations: 2.064 MB / 0.8462 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001349/2.007, allocations: 247.9 kB / 0.8464 GB, free: 104.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.323e-06/2.007, allocations: 0 / 0.8464 GB, free: 104.3 MB / 490.7 MB Notification: Performance of Templates: time 0.0884/2.096, allocations: 39.22 MB / 0.8847 GB, free: 102.8 MB / 490.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)