Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00135/0.00135, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.451/1.451, allocations: 194.3 MB / 207.5 MB, free: 3.441 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001666/0.001666, allocations: 112.7 kB / 252.6 MB, free: 4.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2239/0.2239, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.614e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.6135, allocations: 110.9 MB / 0.5528 GB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.6138, allocations: 77.14 kB / 0.5529 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9365/1.55, allocations: 229.8 MB / 0.7773 GB, free: 63.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.116e-06/1.55, allocations: 0 / 0.7773 GB, free: 63.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008501/1.551, allocations: 283.9 kB / 0.7776 GB, free: 63.38 MB / 474.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.06477/1.616, allocations: 13.77 MB / 0.791 GB, free: 49.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.616, allocations: 12.03 kB / 0.7911 GB, free: 49.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04674/1.663, allocations: 10.92 MB / 0.8017 GB, free: 38.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04407/1.707, allocations: 15.52 MB / 0.8169 GB, free: 22.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001879/1.709, allocations: 1.083 MB / 0.8179 GB, free: 21.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01128/1.72, allocations: 1.445 MB / 0.8193 GB, free: 20.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1188/1.839, allocations: 31.99 MB / 0.8506 GB, free: 2.027 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001173/1.84, allocations: 150.6 kB / 0.8507 GB, free: 1.879 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00817/1.848, allocations: 0.656 MB / 0.8514 GB, free: 1.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.4141/2.263, allocations: 2.326 MB / 0.8536 GB, free: 73.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07398/2.337, allocations: 25.53 MB / 0.8786 GB, free: 73.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1984/2.535, allocations: 130.6 MB / 1.006 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04676/2.582, allocations: 13 MB / 1.019 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01058/2.593, allocations: 5.748 MB / 1.024 GB, free: 9.027 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005933/2.599, allocations: 4.845 MB / 1.029 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/2.599, allocations: 77.52 kB / 1.029 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=435): time 1.307e-05/2.599, allocations: 2.438 kB / 1.029 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569): time 0.7922/3.391, allocations: 112 MB / 1.139 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03129/3.422, allocations: 24.77 MB / 1.163 GB, free: 99.71 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02281/3.445, allocations: 8.334 MB / 1.171 GB, free: 92.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002179/3.448, allocations: 109 kB / 1.171 GB, free: 92.31 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.009355/3.457, allocations: 8.848 MB / 1.18 GB, free: 84.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.005666/3.463, allocations: 2.194 MB / 1.182 GB, free: 82.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004211/3.467, allocations: 319 kB / 1.182 GB, free: 82.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002757/3.47, allocations: 0.9898 MB / 1.183 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0222/3.492, allocations: 9.218 MB / 1.192 GB, free: 72.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03277/3.525, allocations: 18.42 MB / 1.21 GB, free: 50.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02337/3.548, allocations: 12.76 MB / 1.223 GB, free: 37.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005352/3.549, allocations: 92 kB / 1.223 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2101) (initialization): time 0.5106/4.059, allocations: 36.33 MB / 1.258 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008149/4.06, allocations: 144.2 kB / 1.258 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05473/4.115, allocations: 23.29 MB / 1.281 GB, free: 96.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03647/4.151, allocations: 10.93 MB / 1.292 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01445/4.166, allocations: 3.856 MB / 1.295 GB, free: 96.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05832/4.224, allocations: 51.26 MB / 1.345 GB, free: 75.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01913/4.243, allocations: 1.801 MB / 1.347 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004575/4.248, allocations: 0.9748 MB / 1.348 GB, free: 75.25 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1925): * Single equations (assignments): 1896 * 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,4,4,4,4} * 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.004186/4.252, allocations: 1.305 MB / 1.349 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002181/4.254, allocations: 0.8798 MB / 1.35 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06699/4.321, allocations: 28.87 MB / 1.379 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05977/4.381, allocations: 27.11 MB / 1.405 GB, free: 28.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.308e-05/4.381, allocations: 28 kB / 1.405 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000145/4.382, allocations: 23.91 kB / 1.405 GB, free: 28.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5453/4.927, allocations: 63.16 MB / 1.467 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001031/4.927, allocations: 3.781 kB / 1.467 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005581/4.933, allocations: 1.015 MB / 1.468 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05167/4.984, allocations: 15.67 MB / 1.483 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002215/4.987, allocations: 173 kB / 1.483 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07936/5.066, allocations: 64.66 MB / 1.546 GB, free: 91.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02865/5.095, allocations: 24.56 MB / 1.57 GB, free: 74.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07456/5.169, allocations: 41.06 MB / 1.61 GB, free: 36.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003211/5.172, allocations: 0.9492 MB / 1.611 GB, free: 36.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003228/5.176, allocations: 128 kB / 1.611 GB, free: 35.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008791/5.185, allocations: 0.9001 MB / 1.612 GB, free: 34.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002508/5.187, allocations: 457.8 kB / 1.613 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001338/5.188, allocations: 184.5 kB / 1.613 GB, free: 34.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01163/5.2, allocations: 5.752 MB / 1.619 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.81e-07/5.2, allocations: 0 / 1.619 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02006/5.22, allocations: 4.429 MB / 1.623 GB, free: 24.26 MB / 0.5417 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 () * 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.002281/5.222, allocations: 283.4 kB / 1.623 GB, free: 24.03 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.354/5.577, allocations: 23.58 MB / 1.646 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/5.577, allocations: 2.312 kB / 1.646 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02539/5.602, allocations: 11.6 MB / 1.658 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009624/5.612, allocations: 1.34 MB / 1.659 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0812/5.693, allocations: 31.83 MB / 1.69 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0236/5.717, allocations: 9.438 MB / 1.699 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01793/5.735, allocations: 5.066 MB / 1.704 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004825/5.739, allocations: 0.6868 MB / 1.705 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.205e-06/5.739, allocations: 0 / 1.705 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.6134/6.353, allocations: 173.4 MB / 1.874 GB, free: 120.6 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2.pipe 2>&1)