Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.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.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 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.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001196/0.001196, allocations: 194.7 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.1 MB / 222 MB, free: 5.008 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3794/0.3794, allocations: 37.99 MB / 307.3 MB, free: 9.766 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.1. 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.001354/0.001354, allocations: 70.39 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1447, allocations: 56.46 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.3459/0.4907, allocations: 29.62 MB / 460.6 MB, free: 34.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01951/0.5103, allocations: 6.93 MB / 467.6 MB, free: 33.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007945/0.5183, allocations: 119.3 kB / 467.7 MB, free: 33.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003422/0.5218, allocations: 1.168 MB / 468.8 MB, free: 33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005382/0.5272, allocations: 1.704 MB / 470.6 MB, free: 32.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.5287, allocations: 460.8 kB / 471 MB, free: 32.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006504/0.5352, allocations: 5.671 MB / 476.7 MB, free: 31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003121/0.5384, allocations: 1.822 MB / 478.5 MB, free: 30.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002229/0.5406, allocations: 1.053 MB / 479.5 MB, free: 30.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.5434, allocations: 1.866 MB / 481.4 MB, free: 29.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007069/0.5441, allocations: 160.1 kB / 481.6 MB, free: 29.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.5468, allocations: 1.093 MB / 482.7 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001771/0.5486, allocations: 1.637 MB / 484.3 MB, free: 28.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002338/0.5509, allocations: 1.902 MB / 486.2 MB, free: 27.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.562, allocations: 6.128 MB / 492.3 MB, free: 25.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.5621, allocations: 5.125 kB / 492.3 MB, free: 25.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.5621, allocations: 0 / 492.3 MB, free: 25.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004351/0.5625, allocations: 0 / 492.3 MB, free: 25.56 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: 1560 * Number of variables: 1560 Notification: Performance of Generate backend data structure: time 0.01764/0.5802, allocations: 4.319 MB / 496.7 MB, free: 23.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.5803, allocations: 9.625 kB / 496.7 MB, free: 23.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/0.5939, allocations: 3.171 MB / 499.8 MB, free: 22.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006765/0.6007, allocations: 2.162 MB / 0.4902 GB, free: 21.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.601, allocations: 190.1 kB / 0.4904 GB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.6026, allocations: 342.7 kB / 0.4907 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.6268, allocations: 10.78 MB / 0.5013 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.627, allocations: 27.5 kB / 0.5013 GB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004759/0.6275, allocations: 118.1 kB / 0.5014 GB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004408/0.6319, allocations: 2.566 MB / 0.5039 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02438/0.6563, allocations: 10.29 MB / 0.514 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06561/0.722, allocations: 35.87 MB / 0.549 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009159/0.7312, allocations: 4.423 MB / 0.5533 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003724/0.735, allocations: 2.206 MB / 0.5555 GB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.7364, allocations: 1.325 MB / 0.5568 GB, free: 9.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.7364, allocations: 56.56 kB / 0.5568 GB, free: 9.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=245): time 5.7e-06/0.7365, allocations: 0 / 0.5568 GB, free: 9.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=261): time 0.04986/0.7863, allocations: 17.06 MB / 0.5735 GB, free: 8.383 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001866/0.7883, allocations: 1.523 MB / 0.575 GB, free: 6.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005163/0.7935, allocations: 2.786 MB / 0.5777 GB, free: 3.898 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008988/0.7944, allocations: 59.81 kB / 0.5777 GB, free: 3.836 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002396/0.7968, allocations: 2.738 MB / 0.5804 GB, free: 1.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/0.7987, allocations: 0.9611 MB / 0.5814 GB, free: 144 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002014/0.8007, allocations: 1.145 MB / 0.5825 GB, free: 14.99 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8008, allocations: 301.1 kB / 0.5828 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003889/0.8047, allocations: 2.482 MB / 0.5852 GB, free: 12.21 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007387/0.8121, allocations: 5.529 MB / 0.5906 GB, free: 5.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/0.8252, allocations: 8.705 MB / 0.5991 GB, free: 11.01 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.671e-05/0.8253, allocations: 32 kB / 0.5991 GB, free: 10.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=762) (initialization): time 0.02618/0.8515, allocations: 9.873 MB / 0.6088 GB, free: 1.09 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.8517, allocations: 53.91 kB / 0.6088 GB, free: 1.039 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01584/0.8676, allocations: 4.912 MB / 0.6136 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/0.8794, allocations: 2.37 MB / 0.6159 GB, free: 9.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006065/0.8856, allocations: 1.31 MB / 0.6172 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/0.8947, allocations: 5.836 MB / 0.6229 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006559/0.9014, allocations: 399.6 kB / 0.6233 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/0.9036, allocations: 331.2 kB / 0.6236 GB, free: 1.602 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 481 * Number of states: 0 () * Number of discrete variables: 24 (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],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.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 (700): * Single equations (assignments): 688 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.3828/1.286, allocations: 2.105 MB / 0.6256 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008747/1.287, allocations: 282.1 kB / 0.6259 GB, free: 148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/1.298, allocations: 5.441 MB / 0.6312 GB, free: 147.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008341/1.306, allocations: 4.697 MB / 0.6358 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/1.306, allocations: 6.625 kB / 0.6358 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.923e-05/1.306, allocations: 16.59 kB / 0.6358 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02788/1.334, allocations: 14.74 MB / 0.6502 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/1.334, allocations: 13.22 kB / 0.6502 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/1.336, allocations: 430.2 kB / 0.6507 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004801/1.341, allocations: 1.241 MB / 0.6519 GB, free: 141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006398/1.342, allocations: 65.89 kB / 0.6519 GB, free: 140.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005958/1.348, allocations: 4.421 MB / 0.6562 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009597/1.349, allocations: 1.477 MB / 0.6577 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/1.367, allocations: 8.161 MB / 0.6657 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.369, allocations: 338.4 kB / 0.666 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/1.369, allocations: 57.66 kB / 0.666 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/1.371, allocations: 201.3 kB / 0.6662 GB, free: 133.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005617/1.371, allocations: 174.9 kB / 0.6664 GB, free: 133.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/1.372, allocations: 76.67 kB / 0.6665 GB, free: 133.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00442/1.376, allocations: 1.715 MB / 0.6681 GB, free: 132.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.413e-06/1.376, allocations: 0 / 0.6681 GB, free: 132.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008977/1.385, allocations: 1.085 MB / 0.6692 GB, free: 132.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[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 (202): * Single equations (assignments): 192 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007313/1.386, allocations: 206.3 kB / 0.6694 GB, free: 132.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01312/1.399, allocations: 6.583 MB / 0.6758 GB, free: 130.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.947e-05/1.399, allocations: 3.938 kB / 0.6758 GB, free: 130.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005331/1.404, allocations: 2.897 MB / 0.6787 GB, free: 129.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/1.409, allocations: 386.8 kB / 0.679 GB, free: 128.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0237/1.432, allocations: 12.83 MB / 0.6916 GB, free: 118.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003836/1.436, allocations: 3.308 MB / 0.6948 GB, free: 114.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004843/1.441, allocations: 2.113 MB / 0.6969 GB, free: 112.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008293/1.442, allocations: 227.4 kB / 0.6971 GB, free: 112.4 MB / 494.1 MB Notification: Performance of SimCode: time 2.474e-06/1.442, allocations: 4 kB / 0.6971 GB, free: 112.4 MB / 494.1 MB Notification: Performance of Templates: time 0.06535/1.507, allocations: 36.37 MB / 0.7326 GB, free: 76.11 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)