Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001464/0.001464, allocations: 165.2 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.262/1.262, 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.00155/0.00155, allocations: 103.5 kB / 218 MB, free: 8.41 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.2488/0.2488, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.441e-05/2.443e-05, allocations: 3.688 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 48.72 MB / 398.7 MB, free: 5.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.534, allocations: 90.5 MB / 489.2 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.5342, allocations: 73.23 kB / 489.3 MB, free: 17.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2121/0.7464, allocations: 89.04 MB / 0.5648 GB, free: 8.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7464, allocations: 0 / 0.5648 GB, free: 8.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002449/0.7467, allocations: 76 kB / 0.5649 GB, free: 8.707 MB / 378.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.019/0.7657, allocations: 4.259 MB / 0.569 GB, free: 4.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.7658, allocations: 8.031 kB / 0.569 GB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.7831, allocations: 3.566 MB / 0.5725 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.7973, allocations: 4.663 MB / 0.5771 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.7977, allocations: 144 kB / 0.5772 GB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002738/0.8004, allocations: 248 kB / 0.5774 GB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01708/0.8175, allocations: 7.78 MB / 0.585 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02776/0.8453, allocations: 10.2 MB / 0.595 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002691/0.8456, allocations: 31.73 kB / 0.595 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002401/0.848, allocations: 19.95 kB / 0.595 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002186/0.8502, allocations: 1.224 MB / 0.5962 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3665/1.217, allocations: 34.69 MB / 0.6301 GB, free: 81.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005471/1.222, allocations: 4.013 MB / 0.634 GB, free: 80.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0037/1.226, allocations: 2.078 MB / 0.6361 GB, free: 80.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/1.227, allocations: 1.313 MB / 0.6373 GB, free: 79.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/1.227, allocations: 55.64 kB / 0.6374 GB, free: 79.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=246): time 6.763e-06/1.227, allocations: 0 / 0.6374 GB, free: 79.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=266): time 0.02744/1.255, allocations: 12.02 MB / 0.6491 GB, free: 78.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/1.255, allocations: 76.58 kB / 0.6492 GB, free: 78.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004084/1.259, allocations: 2.4 MB / 0.6515 GB, free: 77.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005671/1.26, allocations: 29.31 kB / 0.6516 GB, free: 77.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001958/1.262, allocations: 3.011 MB / 0.6545 GB, free: 76.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/1.263, allocations: 0.9559 MB / 0.6554 GB, free: 75.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/1.263, allocations: 0 / 0.6554 GB, free: 75.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003423/1.263, allocations: 0.5752 MB / 0.656 GB, free: 75.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/1.266, allocations: 2.255 MB / 0.6582 GB, free: 75.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/1.27, allocations: 5.63 MB / 0.6637 GB, free: 71.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004649/1.275, allocations: 3.616 MB / 0.6672 GB, free: 71.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.487e-05/1.275, allocations: 38.03 kB / 0.6673 GB, free: 71.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01594/1.291, allocations: 8.053 MB / 0.6751 GB, free: 69.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002924/1.291, allocations: 61.73 kB / 0.6752 GB, free: 69.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002627/1.292, allocations: 125.9 kB / 0.6753 GB, free: 69.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/1.295, allocations: 1.062 MB / 0.6764 GB, free: 69.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005094/1.3, allocations: 1.42 MB / 0.6777 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002523/1.303, allocations: 2.398 MB / 0.6801 GB, free: 67.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/1.308, allocations: 219.7 kB / 0.6803 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.31, allocations: 363 kB / 0.6806 GB, free: 67.32 MB / 426.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.002372/1.312, allocations: 414.4 kB / 0.681 GB, free: 66.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008434/1.313, allocations: 280.5 kB / 0.6813 GB, free: 66.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/1.323, allocations: 4.918 MB / 0.6861 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/1.323, allocations: 51.62 kB / 0.6862 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/1.323, allocations: 0 / 0.6862 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/1.323, allocations: 10.69 kB / 0.6862 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02419/1.347, allocations: 10.46 MB / 0.6964 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.212e-05/1.347, allocations: 10.45 kB / 0.6964 GB, free: 61.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.349, allocations: 424 kB / 0.6968 GB, free: 61.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003373/1.353, allocations: 0.9076 MB / 0.6977 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004137/1.353, allocations: 35.05 kB / 0.6977 GB, free: 61.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/1.355, allocations: 2.188 MB / 0.6999 GB, free: 60.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.355, allocations: 11.75 kB / 0.6999 GB, free: 60.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.367, allocations: 8.046 MB / 0.7077 GB, free: 53.65 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.368, allocations: 329.2 kB / 0.708 GB, free: 53.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009266/1.369, allocations: 15 kB / 0.7081 GB, free: 53.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002054/1.371, allocations: 108.7 kB / 0.7082 GB, free: 53.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004073/1.372, allocations: 164.9 kB / 0.7083 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.372, allocations: 77.8 kB / 0.7084 GB, free: 53.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003696/1.376, allocations: 1.575 MB / 0.7099 GB, free: 51.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.376, allocations: 0 / 0.7099 GB, free: 51.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006222/1.382, allocations: 0.8792 MB / 0.7108 GB, free: 50.83 MB / 426.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.0006906/1.383, allocations: 157 kB / 0.7109 GB, free: 50.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.394, allocations: 5.944 MB / 0.7167 GB, free: 45.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/1.394, allocations: 0 / 0.7167 GB, free: 45.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004176/1.398, allocations: 2.552 MB / 0.7192 GB, free: 43.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/1.4, allocations: 279.9 kB / 0.7195 GB, free: 42.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/1.42, allocations: 9.265 MB / 0.7285 GB, free: 34.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003439/1.423, allocations: 3.587 MB / 0.732 GB, free: 31.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005041/1.428, allocations: 2.226 MB / 0.7342 GB, free: 30.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/1.429, allocations: 246.5 kB / 0.7345 GB, free: 30.14 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/1.429, allocations: 0 / 0.7345 GB, free: 30.14 MB / 426.7 MB Notification: Performance of Templates: time 0.05029/1.479, allocations: 28.62 MB / 0.7624 GB, free: 7.238 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)