Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001463/0.001463, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.475/1.475, allocations: 194.3 MB / 202.4 MB, free: 8.531 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.001666/0.001665, allocations: 110.2 kB / 247.4 MB, free: 6.242 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.2076/0.2076, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.775e-05/1.778e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 54.87 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4142/0.5303, allocations: 97.23 MB / 0.5326 GB, free: 3.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.5306, allocations: 71.47 kB / 0.5327 GB, free: 3.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.221/0.7516, allocations: 89.06 MB / 0.6197 GB, free: 1.668 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.7517, allocations: 0 / 0.6197 GB, free: 1.668 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002462/0.7519, allocations: 83.92 kB / 0.6198 GB, free: 1.586 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01759/0.7695, allocations: 4.258 MB / 0.6239 GB, free: 13.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.7696, allocations: 8.031 kB / 0.6239 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01643/0.786, allocations: 3.558 MB / 0.6274 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01297/0.7991, allocations: 4.663 MB / 0.6319 GB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/0.7993, allocations: 140 kB / 0.6321 GB, free: 4.832 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.8014, allocations: 256 kB / 0.6323 GB, free: 4.582 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01386/0.8153, allocations: 7.788 MB / 0.6399 GB, free: 12.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02473/0.8401, allocations: 10.19 MB / 0.6499 GB, free: 2.113 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/0.8403, allocations: 23.81 kB / 0.6499 GB, free: 2.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008202/0.8411, allocations: 16 kB / 0.6499 GB, free: 2.074 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001814/0.8429, allocations: 1.231 MB / 0.6511 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.294/1.137, allocations: 34.67 MB / 0.685 GB, free: 99.58 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/1.142, allocations: 4.014 MB / 0.6889 GB, free: 98.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002462/1.145, allocations: 2.077 MB / 0.6909 GB, free: 98.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009405/1.146, allocations: 1.32 MB / 0.6922 GB, free: 97.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/1.146, allocations: 53.44 kB / 0.6923 GB, free: 97.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=246): time 5.28e-06/1.146, allocations: 3.188 kB / 0.6923 GB, free: 97.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=266): time 0.02419/1.17, allocations: 12.02 MB / 0.704 GB, free: 96.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/1.17, allocations: 78.09 kB / 0.7041 GB, free: 96.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003504/1.173, allocations: 2.41 MB / 0.7064 GB, free: 95.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/1.174, allocations: 25.7 kB / 0.7065 GB, free: 95.95 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/1.175, allocations: 3.007 MB / 0.7094 GB, free: 94.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009173/1.176, allocations: 0.9612 MB / 0.7103 GB, free: 93.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.176, allocations: 0 / 0.7103 GB, free: 93.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002707/1.177, allocations: 0.5709 MB / 0.7109 GB, free: 93.54 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002491/1.179, allocations: 2.247 MB / 0.7131 GB, free: 93.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/1.183, allocations: 5.634 MB / 0.7186 GB, free: 89.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/1.187, allocations: 3.616 MB / 0.7221 GB, free: 88.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.653e-05/1.187, allocations: 35.62 kB / 0.7222 GB, free: 88.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01305/1.2, allocations: 8.061 MB / 0.73 GB, free: 86.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/1.2, allocations: 65.03 kB / 0.7301 GB, free: 86.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001108/1.2, allocations: 124 kB / 0.7302 GB, free: 86.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003496/1.204, allocations: 1.061 MB / 0.7312 GB, free: 86.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/1.208, allocations: 1.421 MB / 0.7326 GB, free: 85.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/1.21, allocations: 2.4 MB / 0.735 GB, free: 84.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003433/1.213, allocations: 208.9 kB / 0.7352 GB, free: 84.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004603/1.214, allocations: 362.7 kB / 0.7355 GB, free: 84.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * Number of states: 0 () * Number of discrete variables: 21 (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 (765): * Single equations (assignments): 756 * 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.0007034/1.214, allocations: 407.3 kB / 0.7359 GB, free: 83.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/1.215, allocations: 285.1 kB / 0.7362 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007922/1.223, allocations: 4.922 MB / 0.741 GB, free: 82.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.997e-05/1.223, allocations: 54.3 kB / 0.741 GB, free: 82.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.223, allocations: 0.6562 kB / 0.741 GB, free: 82.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.103e-05/1.223, allocations: 11.2 kB / 0.7411 GB, free: 82.25 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/1.241, allocations: 10.46 MB / 0.7513 GB, free: 78.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.782e-05/1.242, allocations: 7.5 kB / 0.7513 GB, free: 78.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/1.243, allocations: 431.2 kB / 0.7517 GB, free: 78.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/1.246, allocations: 0.9073 MB / 0.7526 GB, free: 78.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/1.247, allocations: 34.5 kB / 0.7526 GB, free: 78.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/1.249, allocations: 2.191 MB / 0.7547 GB, free: 77.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/1.249, allocations: 11.94 kB / 0.7548 GB, free: 77.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/1.259, allocations: 8.044 MB / 0.7626 GB, free: 69.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/1.26, allocations: 326.1 kB / 0.7629 GB, free: 69.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000811/1.261, allocations: 23.89 kB / 0.7629 GB, free: 69.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/1.262, allocations: 105.6 kB / 0.763 GB, free: 69.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003126/1.263, allocations: 165.1 kB / 0.7632 GB, free: 69.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/1.263, allocations: 80.33 kB / 0.7633 GB, free: 69.13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002324/1.265, allocations: 1.567 MB / 0.7648 GB, free: 67.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.265, allocations: 0 / 0.7648 GB, free: 67.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006213/1.272, allocations: 0.8834 MB / 0.7657 GB, free: 66.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 208 * 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.000765/1.272, allocations: 160.5 kB / 0.7658 GB, free: 66.74 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008686/1.281, allocations: 5.954 MB / 0.7716 GB, free: 61.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.281, allocations: 0 / 0.7716 GB, free: 61.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003655/1.285, allocations: 2.546 MB / 0.7741 GB, free: 59.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/1.287, allocations: 282.3 kB / 0.7744 GB, free: 58.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.301, allocations: 9.269 MB / 0.7834 GB, free: 50.56 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003097/1.305, allocations: 3.591 MB / 0.787 GB, free: 47.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004569/1.309, allocations: 2.225 MB / 0.7891 GB, free: 46.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007812/1.31, allocations: 241.4 kB / 0.7894 GB, free: 46.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/1.31, allocations: 4 kB / 0.7894 GB, free: 46.17 MB / 474.7 MB Notification: Performance of Templates: time 0.05064/1.361, allocations: 28.62 MB / 0.8173 GB, free: 22.05 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)