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.001088/0.001088, allocations: 168.9 kB / 12.72 MB, free: 2.59 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.229/1.229, allocations: 170.6 MB / 183.8 MB, free: 11.44 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.001561/0.001561, allocations: 99.52 kB / 223.2 MB, free: 4.062 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.1769/0.1769, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.049e-05/3.051e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09758/0.09763, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/0.4458, allocations: 91.15 MB / 496.9 MB, free: 18.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.4461, allocations: 83.7 kB / 496.9 MB, free: 18.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2116/0.6576, allocations: 90.62 MB / 0.5738 GB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6577, allocations: 4 kB / 0.5738 GB, free: 13.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001612/0.6579, allocations: 79.98 kB / 0.5739 GB, free: 13.52 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01862/0.6765, allocations: 4.258 MB / 0.578 GB, free: 9.195 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.068e-05/0.6766, allocations: 12.03 kB / 0.578 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01647/0.6931, allocations: 3.566 MB / 0.5815 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01415/0.7072, allocations: 4.67 MB / 0.5861 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004011/0.7077, allocations: 332.6 kB / 0.5864 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002631/0.7103, allocations: 431.9 kB / 0.5868 GB, free: 132 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/0.737, allocations: 10.95 MB / 0.5975 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002424/0.7373, allocations: 23.81 kB / 0.5975 GB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002234/0.7395, allocations: 195.9 kB / 0.5977 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002035/0.7416, allocations: 1.235 MB / 0.5989 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/0.7651, allocations: 10.51 MB / 0.6092 GB, free: 8.711 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3092/1.074, allocations: 37.32 MB / 0.6456 GB, free: 73.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007397/1.082, allocations: 4.364 MB / 0.6499 GB, free: 72.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/1.085, allocations: 2.128 MB / 0.652 GB, free: 72.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009711/1.086, allocations: 1.322 MB / 0.6533 GB, free: 70.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.086, allocations: 56.81 kB / 0.6533 GB, free: 70.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 5.821e-06/1.086, allocations: 0 / 0.6533 GB, free: 70.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.0331/1.119, allocations: 11.16 MB / 0.6642 GB, free: 70.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/1.119, allocations: 75.78 kB / 0.6643 GB, free: 69.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/1.123, allocations: 2.48 MB / 0.6667 GB, free: 69.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005521/1.124, allocations: 59.17 kB / 0.6668 GB, free: 69.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.126, allocations: 2.935 MB / 0.6696 GB, free: 68.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00131/1.127, allocations: 0.9719 MB / 0.6706 GB, free: 67.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006579/1.128, allocations: 114 kB / 0.6707 GB, free: 67.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006123/1.128, allocations: 0.5565 MB / 0.6712 GB, free: 67.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003633/1.132, allocations: 2.285 MB / 0.6735 GB, free: 67.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/1.137, allocations: 5.426 MB / 0.6788 GB, free: 62.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004579/1.141, allocations: 3.563 MB / 0.6823 GB, free: 61.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.472e-05/1.141, allocations: 29.72 kB / 0.6823 GB, free: 61.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01515/1.156, allocations: 8.442 MB / 0.6905 GB, free: 59.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/1.157, allocations: 58.42 kB / 0.6906 GB, free: 59.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001763/1.157, allocations: 107.7 kB / 0.6907 GB, free: 59.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003603/1.16, allocations: 1.055 MB / 0.6917 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004775/1.165, allocations: 1.33 MB / 0.693 GB, free: 58.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/1.168, allocations: 2.457 MB / 0.6954 GB, free: 57.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004814/1.173, allocations: 316.7 kB / 0.6957 GB, free: 57.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.174, allocations: 345.9 kB / 0.696 GB, free: 57.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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 (719): * Single equations (assignments): 710 * 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.001872/1.176, allocations: 0.5238 MB / 0.6966 GB, free: 56.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/1.177, allocations: 282.7 kB / 0.6968 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009576/1.186, allocations: 5.015 MB / 0.7017 GB, free: 54.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.049e-05/1.186, allocations: 55.62 kB / 0.7018 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/1.186, allocations: 2.969 kB / 0.7018 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-05/1.186, allocations: 7.219 kB / 0.7018 GB, free: 54.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/1.21, allocations: 11.58 MB / 0.7131 GB, free: 48.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.21, allocations: 8 kB / 0.7131 GB, free: 48.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/1.212, allocations: 417.7 kB / 0.7135 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003274/1.215, allocations: 0.9127 MB / 0.7144 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003408/1.215, allocations: 67.47 kB / 0.7145 GB, free: 47.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/1.218, allocations: 2.273 MB / 0.7167 GB, free: 45.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.425e-06/1.218, allocations: 11.94 kB / 0.7167 GB, free: 45.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.229, allocations: 8.081 MB / 0.7246 GB, free: 38.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008617/1.23, allocations: 339.3 kB / 0.7249 GB, free: 37.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007038/1.231, allocations: 49.5 kB / 0.7249 GB, free: 37.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/1.233, allocations: 144.2 kB / 0.7251 GB, free: 37.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/1.233, allocations: 157.8 kB / 0.7252 GB, free: 37.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/1.233, allocations: 81.11 kB / 0.7253 GB, free: 37.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0035/1.237, allocations: 1.683 MB / 0.727 GB, free: 35.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.237, allocations: 0 / 0.727 GB, free: 35.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005717/1.242, allocations: 1.011 MB / 0.7279 GB, free: 34.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (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.000795/1.243, allocations: 198.1 kB / 0.7281 GB, free: 34.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01109/1.254, allocations: 6.065 MB / 0.7341 GB, free: 29.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.254, allocations: 0 / 0.7341 GB, free: 29.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004442/1.259, allocations: 2.578 MB / 0.7366 GB, free: 26.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/1.261, allocations: 384 kB / 0.7369 GB, free: 26.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01913/1.28, allocations: 9.303 MB / 0.746 GB, free: 18.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004744/1.285, allocations: 3.591 MB / 0.7495 GB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005047/1.29, allocations: 2.086 MB / 0.7516 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008808/1.291, allocations: 237.4 kB / 0.7518 GB, free: 13.92 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/1.291, allocations: 0 / 0.7518 GB, free: 13.92 MB / 426.7 MB Notification: Performance of Templates: time 0.2903/1.581, allocations: 31.64 MB / 0.7827 GB, free: 100.4 MB / 442.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)