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.005873/0.005873, allocations: 165.7 kB / 15.11 MB, free: 6.043 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.348/1.348, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001705/0.001705, allocations: 98.66 kB / 226.2 MB, free: 10.1 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.355/0.355, allocations: 38.05 MB / 303.7 MB, free: 42.69 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 16 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.5162, allocations: 91.25 MB / 0.491 GB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.5166, allocations: 83.05 kB / 0.4911 GB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2263/0.7429, allocations: 90.56 MB / 0.5796 GB, free: 6.707 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.743, allocations: 4 kB / 0.5796 GB, free: 6.703 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001766/0.7432, allocations: 76 kB / 0.5796 GB, free: 6.629 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.01938/0.7626, allocations: 4.394 MB / 0.5839 GB, free: 2.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.7627, allocations: 15.97 kB / 0.5839 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3109/1.074, allocations: 3.552 MB / 0.5874 GB, free: 82.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/1.088, allocations: 4.686 MB / 0.592 GB, free: 81.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/1.088, allocations: 332.8 kB / 0.5923 GB, free: 81.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003476/1.092, allocations: 435.6 kB / 0.5927 GB, free: 81.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/1.124, allocations: 11.04 MB / 0.6035 GB, free: 80.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003113/1.124, allocations: 29.72 kB / 0.6035 GB, free: 80.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002583/1.127, allocations: 196.4 kB / 0.6037 GB, free: 80.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/1.129, allocations: 1.227 MB / 0.6049 GB, free: 80.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03042/1.16, allocations: 10.68 MB / 0.6153 GB, free: 80.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08436/1.244, allocations: 37.33 MB / 0.6518 GB, free: 60.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/1.256, allocations: 4.393 MB / 0.6561 GB, free: 58.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.257, allocations: 1.324 MB / 0.6574 GB, free: 57.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.614e-05/1.257, allocations: 59.17 kB / 0.6574 GB, free: 57.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 9.949e-06/1.257, allocations: 0 / 0.6574 GB, free: 57.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.05084/1.308, allocations: 14.28 MB / 0.6714 GB, free: 52.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/1.308, allocations: 83.34 kB / 0.6715 GB, free: 52.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006046/1.314, allocations: 2.504 MB / 0.6739 GB, free: 51.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00052/1.315, allocations: 63.69 kB / 0.674 GB, free: 51.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002045/1.317, allocations: 2.922 MB / 0.6768 GB, free: 49.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001725/1.319, allocations: 0.9717 MB / 0.6778 GB, free: 48.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007788/1.319, allocations: 116.7 kB / 0.6779 GB, free: 48.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007461/1.32, allocations: 0.5558 MB / 0.6784 GB, free: 48.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004482/1.325, allocations: 2.332 MB / 0.6807 GB, free: 47.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00705/1.332, allocations: 5.463 MB / 0.686 GB, free: 42.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006354/1.338, allocations: 3.588 MB / 0.6895 GB, free: 41.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/1.338, allocations: 35.59 kB / 0.6896 GB, free: 41.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01803/1.356, allocations: 8.529 MB / 0.6979 GB, free: 35.67 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00018/1.357, allocations: 55.94 kB / 0.698 GB, free: 35.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002822/1.357, allocations: 108 kB / 0.6981 GB, free: 35.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003552/1.361, allocations: 1.057 MB / 0.6991 GB, free: 34.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004992/1.366, allocations: 1.329 MB / 0.7004 GB, free: 33.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002517/1.368, allocations: 2.489 MB / 0.7028 GB, free: 31.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/1.373, allocations: 317.4 kB / 0.7031 GB, free: 31.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.374, allocations: 335.5 kB / 0.7034 GB, free: 30.73 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 () * Number of clocked 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.006678/1.381, allocations: 2.264 MB / 0.7057 GB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/1.382, allocations: 280.3 kB / 0.7059 GB, free: 28.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0107/1.393, allocations: 5.063 MB / 0.7109 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.337e-05/1.393, allocations: 51.8 kB / 0.7109 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.426e-05/1.393, allocations: 4 kB / 0.7109 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-05/1.393, allocations: 10.27 kB / 0.7109 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/1.417, allocations: 11.6 MB / 0.7223 GB, free: 14.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/1.417, allocations: 12.44 kB / 0.7223 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.419, allocations: 427.8 kB / 0.7227 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003052/1.422, allocations: 0.9089 MB / 0.7236 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/1.423, allocations: 59.8 kB / 0.7236 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/1.425, allocations: 2.314 MB / 0.7259 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/1.425, allocations: 11.94 kB / 0.7259 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0112/1.436, allocations: 8.157 MB / 0.7339 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.438, allocations: 331.2 kB / 0.7342 GB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009006/1.438, allocations: 51.7 kB / 0.7342 GB, free: 3.633 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001989/1.44, allocations: 136.9 kB / 0.7344 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004361/1.441, allocations: 163 kB / 0.7345 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/1.441, allocations: 79.59 kB / 0.7346 GB, free: 3.371 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003772/1.445, allocations: 1.71 MB / 0.7363 GB, free: 1.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.445, allocations: 4 kB / 0.7363 GB, free: 1.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006115/1.451, allocations: 1.009 MB / 0.7372 GB, free: 0.8438 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 () * Number of clocked 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.0007224/1.452, allocations: 192.8 kB / 0.7374 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01204/1.464, allocations: 6.137 MB / 0.7434 GB, free: 10.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.464, allocations: 0 / 0.7434 GB, free: 10.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005527/1.469, allocations: 2.596 MB / 0.746 GB, free: 7.824 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.473, allocations: 397.2 kB / 0.7463 GB, free: 7.461 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.255/1.728, allocations: 12.95 MB / 0.759 GB, free: 83.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005734/1.733, allocations: 3.595 MB / 0.7625 GB, free: 82.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00541/1.739, allocations: 2.089 MB / 0.7645 GB, free: 82.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009316/1.74, allocations: 240.2 kB / 0.7648 GB, free: 82.47 MB / 442.7 MB Notification: Performance of SimCode: time 1.292e-06/1.74, allocations: 0 / 0.7648 GB, free: 82.47 MB / 442.7 MB Notification: Performance of Templates: time 0.07079/1.811, allocations: 31.62 MB / 0.7956 GB, free: 81.21 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)