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.001079/0.00108, allocations: 164.4 kB / 7.635 MB, free: 1.418 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.297/1.297, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001761/0.001761, allocations: 105.2 kB / 218 MB, free: 8.344 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.2063/0.2063, allocations: 37.97 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.818e-05, allocations: 3.062 kB / 350 MB, free: 36.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1114, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.5251, allocations: 94.21 MB / 492.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.5254, allocations: 77.98 kB / 493 MB, free: 17.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2274/0.7528, allocations: 95.64 MB / 0.5749 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7529, allocations: 0 / 0.5749 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001917/0.7531, allocations: 92 kB / 0.575 GB, free: 14.3 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.01742/0.7705, allocations: 4.64 MB / 0.5795 GB, free: 9.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7706, allocations: 12.03 kB / 0.5795 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01626/0.7869, allocations: 3.62 MB / 0.583 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.8011, allocations: 4.89 MB / 0.5878 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.8014, allocations: 156 kB / 0.588 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002547/0.804, allocations: 291.9 kB / 0.5882 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01683/0.8208, allocations: 8.423 MB / 0.5965 GB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/0.8474, allocations: 11.12 MB / 0.6073 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002906/0.8478, allocations: 31.75 kB / 0.6074 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00234/0.8501, allocations: 16 kB / 0.6074 GB, free: 12.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002132/0.8523, allocations: 1.314 MB / 0.6087 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3683/1.221, allocations: 39.39 MB / 0.6471 GB, free: 74.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008083/1.229, allocations: 4.288 MB / 0.6513 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004016/1.233, allocations: 2.284 MB / 0.6535 GB, free: 72.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/1.234, allocations: 1.32 MB / 0.6548 GB, free: 71.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/1.234, allocations: 64.41 kB / 0.6549 GB, free: 71.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.905e-06/1.234, allocations: 0 / 0.6549 GB, free: 71.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=271): time 0.03119/1.265, allocations: 14.34 MB / 0.6689 GB, free: 69.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/1.265, allocations: 102.9 kB / 0.669 GB, free: 69.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00576/1.271, allocations: 2.592 MB / 0.6715 GB, free: 69.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004998/1.272, allocations: 25.7 kB / 0.6715 GB, free: 69.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002384/1.274, allocations: 3.288 MB / 0.6748 GB, free: 67.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001382/1.276, allocations: 0.9732 MB / 0.6757 GB, free: 66.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006484/1.276, allocations: 2.906 kB / 0.6757 GB, free: 66.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006028/1.277, allocations: 0.5846 MB / 0.6763 GB, free: 66.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003227/1.28, allocations: 2.34 MB / 0.6786 GB, free: 65.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004678/1.285, allocations: 5.938 MB / 0.6844 GB, free: 59.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/1.29, allocations: 3.765 MB / 0.688 GB, free: 58.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.799e-05/1.29, allocations: 36.12 kB / 0.6881 GB, free: 58.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01589/1.306, allocations: 8.481 MB / 0.6964 GB, free: 56.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/1.306, allocations: 57.78 kB / 0.6964 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001531/1.306, allocations: 130.2 kB / 0.6965 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/1.309, allocations: 1.141 MB / 0.6977 GB, free: 56.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/1.314, allocations: 1.487 MB / 0.6991 GB, free: 56.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/1.319, allocations: 4.485 MB / 0.7035 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005337/1.325, allocations: 213.2 kB / 0.7037 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002251/1.327, allocations: 383.2 kB / 0.7041 GB, free: 53.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * 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 (801): * Single equations (assignments): 793 * 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.002849/1.33, allocations: 427.9 kB / 0.7045 GB, free: 53.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/1.331, allocations: 303.9 kB / 0.7048 GB, free: 53.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009405/1.34, allocations: 4.782 MB / 0.7094 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.4e-05/1.341, allocations: 45.62 kB / 0.7095 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.666e-05/1.341, allocations: 3.969 kB / 0.7095 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.471e-05/1.341, allocations: 14.8 kB / 0.7095 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.363, allocations: 10.61 MB / 0.7198 GB, free: 44.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-05/1.363, allocations: 8 kB / 0.7199 GB, free: 44.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001959/1.365, allocations: 452 kB / 0.7203 GB, free: 44.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/1.367, allocations: 0.6524 MB / 0.7209 GB, free: 43.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003558/1.367, allocations: 26.86 kB / 0.7209 GB, free: 43.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/1.37, allocations: 2.349 MB / 0.7232 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/1.37, allocations: 11.94 kB / 0.7233 GB, free: 41.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/1.38, allocations: 8.016 MB / 0.7311 GB, free: 33.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.382, allocations: 347.8 kB / 0.7314 GB, free: 33.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009693/1.383, allocations: 19.47 kB / 0.7314 GB, free: 33.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/1.385, allocations: 117.4 kB / 0.7315 GB, free: 33.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003568/1.385, allocations: 164.3 kB / 0.7317 GB, free: 33.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/1.385, allocations: 75.03 kB / 0.7318 GB, free: 33.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003925/1.389, allocations: 1.687 MB / 0.7334 GB, free: 31.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.389, allocations: 0 / 0.7334 GB, free: 31.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008706/1.398, allocations: 0.9438 MB / 0.7343 GB, free: 30.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (222): * Single equations (assignments): 213 * 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.0008795/1.399, allocations: 170.9 kB / 0.7345 GB, free: 30.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009219/1.408, allocations: 5.767 MB / 0.7401 GB, free: 25.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.408, allocations: 0.75 kB / 0.7401 GB, free: 25.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003967/1.412, allocations: 2.521 MB / 0.7426 GB, free: 23.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/1.415, allocations: 316.2 kB / 0.7429 GB, free: 22.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/1.436, allocations: 9.821 MB / 0.7525 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005724/1.441, allocations: 3.834 MB / 0.7562 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006438/1.448, allocations: 2.272 MB / 0.7585 GB, free: 9.652 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.449, allocations: 246.8 kB / 0.7587 GB, free: 9.422 MB / 426.7 MB Notification: Performance of SimCode: time 2.455e-06/1.449, allocations: 0 / 0.7587 GB, free: 9.422 MB / 426.7 MB Notification: Performance of Templates: time 0.3171/1.766, allocations: 30.86 MB / 0.7888 GB, free: 97.4 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)