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.007318/0.007318, allocations: 176.6 kB / 15.12 MB, free: 5.973 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.81/1.81, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001851/0.001851, allocations: 124.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2117/0.2117, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 10.88 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1182, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5117/0.6299, allocations: 101.7 MB / 0.5496 GB, free: 21.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/0.6303, allocations: 82.62 kB / 0.5496 GB, free: 21.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2273/0.8577, allocations: 97.88 MB / 0.6452 GB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.559e-06/0.8577, allocations: 4 kB / 0.6452 GB, free: 14.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002345/0.858, allocations: 91.94 kB / 0.6453 GB, free: 14.04 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.02161/0.8796, allocations: 4.806 MB / 0.65 GB, free: 9.156 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.8797, allocations: 8.031 kB / 0.65 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0169/0.8966, allocations: 3.62 MB / 0.6536 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/0.9117, allocations: 4.93 MB / 0.6584 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/0.9123, allocations: 374.2 kB / 0.6587 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003331/0.9156, allocations: 0.4998 MB / 0.6592 GB, free: 15.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03283/0.9485, allocations: 12.23 MB / 0.6712 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002362/0.9487, allocations: 35.66 kB / 0.6712 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001771/0.9505, allocations: 223.9 kB / 0.6714 GB, free: 2.645 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002188/0.9527, allocations: 1.318 MB / 0.6727 GB, free: 1.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02482/0.9775, allocations: 11.54 MB / 0.684 GB, free: 5.766 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3141/1.292, allocations: 41.97 MB / 0.7249 GB, free: 92.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/1.302, allocations: 4.879 MB / 0.7297 GB, free: 91.32 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/1.315, allocations: 6.58 MB / 0.7361 GB, free: 89.41 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/1.315, allocations: 52.47 kB / 0.7362 GB, free: 89.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=231): time 5.61e-06/1.315, allocations: 4.031 kB / 0.7362 GB, free: 89.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=252): time 0.04593/1.361, allocations: 19.36 MB / 0.7551 GB, free: 87.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/1.361, allocations: 75.97 kB / 0.7552 GB, free: 87.04 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004046/1.365, allocations: 2.842 MB / 0.758 GB, free: 86.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003858/1.366, allocations: 53.61 kB / 0.758 GB, free: 86.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001636/1.368, allocations: 3.287 MB / 0.7612 GB, free: 84.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001073/1.369, allocations: 0.9431 MB / 0.7621 GB, free: 84.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/1.369, allocations: 120.3 kB / 0.7622 GB, free: 84.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002694/1.369, allocations: 0.5683 MB / 0.7628 GB, free: 84.04 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0031/1.372, allocations: 2.463 MB / 0.7652 GB, free: 84.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004446/1.377, allocations: 5.827 MB / 0.7709 GB, free: 79.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004704/1.381, allocations: 3.784 MB / 0.7746 GB, free: 79.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.569e-05/1.382, allocations: 32.53 kB / 0.7746 GB, free: 79.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=817) (initialization): time 0.01984/1.401, allocations: 10.05 MB / 0.7844 GB, free: 78.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.809e-05/1.402, allocations: 60.2 kB / 0.7845 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001463/1.402, allocations: 116.9 kB / 0.7846 GB, free: 78.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00841/1.41, allocations: 2.35 MB / 0.7869 GB, free: 77.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004344/1.414, allocations: 1.356 MB / 0.7882 GB, free: 77.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01545/1.43, allocations: 11.09 MB / 0.7991 GB, free: 72.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005583/1.436, allocations: 333.7 kB / 0.7994 GB, free: 72.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.437, allocations: 359.2 kB / 0.7997 GB, free: 72.5 MB / 490.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.005789/1.443, allocations: 2.432 MB / 0.8021 GB, free: 71.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006667/1.443, allocations: 305.4 kB / 0.8024 GB, free: 71.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007624/1.451, allocations: 4.634 MB / 0.8069 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.849e-05/1.451, allocations: 48.06 kB / 0.807 GB, free: 69.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.451, allocations: 0 / 0.807 GB, free: 69.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.451, allocations: 18.59 kB / 0.807 GB, free: 69.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01805/1.469, allocations: 10.83 MB / 0.8176 GB, free: 62.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.469, allocations: 12.11 kB / 0.8176 GB, free: 62.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.471, allocations: 422.1 kB / 0.818 GB, free: 62.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/1.473, allocations: 0.6947 MB / 0.8186 GB, free: 61.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/1.473, allocations: 48.23 kB / 0.8187 GB, free: 61.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/1.475, allocations: 2.444 MB / 0.8211 GB, free: 59.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.475, allocations: 7.938 kB / 0.8211 GB, free: 59.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008826/1.484, allocations: 7.464 MB / 0.8284 GB, free: 52.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009942/1.485, allocations: 356.7 kB / 0.8287 GB, free: 52.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004173/1.486, allocations: 49.2 kB / 0.8288 GB, free: 52.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/1.487, allocations: 141.9 kB / 0.8289 GB, free: 52.38 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.487, allocations: 139.9 kB / 0.829 GB, free: 52.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.487, allocations: 67.45 kB / 0.8291 GB, free: 52.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002997/1.49, allocations: 1.931 MB / 0.831 GB, free: 50.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.49, allocations: 0 / 0.831 GB, free: 50.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00568/1.496, allocations: 1.131 MB / 0.8321 GB, free: 49.52 MB / 490.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.0006247/1.497, allocations: 203.6 kB / 0.8323 GB, free: 49.34 MB / 490.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 can't be selected as a state. [/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 can't be selected as a state. [/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 can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.00987/1.507, allocations: 6.139 MB / 0.8383 GB, free: 43.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.507, allocations: 3.188 kB / 0.8383 GB, free: 43.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004122/1.511, allocations: 2.531 MB / 0.8407 GB, free: 41.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/1.513, allocations: 408.3 kB / 0.8411 GB, free: 41.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.531, allocations: 13.46 MB / 0.8543 GB, free: 29.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003609/1.535, allocations: 3.865 MB / 0.8581 GB, free: 26.15 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004295/1.539, allocations: 2.072 MB / 0.8601 GB, free: 24.82 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007017/1.54, allocations: 245 kB / 0.8603 GB, free: 24.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/1.54, allocations: 0 / 0.8603 GB, free: 24.6 MB / 490.7 MB Notification: Performance of Templates: time 0.06869/1.608, allocations: 39.22 MB / 0.8986 GB, free: 6.254 MB / 0.4948 GB 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)