Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.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.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009714/0.009715, allocations: 164.8 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.483/1.483, allocations: 170.8 MB / 186.6 MB, free: 0.9727 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.00188/0.00188, allocations: 110.6 kB / 226.2 MB, free: 10.09 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.3717/0.3717, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1249, allocations: 48.71 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5695, allocations: 104.2 MB / 0.5037 GB, free: 15.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5699, allocations: 82.2 kB / 0.5038 GB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8095/1.379, allocations: 229.4 MB / 0.7278 GB, free: 19.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.379, allocations: 4 kB / 0.7278 GB, free: 19.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001051/1.38, allocations: 279.9 kB / 0.7281 GB, free: 18.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.06673/1.447, allocations: 14.52 MB / 0.7423 GB, free: 4.164 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.447, allocations: 8.031 kB / 0.7423 GB, free: 4.156 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.642/2.089, allocations: 10.85 MB / 0.7529 GB, free: 28.28 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04047/2.13, allocations: 15.54 MB / 0.7681 GB, free: 27.89 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/2.131, allocations: 1.082 MB / 0.7691 GB, free: 27.86 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007698/2.139, allocations: 1.447 MB / 0.7705 GB, free: 27.85 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08756/2.226, allocations: 32.29 MB / 0.8021 GB, free: 21.37 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001394/2.228, allocations: 153.8 kB / 0.8022 GB, free: 21.36 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007811/2.236, allocations: 0.6606 MB / 0.8029 GB, free: 21.36 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004013/2.24, allocations: 2.329 MB / 0.8051 GB, free: 21.33 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06/2.3, allocations: 25.97 MB / 0.8305 GB, free: 15.23 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7846/3.084, allocations: 130.7 MB / 0.9581 GB, free: 15.41 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03413/3.119, allocations: 12.48 MB / 0.9703 GB, free: 14.73 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005133/3.124, allocations: 4.846 MB / 0.975 GB, free: 10.74 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/3.124, allocations: 86.92 kB / 0.9751 GB, free: 10.7 MB / 490.9 MB Notification: Performance of pre-optimization done (n=435): time 7.895e-06/3.124, allocations: 1.188 kB / 0.9751 GB, free: 10.7 MB / 490.9 MB Notification: Performance of matching and sorting (n=569): time 0.4378/3.562, allocations: 135.8 MB / 1.108 GB, free: 6.066 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03705/3.599, allocations: 25.9 MB / 1.133 GB, free: 11.35 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02321/3.622, allocations: 8.436 MB / 1.141 GB, free: 3.02 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 0.002016/3.624, allocations: 108.9 kB / 1.141 GB, free: 2.91 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 0.31/3.934, allocations: 8.848 MB / 1.15 GB, free: 150.9 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.003669/3.938, allocations: 2.191 MB / 1.152 GB, free: 149.7 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001992/3.94, allocations: 322.1 kB / 1.152 GB, free: 149.7 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.00116/3.941, allocations: 0.9879 MB / 1.153 GB, free: 149.3 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01697/3.958, allocations: 9.386 MB / 1.163 GB, free: 149.3 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02211/3.98, allocations: 18.6 MB / 1.181 GB, free: 137.5 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/4.001, allocations: 12.83 MB / 1.193 GB, free: 137.4 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006128/4.001, allocations: 92.44 kB / 1.193 GB, free: 137.4 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.08916/4.091, allocations: 36.32 MB / 1.229 GB, free: 130.5 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008397/4.091, allocations: 145.3 kB / 1.229 GB, free: 130.5 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04795/4.139, allocations: 23.13 MB / 1.252 GB, free: 123.3 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03407/4.174, allocations: 10.6 MB / 1.262 GB, free: 121.5 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/4.189, allocations: 3.922 MB / 1.266 GB, free: 121 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05217/4.241, allocations: 51.01 MB / 1.316 GB, free: 80.95 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01807/4.259, allocations: 1.801 MB / 1.317 GB, free: 79.72 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004006/4.263, allocations: 0.9721 MB / 1.318 GB, free: 78.81 MB / 0.5575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1475 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1937): * Single equations (assignments): 1908 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01775/4.281, allocations: 6.199 MB / 1.324 GB, free: 73.34 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003093/4.284, allocations: 0.8793 MB / 1.325 GB, free: 72.45 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3359/4.62, allocations: 29.07 MB / 1.354 GB, free: 133.4 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06839/4.689, allocations: 27.28 MB / 1.38 GB, free: 133 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001481/4.689, allocations: 26.19 kB / 1.38 GB, free: 133 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000191/4.689, allocations: 28.73 kB / 1.38 GB, free: 133 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1336/4.823, allocations: 63.36 MB / 1.442 GB, free: 120.2 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.579e-05/4.823, allocations: 7.438 kB / 1.442 GB, free: 120.2 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005194/4.828, allocations: 1.015 MB / 1.443 GB, free: 120.2 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0474/4.875, allocations: 15.68 MB / 1.458 GB, free: 117.9 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002122/4.878, allocations: 186 kB / 1.459 GB, free: 117.8 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07472/4.952, allocations: 67.66 MB / 1.525 GB, free: 66.48 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3331/5.286, allocations: 25.7 MB / 1.55 GB, free: 127 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08793/5.373, allocations: 41.34 MB / 1.59 GB, free: 124.9 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003379/5.377, allocations: 0.9492 MB / 1.591 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003686/5.381, allocations: 135.3 kB / 1.591 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009492/5.39, allocations: 0.8981 MB / 1.592 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003273/5.393, allocations: 450.9 kB / 1.593 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001831/5.395, allocations: 185.1 kB / 1.593 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.01444/5.41, allocations: 5.867 MB / 1.598 GB, free: 124.6 MB / 0.5575 GB Notification: Performance of sort global known variables: time 9.52e-07/5.41, allocations: 0 / 1.598 GB, free: 124.6 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.02267/5.432, allocations: 4.408 MB / 1.603 GB, free: 124.6 MB / 0.5575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],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 (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002251/5.435, allocations: 287.6 kB / 1.603 GB, free: 124.5 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0364/5.471, allocations: 23.33 MB / 1.626 GB, free: 120.4 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/5.471, allocations: 4.094 kB / 1.626 GB, free: 120.4 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0199/5.491, allocations: 11.75 MB / 1.637 GB, free: 115.3 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008574/5.5, allocations: 1.339 MB / 1.639 GB, free: 114.9 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0823/5.582, allocations: 41.99 MB / 1.68 GB, free: 91.38 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02368/5.606, allocations: 9.424 MB / 1.689 GB, free: 84.57 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.01842/5.624, allocations: 5.074 MB / 1.694 GB, free: 81.23 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0045/5.629, allocations: 0.6952 MB / 1.694 GB, free: 80.64 MB / 0.5575 GB Notification: Performance of SimCode: time 7.72e-07/5.629, allocations: 0 / 1.694 GB, free: 80.64 MB / 0.5575 GB Notification: Performance of Templates: time 0.6054/6.234, allocations: 170.8 MB / 1.861 GB, free: 83 MB / 0.5575 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1)