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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009678/0.0009676, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 222.1 MB, free: 5.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4096/0.4096, allocations: 40 MB / 310.4 MB, free: 9.93 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.0005989, allocations: 16 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1524, allocations: 57.96 MB / 436.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5): time 0.3185/0.471, allocations: 41.79 MB / 478.6 MB, free: 29.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02426/0.4953, allocations: 9.351 MB / 487.9 MB, free: 22.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01319/0.5085, allocations: 194.4 kB / 488.1 MB, free: 22.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006654/0.5152, allocations: 1.765 MB / 489.9 MB, free: 22.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01878/0.534, allocations: 5.091 MB / 495 MB, free: 20.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.5374, allocations: 465 kB / 495.4 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00767/0.5451, allocations: 4.525 MB / 500 MB, free: 18.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00785/0.553, allocations: 4.176 MB / 0.4923 GB, free: 16.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.5561, allocations: 1.193 MB / 0.4935 GB, free: 16.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/0.5596, allocations: 1.911 MB / 0.4954 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006723/0.5603, allocations: 153 kB / 0.4955 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.5629, allocations: 0.8778 MB / 0.4964 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002795/0.5657, allocations: 1.751 MB / 0.4981 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001373/0.5671, allocations: 0.8888 MB / 0.4989 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00891/0.576, allocations: 6.026 MB / 0.5048 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.576, allocations: 0 / 0.5048 GB, free: 11.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.576, allocations: 0 / 0.5048 GB, free: 11.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002987/0.5763, allocations: 0.9062 kB / 0.5048 GB, free: 11.77 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01404/0.5904, allocations: 4.332 MB / 0.5091 GB, free: 8.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.5904, allocations: 8.312 kB / 0.5091 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01175/0.6022, allocations: 3.259 MB / 0.5122 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006808/0.6091, allocations: 2.287 MB / 0.5145 GB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.6093, allocations: 251.3 kB / 0.5147 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/0.6105, allocations: 334.5 kB / 0.515 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/0.6312, allocations: 11.88 MB / 0.5266 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.627e-05/0.6314, allocations: 19.81 kB / 0.5267 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005129/0.6319, allocations: 155.8 kB / 0.5268 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003986/0.6359, allocations: 2.649 MB / 0.5294 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/0.6587, allocations: 10.95 MB / 0.5401 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07657/0.7353, allocations: 37.55 MB / 0.5768 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/0.7452, allocations: 4.409 MB / 0.5811 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00435/0.7496, allocations: 2.158 MB / 0.5832 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001511/0.7512, allocations: 1.307 MB / 0.5844 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.174e-05/0.7513, allocations: 56.52 kB / 0.5845 GB, free: 14.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=244): time 6.793e-06/0.7513, allocations: 7.938 kB / 0.5845 GB, free: 14.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.04581/0.7971, allocations: 13.87 MB / 0.598 GB, free: 0.9453 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.7972, allocations: 73.41 kB / 0.5981 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/0.8024, allocations: 2.977 MB / 0.601 GB, free: 13.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005619/0.803, allocations: 57.7 kB / 0.6011 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/0.8053, allocations: 3.108 MB / 0.6041 GB, free: 10.65 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001558/0.8069, allocations: 0.979 MB / 0.6051 GB, free: 9.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.8072, allocations: 128 kB / 0.6052 GB, free: 9.535 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003954/0.8076, allocations: 0.5624 MB / 0.6057 GB, free: 8.965 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003935/0.8115, allocations: 2.378 MB / 0.6081 GB, free: 6.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006071/0.8176, allocations: 5.678 MB / 0.6136 GB, free: 15.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005441/0.8231, allocations: 3.677 MB / 0.6172 GB, free: 11.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-05/0.8232, allocations: 32 kB / 0.6172 GB, free: 11.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=801) (initialization): time 0.01874/0.8419, allocations: 8.767 MB / 0.6258 GB, free: 2.781 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.8421, allocations: 59.95 kB / 0.6259 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001626/0.8423, allocations: 112.8 kB / 0.626 GB, free: 2.613 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00326/0.8455, allocations: 1.064 MB / 0.627 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005539/0.8511, allocations: 1.38 MB / 0.6283 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3332/1.184, allocations: 2.47 MB / 0.6308 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007173/1.191, allocations: 320.3 kB / 0.6311 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002001/1.194, allocations: 349.6 kB / 0.6314 GB, free: 108.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 523 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (748): * Single equations (assignments): 739 * 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.00594/1.199, allocations: 2.368 MB / 0.6337 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007311/1.2, allocations: 305.8 kB / 0.634 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009031/1.209, allocations: 5.081 MB / 0.639 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/1.209, allocations: 46.23 kB / 0.639 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.209, allocations: 2.203 kB / 0.639 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.209, allocations: 8.719 kB / 0.639 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0221/1.232, allocations: 11.76 MB / 0.6505 GB, free: 107.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.526e-05/1.232, allocations: 8.344 kB / 0.6505 GB, free: 107.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.234, allocations: 425.4 kB / 0.6509 GB, free: 107.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/1.237, allocations: 0.9109 MB / 0.6518 GB, free: 107.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005859/1.238, allocations: 59.39 kB / 0.6519 GB, free: 107.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/1.241, allocations: 2.272 MB / 0.6541 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/1.241, allocations: 10.78 kB / 0.6541 GB, free: 106.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.255, allocations: 7.529 MB / 0.6614 GB, free: 105.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/1.256, allocations: 345.3 kB / 0.6618 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007572/1.257, allocations: 51.81 kB / 0.6618 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.259, allocations: 136.9 kB / 0.662 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004063/1.259, allocations: 160.6 kB / 0.6621 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002026/1.259, allocations: 85.73 kB / 0.6622 GB, free: 105.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003333/1.262, allocations: 1.806 MB / 0.664 GB, free: 105.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.262, allocations: 0 / 0.664 GB, free: 105.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006571/1.269, allocations: 1.039 MB / 0.665 GB, free: 105.2 MB / 494.1 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.0006531/1.27, allocations: 202.6 kB / 0.6652 GB, free: 105.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01095/1.281, allocations: 6.241 MB / 0.6713 GB, free: 104.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/1.281, allocations: 7.969 kB / 0.6713 GB, free: 104.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004122/1.285, allocations: 2.594 MB / 0.6738 GB, free: 103.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.288, allocations: 0.4896 MB / 0.6743 GB, free: 103.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.31, allocations: 13.56 MB / 0.6875 GB, free: 94.58 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004888/1.315, allocations: 3.66 MB / 0.6911 GB, free: 91.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004772/1.319, allocations: 2.143 MB / 0.6932 GB, free: 90.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007554/1.32, allocations: 247.4 kB / 0.6934 GB, free: 89.92 MB / 494.1 MB Notification: Performance of SimCode: time 1.633e-06/1.32, allocations: 4 kB / 0.6934 GB, free: 89.92 MB / 494.1 MB Notification: Performance of Templates: time 0.05753/1.378, allocations: 33.4 MB / 0.726 GB, free: 56.72 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: