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.001912/0.001912, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.509/1.509, allocations: 170.6 MB / 178.7 MB, free: 15.64 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.001721/0.001721, allocations: 107.5 kB / 218 MB, free: 8.414 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.222/0.222, allocations: 37.99 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.525e-05/1.519e-05, allocations: 3.156 kB / 350 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09529, allocations: 48.73 MB / 398.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4031/0.4985, allocations: 94.24 MB / 493 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4988, allocations: 82.17 kB / 493.1 MB, free: 17.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2328/0.7316, allocations: 96.07 MB / 0.5753 GB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.7317, allocations: 0 / 0.5753 GB, free: 13.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002428/0.7319, allocations: 88 kB / 0.5754 GB, free: 13.84 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.01882/0.7508, allocations: 4.656 MB / 0.58 GB, free: 9.117 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.7508, allocations: 12.02 kB / 0.58 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/0.7681, allocations: 3.628 MB / 0.5835 GB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01444/0.7826, allocations: 4.894 MB / 0.5883 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/0.783, allocations: 160 kB / 0.5884 GB, free: 372 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003336/0.7864, allocations: 295.8 kB / 0.5887 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01805/0.8044, allocations: 8.447 MB / 0.597 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03111/0.8356, allocations: 11.15 MB / 0.6079 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/0.8359, allocations: 39.66 kB / 0.6079 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002221/0.8381, allocations: 16 kB / 0.6079 GB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002072/0.8402, allocations: 1.318 MB / 0.6092 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3394/1.18, allocations: 39.46 MB / 0.6477 GB, free: 74.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008338/1.188, allocations: 4.318 MB / 0.652 GB, free: 72.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004226/1.192, allocations: 2.29 MB / 0.6542 GB, free: 72.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.194, allocations: 1.323 MB / 0.6555 GB, free: 71.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.194, allocations: 58.3 kB / 0.6555 GB, free: 71.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=265): time 6.873e-06/1.194, allocations: 0 / 0.6555 GB, free: 71.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=285): time 0.04302/1.237, allocations: 18.04 MB / 0.6732 GB, free: 69.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/1.237, allocations: 102 kB / 0.6733 GB, free: 69.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003493/1.24, allocations: 2.576 MB / 0.6758 GB, free: 68.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004827/1.241, allocations: 29.36 kB / 0.6758 GB, free: 68.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.243, allocations: 3.295 MB / 0.679 GB, free: 65.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/1.244, allocations: 1.03 MB / 0.68 GB, free: 65.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/1.244, allocations: 0 / 0.68 GB, free: 65.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002968/1.244, allocations: 0.5853 MB / 0.6806 GB, free: 64.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002716/1.247, allocations: 2.419 MB / 0.683 GB, free: 63.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004056/1.251, allocations: 6.027 MB / 0.6888 GB, free: 58.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/1.256, allocations: 3.869 MB / 0.6926 GB, free: 57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.716e-05/1.256, allocations: 37.16 kB / 0.6927 GB, free: 57 MB / 426.7 MB Notification: Performance of matching and sorting (n=875) (initialization): time 0.01761/1.274, allocations: 9.594 MB / 0.702 GB, free: 54.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/1.274, allocations: 60.78 kB / 0.7021 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/1.274, allocations: 129.4 kB / 0.7022 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008203/1.282, allocations: 2.344 MB / 0.7045 GB, free: 54.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004964/1.287, allocations: 1.471 MB / 0.7059 GB, free: 54.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/1.302, allocations: 9.851 MB / 0.7155 GB, free: 48.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006281/1.309, allocations: 220.4 kB / 0.7158 GB, free: 48.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002618/1.311, allocations: 387.8 kB / 0.7161 GB, free: 48.36 MB / 426.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.00255/1.314, allocations: 428.5 kB / 0.7165 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.315, allocations: 312 kB / 0.7168 GB, free: 47.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009116/1.324, allocations: 4.997 MB / 0.7217 GB, free: 43.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.55e-05/1.324, allocations: 51.19 kB / 0.7218 GB, free: 43.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.324, allocations: 4.031 kB / 0.7218 GB, free: 43.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/1.324, allocations: 16.89 kB / 0.7218 GB, free: 43.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/1.342, allocations: 10.94 MB / 0.7325 GB, free: 34.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/1.342, allocations: 9.562 kB / 0.7325 GB, free: 34.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001899/1.344, allocations: 478 kB / 0.7329 GB, free: 33.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/1.346, allocations: 0.6916 MB / 0.7336 GB, free: 33.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/1.346, allocations: 34.47 kB / 0.7336 GB, free: 33.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/1.348, allocations: 2.332 MB / 0.7359 GB, free: 31.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.047e-06/1.348, allocations: 11.94 kB / 0.7359 GB, free: 31.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009188/1.357, allocations: 8.297 MB / 0.744 GB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.358, allocations: 348.6 kB / 0.7444 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/1.359, allocations: 15.8 kB / 0.7444 GB, free: 22.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00207/1.361, allocations: 111.4 kB / 0.7445 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/1.362, allocations: 182.2 kB / 0.7447 GB, free: 22.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/1.362, allocations: 78.28 kB / 0.7447 GB, free: 22.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002731/1.365, allocations: 1.693 MB / 0.7464 GB, free: 21.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.365, allocations: 0 / 0.7464 GB, free: 21.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006239/1.371, allocations: 1.002 MB / 0.7474 GB, free: 20.28 MB / 426.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.0005205/1.372, allocations: 173.9 kB / 0.7475 GB, free: 20.12 MB / 426.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.008679/1.38, allocations: 6.065 MB / 0.7535 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.38, allocations: 0 / 0.7535 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003943/1.384, allocations: 2.651 MB / 0.756 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.387, allocations: 308.6 kB / 0.7563 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.402, allocations: 9.836 MB / 0.7659 GB, free: 3.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003373/1.406, allocations: 3.874 MB / 0.7697 GB, free: 204 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01029/1.416, allocations: 2.677 MB / 0.7723 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/1.417, allocations: 251.4 kB / 0.7726 GB, free: 14.92 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/1.417, allocations: 0 / 0.7726 GB, free: 14.92 MB / 442.7 MB Notification: Performance of Templates: time 0.3061/1.723, allocations: 35.87 MB / 0.8076 GB, free: 93.84 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)