Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001821/0.001821, 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.59/1.59, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001536/0.001536, allocations: 106.8 kB / 252.6 MB, free: 4.832 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.2158/0.2158, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.369e-05/4.371e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 54.87 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.5863, allocations: 98.06 MB / 0.5402 GB, free: 9.758 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.5865, allocations: 80.44 kB / 0.5403 GB, free: 9.715 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2391/0.8257, allocations: 94.7 MB / 0.6328 GB, free: 2.535 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.427e-06/0.8258, allocations: 4 kB / 0.6328 GB, free: 2.531 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002822/0.8261, allocations: 84 kB / 0.6329 GB, free: 2.449 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02178/0.8479, allocations: 4.49 MB / 0.6373 GB, free: 13.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.433e-05/0.848, allocations: 12.03 kB / 0.6373 GB, free: 13.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0182/0.8662, allocations: 3.589 MB / 0.6408 GB, free: 10.28 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/0.8837, allocations: 4.819 MB / 0.6455 GB, free: 5.402 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006542/0.8844, allocations: 357.3 kB / 0.6458 GB, free: 5.051 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004041/0.8885, allocations: 467.9 kB / 0.6463 GB, free: 4.594 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03529/0.9238, allocations: 11.38 MB / 0.6574 GB, free: 8.746 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003579/0.9242, allocations: 27.72 kB / 0.6574 GB, free: 8.719 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003059/0.9273, allocations: 211.9 kB / 0.6576 GB, free: 8.512 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002237/0.9295, allocations: 1.244 MB / 0.6588 GB, free: 7.266 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3798/1.309, allocations: 10.8 MB / 0.6694 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06666/1.376, allocations: 38.46 MB / 0.7069 GB, free: 91.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007787/1.384, allocations: 4.351 MB / 0.7112 GB, free: 90.58 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003296/1.387, allocations: 2.133 MB / 0.7133 GB, free: 89.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/1.388, allocations: 1.318 MB / 0.7145 GB, free: 88.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/1.388, allocations: 59.34 kB / 0.7146 GB, free: 88.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 5.811e-06/1.388, allocations: 0 / 0.7146 GB, free: 88.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.03018/1.419, allocations: 10.78 MB / 0.7251 GB, free: 85.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/1.419, allocations: 72.47 kB / 0.7252 GB, free: 85.67 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005509/1.424, allocations: 2.616 MB / 0.7277 GB, free: 84.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005392/1.425, allocations: 63.73 kB / 0.7278 GB, free: 84.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/1.427, allocations: 3.097 MB / 0.7308 GB, free: 82.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.429, allocations: 0.9791 MB / 0.7318 GB, free: 81.72 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008364/1.429, allocations: 116.5 kB / 0.7319 GB, free: 81.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007034/1.43, allocations: 0.5639 MB / 0.7325 GB, free: 81.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003874/1.434, allocations: 2.32 MB / 0.7347 GB, free: 80.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006602/1.441, allocations: 5.576 MB / 0.7402 GB, free: 75.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005912/1.447, allocations: 3.652 MB / 0.7437 GB, free: 74.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/1.447, allocations: 38.34 kB / 0.7438 GB, free: 74.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01677/1.463, allocations: 8.619 MB / 0.7522 GB, free: 71.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001531/1.464, allocations: 54.5 kB / 0.7522 GB, free: 71.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/1.464, allocations: 113.8 kB / 0.7523 GB, free: 71.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003714/1.468, allocations: 1.061 MB / 0.7534 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004884/1.473, allocations: 1.364 MB / 0.7547 GB, free: 71.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/1.475, allocations: 2.48 MB / 0.7571 GB, free: 69.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004608/1.48, allocations: 323.3 kB / 0.7574 GB, free: 69.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.481, allocations: 350.3 kB / 0.7578 GB, free: 69.45 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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 prepare postOptimizeDAE: time 0.001877/1.483, allocations: 0.5257 MB / 0.7583 GB, free: 69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009186/1.484, allocations: 304.5 kB / 0.7586 GB, free: 68.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.494, allocations: 5.032 MB / 0.7635 GB, free: 64.65 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.81e-05/1.494, allocations: 48.5 kB / 0.7635 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/1.494, allocations: 6.938 kB / 0.7635 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/1.494, allocations: 10.17 kB / 0.7636 GB, free: 64.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02751/1.522, allocations: 11.76 MB / 0.775 GB, free: 54.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-05/1.522, allocations: 8.969 kB / 0.775 GB, free: 54.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/1.524, allocations: 432.7 kB / 0.7755 GB, free: 54.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/1.527, allocations: 0.9126 MB / 0.7763 GB, free: 53.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004139/1.528, allocations: 58.66 kB / 0.7764 GB, free: 53.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/1.53, allocations: 2.268 MB / 0.7786 GB, free: 51.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.53, allocations: 11.94 kB / 0.7786 GB, free: 51.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/1.541, allocations: 8.134 MB / 0.7866 GB, free: 44.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/1.543, allocations: 339.6 kB / 0.7869 GB, free: 43.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009196/1.544, allocations: 53.34 kB / 0.7869 GB, free: 43.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/1.545, allocations: 141.6 kB / 0.7871 GB, free: 43.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/1.546, allocations: 168.3 kB / 0.7872 GB, free: 43.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002221/1.546, allocations: 72.45 kB / 0.7873 GB, free: 43.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003946/1.55, allocations: 1.776 MB / 0.789 GB, free: 41.89 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.55, allocations: 0 / 0.789 GB, free: 41.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006034/1.556, allocations: 1.046 MB / 0.7901 GB, free: 40.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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.0006499/1.557, allocations: 188.3 kB / 0.7902 GB, free: 40.67 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.568, allocations: 6.144 MB / 0.7962 GB, free: 35.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.568, allocations: 2 kB / 0.7963 GB, free: 35.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004677/1.572, allocations: 2.575 MB / 0.7988 GB, free: 32.78 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.576, allocations: 451.2 kB / 0.7992 GB, free: 32.42 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02203/1.598, allocations: 9.637 MB / 0.8086 GB, free: 23.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00815/1.606, allocations: 3.757 MB / 0.8123 GB, free: 20.35 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006264/1.612, allocations: 2.143 MB / 0.8144 GB, free: 18.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/1.613, allocations: 243.4 kB / 0.8146 GB, free: 17.98 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/1.613, allocations: 0 / 0.8146 GB, free: 17.98 MB / 474.7 MB Notification: Performance of Templates: time 0.07225/1.686, allocations: 33.4 MB / 0.8472 GB, free: 1.168 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)