Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.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.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001082/0.001082, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.282/1.282, allocations: 170.7 MB / 178.7 MB, free: 6.977 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.001662/0.001662, allocations: 101.4 kB / 218 MB, free: 15.34 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.2022/0.2022, allocations: 37.96 MB / 295.1 MB, free: 2.098 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.442e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2784, allocations: 48.68 MB / 398.7 MB, free: 6.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.4212, allocations: 90.7 MB / 489.4 MB, free: 8.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.4215, allocations: 71.97 kB / 489.5 MB, free: 8.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4918/0.9133, allocations: 92.94 MB / 0.5688 GB, free: 96.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9134, allocations: 1.375 kB / 0.5688 GB, free: 96.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003682/0.9138, allocations: 87.17 kB / 0.5689 GB, free: 96.7 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.0221/0.9359, allocations: 4.493 MB / 0.5732 GB, free: 94.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/0.936, allocations: 14.5 kB / 0.5733 GB, free: 94.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.9531, allocations: 3.592 MB / 0.5768 GB, free: 94.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/0.9682, allocations: 4.808 MB / 0.5815 GB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003869/0.9686, allocations: 153.9 kB / 0.5816 GB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003655/0.9723, allocations: 278.1 kB / 0.5819 GB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01551/0.9878, allocations: 8.047 MB / 0.5897 GB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02575/1.014, allocations: 10.56 MB / 0.6 GB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002685/1.014, allocations: 35.09 kB / 0.6001 GB, free: 89.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002101/1.016, allocations: 11.78 kB / 0.6001 GB, free: 89.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00182/1.018, allocations: 1.238 MB / 0.6013 GB, free: 88.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0615/1.079, allocations: 35.73 MB / 0.6362 GB, free: 62.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/1.084, allocations: 3.804 MB / 0.6399 GB, free: 58.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/1.087, allocations: 2.076 MB / 0.6419 GB, free: 56.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.088, allocations: 1.33 MB / 0.6432 GB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.088, allocations: 52.56 kB / 0.6433 GB, free: 54.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 7.323e-06/1.088, allocations: 0 / 0.6433 GB, free: 54.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=273): time 0.02555/1.114, allocations: 11.23 MB / 0.6543 GB, free: 43.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.114, allocations: 73.41 kB / 0.6543 GB, free: 43.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00466/1.119, allocations: 2.525 MB / 0.6568 GB, free: 40.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005529/1.119, allocations: 25.7 kB / 0.6568 GB, free: 40.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00189/1.121, allocations: 3.189 MB / 0.6599 GB, free: 37.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001274/1.122, allocations: 0.9866 MB / 0.6609 GB, free: 36.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000715/1.123, allocations: 0 / 0.6609 GB, free: 36.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000536/1.124, allocations: 0.5827 MB / 0.6615 GB, free: 35.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003609/1.127, allocations: 2.351 MB / 0.6638 GB, free: 33.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005468/1.133, allocations: 5.844 MB / 0.6695 GB, free: 25.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005461/1.138, allocations: 3.772 MB / 0.6731 GB, free: 22.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/1.138, allocations: 39.95 kB / 0.6732 GB, free: 22.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.01716/1.156, allocations: 8.371 MB / 0.6814 GB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/1.156, allocations: 68.05 kB / 0.6814 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/1.156, allocations: 124 kB / 0.6815 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/1.16, allocations: 1.075 MB / 0.6826 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/1.165, allocations: 1.478 MB / 0.684 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.167, allocations: 2.407 MB / 0.6864 GB, free: 8.379 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004825/1.172, allocations: 215.7 kB / 0.6866 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001376/1.174, allocations: 379.9 kB / 0.687 GB, free: 7.797 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (793): * Single equations (assignments): 784 * 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.001849/1.175, allocations: 428.8 kB / 0.6874 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007903/1.176, allocations: 308 kB / 0.6877 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009816/1.186, allocations: 5.129 MB / 0.6927 GB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.993e-05/1.186, allocations: 47.89 kB / 0.6927 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.186, allocations: 4 kB / 0.6927 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/1.186, allocations: 11.95 kB / 0.6927 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02561/1.212, allocations: 10.84 MB / 0.7033 GB, free: 6.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/1.212, allocations: 8 kB / 0.7033 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.214, allocations: 451.4 kB / 0.7038 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00361/1.218, allocations: 0.9033 MB / 0.7046 GB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006903/1.219, allocations: 47.75 kB / 0.7047 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/1.221, allocations: 2.197 MB / 0.7068 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.239e-05/1.221, allocations: 11.94 kB / 0.7068 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2747/1.496, allocations: 8.323 MB / 0.715 GB, free: 97.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008321/1.497, allocations: 337 kB / 0.7153 GB, free: 97.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/1.497, allocations: 22.59 kB / 0.7153 GB, free: 97.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.499, allocations: 104.6 kB / 0.7154 GB, free: 97.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000352/1.499, allocations: 172.1 kB / 0.7156 GB, free: 97.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/1.499, allocations: 86.78 kB / 0.7157 GB, free: 97.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002956/1.502, allocations: 1.654 MB / 0.7173 GB, free: 97.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/1.502, allocations: 0 / 0.7173 GB, free: 97.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006716/1.509, allocations: 0.9217 MB / 0.7182 GB, free: 97.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 215 * 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.0008668/1.51, allocations: 158.4 kB / 0.7183 GB, free: 97.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01383/1.524, allocations: 6.169 MB / 0.7243 GB, free: 96.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.524, allocations: 1.656 kB / 0.7243 GB, free: 96.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004754/1.529, allocations: 2.637 MB / 0.7269 GB, free: 96.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.531, allocations: 349.4 kB / 0.7273 GB, free: 96.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/1.547, allocations: 9.707 MB / 0.7367 GB, free: 94.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0036/1.551, allocations: 3.768 MB / 0.7404 GB, free: 93.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004997/1.556, allocations: 2.273 MB / 0.7426 GB, free: 93.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008661/1.557, allocations: 267.5 kB / 0.7429 GB, free: 93.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/1.557, allocations: 4 kB / 0.7429 GB, free: 93.57 MB / 426.7 MB Notification: Performance of Templates: time 0.05598/1.613, allocations: 31.54 MB / 0.7737 GB, free: 89.15 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.pipe 2>&1)