Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00952/0.00952, allocations: 174.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.792/1.792, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.00182/0.001821, allocations: 116.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.221/0.221, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004467, allocations: 11.06 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4354/0.5569, allocations: 98.16 MB / 0.5461 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.5572, allocations: 83.8 kB / 0.5462 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2149/0.7722, allocations: 94.63 MB / 0.6386 GB, free: 4.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7722, allocations: 4 kB / 0.6386 GB, free: 4.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002021/0.7724, allocations: 91.98 kB / 0.6387 GB, free: 4.902 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01849/0.7909, allocations: 4.637 MB / 0.6432 GB, free: 200 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.284e-05/0.791, allocations: 12.03 kB / 0.6432 GB, free: 188 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01608/0.8071, allocations: 3.589 MB / 0.6467 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.8209, allocations: 4.831 MB / 0.6514 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003306/0.8213, allocations: 353.3 kB / 0.6518 GB, free: 7.348 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/0.8237, allocations: 471.8 kB / 0.6522 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/0.8486, allocations: 11.48 MB / 0.6634 GB, free: 10.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/0.8489, allocations: 31.72 kB / 0.6634 GB, free: 10.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.85, allocations: 207.9 kB / 0.6636 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001782/0.8518, allocations: 1.24 MB / 0.6649 GB, free: 9.457 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02077/0.8726, allocations: 10.96 MB / 0.6756 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06491/0.9376, allocations: 38.46 MB / 0.7131 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008412/0.946, allocations: 4.386 MB / 0.7174 GB, free: 2.516 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.9475, allocations: 1.327 MB / 0.7187 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.9476, allocations: 56.56 kB / 0.7187 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 5.841e-06/0.9476, allocations: 0 / 0.7187 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.278/1.226, allocations: 14.28 MB / 0.7327 GB, free: 116.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/1.226, allocations: 74.88 kB / 0.7328 GB, free: 116.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004374/1.23, allocations: 2.644 MB / 0.7353 GB, free: 116.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004658/1.231, allocations: 63.73 kB / 0.7354 GB, free: 116.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00155/1.232, allocations: 3.097 MB / 0.7384 GB, free: 114.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009653/1.233, allocations: 0.9839 MB / 0.7394 GB, free: 114 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/1.233, allocations: 113.2 kB / 0.7395 GB, free: 114 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002843/1.234, allocations: 0.563 MB / 0.7401 GB, free: 113.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/1.236, allocations: 2.363 MB / 0.7424 GB, free: 113.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004094/1.24, allocations: 5.632 MB / 0.7479 GB, free: 109.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004415/1.245, allocations: 3.661 MB / 0.7514 GB, free: 109.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.967e-05/1.245, allocations: 33.84 kB / 0.7515 GB, free: 109.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.01323/1.258, allocations: 8.713 MB / 0.76 GB, free: 108.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/1.258, allocations: 54.62 kB / 0.76 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-05/1.258, allocations: 115.2 kB / 0.7601 GB, free: 108.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003148/1.262, allocations: 1.062 MB / 0.7612 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004253/1.266, allocations: 1.367 MB / 0.7625 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/1.268, allocations: 2.504 MB / 0.765 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003968/1.272, allocations: 328 kB / 0.7653 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008791/1.273, allocations: 345.9 kB / 0.7656 GB, free: 107.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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.004386/1.277, allocations: 2.357 MB / 0.7679 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006084/1.278, allocations: 294.7 kB / 0.7682 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008632/1.287, allocations: 5.084 MB / 0.7731 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/1.287, allocations: 48.7 kB / 0.7732 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.08e-05/1.287, allocations: 0 / 0.7732 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/1.287, allocations: 10.73 kB / 0.7732 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/1.313, allocations: 11.81 MB / 0.7847 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/1.314, allocations: 7.031 kB / 0.7847 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/1.315, allocations: 431.3 kB / 0.7852 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003069/1.319, allocations: 0.9029 MB / 0.786 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003551/1.319, allocations: 59.66 kB / 0.7861 GB, free: 101.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.321, allocations: 2.309 MB / 0.7883 GB, free: 99.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.321, allocations: 12.22 kB / 0.7884 GB, free: 99.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01073/1.332, allocations: 8.186 MB / 0.7964 GB, free: 96.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.333, allocations: 360.9 kB / 0.7967 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000725/1.334, allocations: 46.08 kB / 0.7967 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/1.335, allocations: 146.6 kB / 0.7969 GB, free: 95.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/1.336, allocations: 157.1 kB / 0.797 GB, free: 95.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.336, allocations: 78.42 kB / 0.7971 GB, free: 95.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00391/1.34, allocations: 1.797 MB / 0.7989 GB, free: 94.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.34, allocations: 0 / 0.7989 GB, free: 94.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007127/1.347, allocations: 1.039 MB / 0.7999 GB, free: 93.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.0008322/1.348, allocations: 201.8 kB / 0.8001 GB, free: 93.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01073/1.359, allocations: 6.217 MB / 0.8061 GB, free: 88.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.504e-05/1.359, allocations: 0 / 0.8061 GB, free: 88.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004578/1.363, allocations: 2.601 MB / 0.8087 GB, free: 86.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003169/1.366, allocations: 470.5 kB / 0.8091 GB, free: 85.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.386, allocations: 13.48 MB / 0.8223 GB, free: 73.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004621/1.391, allocations: 3.751 MB / 0.826 GB, free: 70.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005248/1.396, allocations: 2.146 MB / 0.8281 GB, free: 69.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009457/1.397, allocations: 245.5 kB / 0.8283 GB, free: 68.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.153e-06/1.397, allocations: 0 / 0.8283 GB, free: 68.93 MB / 490.7 MB Notification: Performance of Templates: time 0.06043/1.458, allocations: 33.4 MB / 0.8609 GB, free: 43.38 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)