Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001504/0.001504, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.464/1.464, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001735/0.001735, allocations: 110.8 kB / 223.2 MB, free: 4.109 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.1877/0.1877, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.73e-05, allocations: 11.98 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08354, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4513, allocations: 94.88 MB / 0.4888 GB, free: 16.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4516, allocations: 75.05 kB / 0.4889 GB, free: 16.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2413/0.6929, allocations: 97.51 MB / 0.5841 GB, free: 2.945 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6929, allocations: 0 / 0.5841 GB, free: 2.945 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002426/0.6932, allocations: 99.88 kB / 0.5842 GB, free: 2.848 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.01897/0.7122, allocations: 4.633 MB / 0.5888 GB, free: 14.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.7123, allocations: 8.031 kB / 0.5888 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.7293, allocations: 3.62 MB / 0.5923 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/0.7434, allocations: 4.901 MB / 0.5971 GB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.744, allocations: 373.8 kB / 0.5974 GB, free: 5.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/0.7468, allocations: 499.8 kB / 0.5979 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/0.781, allocations: 12.1 MB / 0.6097 GB, free: 8.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003743/0.7814, allocations: 39.73 kB / 0.6098 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003297/0.7848, allocations: 223.8 kB / 0.61 GB, free: 7.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002337/0.7871, allocations: 1.31 MB / 0.6113 GB, free: 6.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2523/1.039, allocations: 11.35 MB / 0.6224 GB, free: 85.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06243/1.102, allocations: 41.88 MB / 0.6633 GB, free: 69.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009328/1.111, allocations: 4.923 MB / 0.6681 GB, free: 67.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/1.114, allocations: 2.351 MB / 0.6704 GB, free: 66.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01211/1.127, allocations: 6.55 MB / 0.6768 GB, free: 63.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/1.127, allocations: 51.94 kB / 0.6768 GB, free: 63.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 5.099e-06/1.127, allocations: 3.375 kB / 0.6768 GB, free: 63.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.03021/1.157, allocations: 13.61 MB / 0.6901 GB, free: 58.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/1.157, allocations: 73.94 kB / 0.6902 GB, free: 58.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004465/1.161, allocations: 2.817 MB / 0.6929 GB, free: 57.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.162, allocations: 50.03 kB / 0.693 GB, free: 57.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.163, allocations: 3.282 MB / 0.6962 GB, free: 55.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/1.164, allocations: 0.8949 MB / 0.6971 GB, free: 54.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004394/1.165, allocations: 124.3 kB / 0.6972 GB, free: 54.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004012/1.165, allocations: 0.5627 MB / 0.6977 GB, free: 54.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/1.169, allocations: 2.327 MB / 0.7 GB, free: 53.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004319/1.173, allocations: 5.698 MB / 0.7056 GB, free: 48.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/1.177, allocations: 3.673 MB / 0.7091 GB, free: 47.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.833e-05/1.177, allocations: 33.31 kB / 0.7092 GB, free: 47.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01403/1.191, allocations: 8.816 MB / 0.7178 GB, free: 42.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-05/1.192, allocations: 56 kB / 0.7178 GB, free: 42.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001646/1.192, allocations: 120 kB / 0.718 GB, free: 42.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/1.195, allocations: 1.157 MB / 0.7191 GB, free: 41.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004711/1.2, allocations: 1.381 MB / 0.7204 GB, free: 40.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004963/1.205, allocations: 4.572 MB / 0.7249 GB, free: 36.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005182/1.21, allocations: 328 kB / 0.7252 GB, free: 35.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001552/1.212, allocations: 356.1 kB / 0.7255 GB, free: 35.45 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 734 * 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: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.00239/1.214, allocations: 0.5344 MB / 0.7261 GB, free: 34.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007493/1.215, allocations: 307 kB / 0.7264 GB, free: 34.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007739/1.222, allocations: 4.397 MB / 0.7307 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.742e-05/1.223, allocations: 43.61 kB / 0.7307 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.223, allocations: 4 kB / 0.7307 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/1.223, allocations: 7.266 kB / 0.7307 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01889/1.242, allocations: 10.42 MB / 0.7409 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/1.242, allocations: 7.938 kB / 0.7409 GB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001696/1.243, allocations: 390.1 kB / 0.7413 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/1.245, allocations: 0.6681 MB / 0.7419 GB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/1.245, allocations: 50.94 kB / 0.742 GB, free: 21.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/1.248, allocations: 2.409 MB / 0.7443 GB, free: 19.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.248, allocations: 11.3 kB / 0.7443 GB, free: 19.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008762/1.257, allocations: 7.13 MB / 0.7513 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009006/1.258, allocations: 355.7 kB / 0.7516 GB, free: 12.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006402/1.258, allocations: 46.69 kB / 0.7517 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/1.26, allocations: 142.9 kB / 0.7518 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/1.26, allocations: 131.7 kB / 0.7519 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.26, allocations: 63.84 kB / 0.752 GB, free: 11.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003167/1.263, allocations: 1.901 MB / 0.7539 GB, free: 10.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.263, allocations: 0 / 0.7539 GB, free: 10.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006067/1.269, allocations: 1.075 MB / 0.7549 GB, free: 9.195 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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.0007198/1.27, allocations: 186.7 kB / 0.7551 GB, free: 9.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009008/1.279, allocations: 5.73 MB / 0.7607 GB, free: 3.809 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.279, allocations: 4.375 kB / 0.7607 GB, free: 3.805 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003866/1.283, allocations: 2.4 MB / 0.763 GB, free: 1.625 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002783/1.286, allocations: 413.9 kB / 0.7634 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02346/1.309, allocations: 9.729 MB / 0.7729 GB, free: 9.273 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006341/1.316, allocations: 3.826 MB / 0.7767 GB, free: 5.434 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006434/1.322, allocations: 2.057 MB / 0.7787 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.324, allocations: 239.4 kB / 0.7789 GB, free: 3.156 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/1.324, allocations: 0 / 0.7789 GB, free: 3.156 MB / 442.7 MB Notification: Performance of Templates: time 0.294/1.618, allocations: 34.14 MB / 0.8122 GB, free: 90.24 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.pipe 2>&1)