Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001124/0.001124, allocations: 196.7 kB / 16.14 MB, free: 6.648 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.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.73 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.3492/0.3492, allocations: 37.98 MB / 307.3 MB, free: 10.15 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.001349/0.001349, allocations: 68.11 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 56.46 MB / 431 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.3177/0.4453, allocations: 25.71 MB / 456.7 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.4608, allocations: 6.396 MB / 463.1 MB, free: 34.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006968/0.4678, allocations: 101.8 kB / 463.2 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002914/0.4708, allocations: 1.133 MB / 464.4 MB, free: 34.34 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.4754, allocations: 1.646 MB / 466 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.4768, allocations: 0.5098 MB / 466.5 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00538/0.4822, allocations: 5.418 MB / 471.9 MB, free: 32.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002265/0.4845, allocations: 1.741 MB / 473.7 MB, free: 31.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001608/0.4861, allocations: 1.011 MB / 474.7 MB, free: 31.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.4879, allocations: 1.783 MB / 476.5 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003353/0.4883, allocations: 153.2 kB / 476.6 MB, free: 31.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002579/0.4909, allocations: 1.328 MB / 477.9 MB, free: 30.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.4923, allocations: 1.55 MB / 479.5 MB, free: 30.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.4941, allocations: 1.803 MB / 481.3 MB, free: 29.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008243/0.5024, allocations: 5.915 MB / 487.2 MB, free: 27.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.5025, allocations: 0.6094 kB / 487.2 MB, free: 27.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.5025, allocations: 0 / 487.2 MB, free: 27.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000315/0.5028, allocations: 0 / 487.2 MB, free: 27.14 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.0134/0.5162, allocations: 4.121 MB / 491.3 MB, free: 24.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.755e-05/0.5163, allocations: 9.281 kB / 491.3 MB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02123/0.5375, allocations: 5.674 MB / 497 MB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007954/0.5456, allocations: 2.245 MB / 499.3 MB, free: 22.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/0.546, allocations: 178.5 kB / 499.4 MB, free: 22.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002475/0.5485, allocations: 309.2 kB / 499.7 MB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03185/0.5804, allocations: 10.73 MB / 0.4985 GB, free: 16.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.62e-05/0.5805, allocations: 23.34 kB / 0.4985 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004806/0.581, allocations: 110.5 kB / 0.4986 GB, free: 16.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004707/0.5858, allocations: 2.469 MB / 0.501 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/0.6077, allocations: 10.16 MB / 0.511 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07192/0.6796, allocations: 35.71 MB / 0.5458 GB, free: 3.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.6926, allocations: 5.594 MB / 0.5513 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003836/0.6965, allocations: 2.327 MB / 0.5536 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002115/0.6987, allocations: 1.875 MB / 0.5554 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.062e-05/0.6988, allocations: 52.5 kB / 0.5555 GB, free: 8.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=224): time 6.772e-06/0.6988, allocations: 4 kB / 0.5555 GB, free: 8.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=231): time 0.04435/0.7431, allocations: 14.97 MB / 0.5701 GB, free: 9.578 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001564/0.7447, allocations: 1.527 MB / 0.5716 GB, free: 7.891 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00674/0.7515, allocations: 2.806 MB / 0.5743 GB, free: 5.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007324/0.7523, allocations: 55.98 kB / 0.5744 GB, free: 5.012 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002741/0.755, allocations: 2.68 MB / 0.577 GB, free: 2.328 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/0.7568, allocations: 0.855 MB / 0.5778 GB, free: 1.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003492/0.7603, allocations: 1.103 MB / 0.5789 GB, free: 376 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.7604, allocations: 301.1 kB / 0.5792 GB, free: 72 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005172/0.7656, allocations: 2.638 MB / 0.5818 GB, free: 13.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008018/0.7736, allocations: 5.644 MB / 0.5873 GB, free: 6.312 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/0.7887, allocations: 8.942 MB / 0.596 GB, free: 11.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002771/0.7891, allocations: 28 kB / 0.596 GB, free: 11.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.06752/0.8566, allocations: 19.04 MB / 0.6146 GB, free: 8.801 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00021/0.8569, allocations: 48.94 kB / 0.6147 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4081/1.265, allocations: 12.02 MB / 0.6264 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04578/1.311, allocations: 10.28 MB / 0.6364 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006127/1.317, allocations: 1.313 MB / 0.6377 GB, free: 146.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/1.349, allocations: 16.06 MB / 0.6534 GB, free: 141.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006364/1.356, allocations: 438.2 kB / 0.6538 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.358, allocations: 323.2 kB / 0.6541 GB, free: 141.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * 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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00732/1.365, allocations: 2.026 MB / 0.6561 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.367, allocations: 272.2 kB / 0.6564 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/1.378, allocations: 5.107 MB / 0.6614 GB, free: 138.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009699/1.388, allocations: 4.413 MB / 0.6657 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.251e-05/1.388, allocations: 0 / 0.6657 GB, free: 136.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/1.388, allocations: 11.69 kB / 0.6657 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02807/1.416, allocations: 12.93 MB / 0.6783 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/1.416, allocations: 6.281 kB / 0.6783 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001944/1.418, allocations: 459.3 kB / 0.6788 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002884/1.421, allocations: 0.9347 MB / 0.6797 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/1.421, allocations: 55.03 kB / 0.6797 GB, free: 128.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006652/1.428, allocations: 5.457 MB / 0.685 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001004/1.429, allocations: 1.468 MB / 0.6865 GB, free: 121.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.441, allocations: 7.727 MB / 0.694 GB, free: 114.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.443, allocations: 334.3 kB / 0.6943 GB, free: 114 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008693/1.443, allocations: 43.98 kB / 0.6944 GB, free: 113.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001979/1.445, allocations: 191.7 kB / 0.6946 GB, free: 113.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004918/1.446, allocations: 144.9 kB / 0.6947 GB, free: 113.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.446, allocations: 74.94 kB / 0.6948 GB, free: 113.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004231/1.45, allocations: 1.732 MB / 0.6965 GB, free: 111.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.451, allocations: 0 / 0.6965 GB, free: 111.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00791/1.458, allocations: 1.104 MB / 0.6975 GB, free: 110.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008297/1.459, allocations: 191.6 kB / 0.6977 GB, free: 110.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01201/1.471, allocations: 6.613 MB / 0.7042 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.559e-05/1.471, allocations: 0 / 0.7042 GB, free: 103.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004127/1.476, allocations: 2.524 MB / 0.7067 GB, free: 101.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/1.48, allocations: 357.6 kB / 0.707 GB, free: 101 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02373/1.504, allocations: 11.92 MB / 0.7186 GB, free: 89.02 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006768/1.51, allocations: 3.17 MB / 0.7217 GB, free: 85.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005109/1.516, allocations: 2.06 MB / 0.7237 GB, free: 83.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007617/1.516, allocations: 215.4 kB / 0.7239 GB, free: 83.54 MB / 494.1 MB Notification: Performance of SimCode: time 4.218e-06/1.516, allocations: 0 / 0.7239 GB, free: 83.54 MB / 494.1 MB Notification: Performance of Templates: time 0.07369/1.59, allocations: 44.74 MB / 0.7676 GB, free: 38.82 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)