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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00216/0.00216, allocations: 188.4 kB / 7.457 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.15/1.15, allocations: 194.2 MB / 202.1 MB, free: 8.77 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.001667/0.001667, allocations: 117.2 kB / 247.1 MB, free: 6.254 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.1722/0.1722, allocations: 39.95 MB / 331.9 MB, free: 4.867 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.262e-06, allocations: 0 / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 54.87 MB / 447.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4473, allocations: 110.2 MB / 0.5447 GB, free: 6.379 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4476, allocations: 77.39 kB / 0.5448 GB, free: 6.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7716/1.219, allocations: 220.8 MB / 0.7604 GB, free: 77.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001704/1.221, allocations: 280.3 kB / 0.7607 GB, free: 77.09 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.07204/1.293, allocations: 13.39 MB / 0.7738 GB, free: 68.84 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/1.293, allocations: 8.031 kB / 0.7738 GB, free: 68.83 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04749/1.341, allocations: 10.37 MB / 0.7839 GB, free: 58.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04335/1.384, allocations: 15.6 MB / 0.7991 GB, free: 42.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/1.385, allocations: 476 kB / 0.7996 GB, free: 42.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00759/1.393, allocations: 0.859 MB / 0.8004 GB, free: 41.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04338/1.436, allocations: 18.67 MB / 0.8187 GB, free: 22.88 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07821/1.514, allocations: 27.36 MB / 0.8454 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008686/1.515, allocations: 154.6 kB / 0.8455 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006404/1.522, allocations: 72 kB / 0.8456 GB, free: 8.938 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004037/1.526, allocations: 2.478 MB / 0.848 GB, free: 6.457 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3712/1.897, allocations: 127.4 MB / 0.9725 GB, free: 51.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00841/1.906, allocations: 7.375 MB / 0.9797 GB, free: 48.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006602/1.912, allocations: 6.304 MB / 0.9858 GB, free: 45.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03585/1.948, allocations: 23.44 MB / 1.009 GB, free: 32.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.757e-05/1.948, allocations: 82.25 kB / 1.009 GB, free: 32.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=411): time 7.374e-06/1.948, allocations: 3.938 kB / 1.009 GB, free: 32.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=542): time 0.4491/2.397, allocations: 90.06 MB / 1.097 GB, free: 120.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/2.397, allocations: 337.9 kB / 1.097 GB, free: 119.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/2.41, allocations: 7.633 MB / 1.105 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002158/2.412, allocations: 29.95 kB / 1.105 GB, free: 118.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006778/2.419, allocations: 8.281 MB / 1.113 GB, free: 113.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003193/2.422, allocations: 2.043 MB / 1.115 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/2.424, allocations: 0 / 1.115 GB, free: 112.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007356/2.425, allocations: 1.005 MB / 1.116 GB, free: 112 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01187/2.436, allocations: 9.139 MB / 1.125 GB, free: 112 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01707/2.454, allocations: 18.56 MB / 1.143 GB, free: 95.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/2.472, allocations: 13.11 MB / 1.155 GB, free: 91.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002961/2.472, allocations: 100.4 kB / 1.156 GB, free: 91.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=2127) (initialization): time 0.08018/2.552, allocations: 34.48 MB / 1.189 GB, free: 71.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/2.552, allocations: 4 kB / 1.189 GB, free: 71.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05072/2.603, allocations: 23.06 MB / 1.212 GB, free: 53.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2684/2.871, allocations: 10.33 MB / 1.222 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/2.886, allocations: 3.761 MB / 1.226 GB, free: 108 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05463/2.94, allocations: 45.82 MB / 1.27 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01836/2.959, allocations: 1.076 MB / 1.271 GB, free: 95.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00425/2.963, allocations: 1.006 MB / 1.272 GB, free: 95.82 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1529 * 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 (1960): * Single equations (assignments): 1931 * 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%) 29,(1,100.0%) 3,(4,93.8%) 17,(7,63.3%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006468/2.97, allocations: 0.9218 MB / 1.273 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003003/2.973, allocations: 0.8326 MB / 1.274 GB, free: 95.53 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06588/3.039, allocations: 27.61 MB / 1.301 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07096/3.11, allocations: 25.98 MB / 1.326 GB, free: 81.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/3.11, allocations: 24 kB / 1.326 GB, free: 81.62 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001971/3.11, allocations: 23.53 kB / 1.326 GB, free: 81.62 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1265/3.236, allocations: 55.24 MB / 1.38 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.053e-05/3.237, allocations: 4 kB / 1.38 GB, free: 28.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005804/3.242, allocations: 0.8411 MB / 1.381 GB, free: 27.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2839/3.526, allocations: 14.45 MB / 1.395 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001796/3.528, allocations: 106.6 kB / 1.395 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07456/3.603, allocations: 59.76 MB / 1.454 GB, free: 87.92 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02665/3.629, allocations: 21.68 MB / 1.475 GB, free: 75.57 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07655/3.706, allocations: 39.49 MB / 1.513 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/3.709, allocations: 0.8841 MB / 1.514 GB, free: 55.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003959/3.713, allocations: 43.22 kB / 1.514 GB, free: 55.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009473/3.722, allocations: 0.5045 MB / 1.515 GB, free: 55.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002161/3.724, allocations: 300.1 kB / 1.515 GB, free: 55.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009861/3.725, allocations: 183.4 kB / 1.515 GB, free: 55.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0111/3.737, allocations: 5.109 MB / 1.52 GB, free: 50.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02112/3.758, allocations: 4.191 MB / 1.524 GB, free: 46.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 32 ($STATESET6.x[5],$STATESET6.x[4],$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$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 (385): * Single equations (assignments): 370 * 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,4,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(8,82.8%) 29,(7,93.9%) 12,(4,93.8%) 17,(3,100.0%) 3,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001712/3.759, allocations: 202.9 kB / 1.525 GB, free: 46.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03607/3.796, allocations: 23.16 MB / 1.547 GB, free: 25.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/3.796, allocations: 0 / 1.547 GB, free: 25.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2146/4.01, allocations: 10.92 MB / 1.558 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008351/4.019, allocations: 1.068 MB / 1.559 GB, free: 100.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07703/4.096, allocations: 31.59 MB / 1.59 GB, free: 95.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02143/4.117, allocations: 10.08 MB / 1.6 GB, free: 94.64 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/4.117, allocations: 0 / 1.6 GB, free: 94.64 MB / 490.7 MB Notification: Performance of Templates: time 0.5293/4.646, allocations: 181.2 MB / 1.777 GB, free: 82.98 MB / 490.7 MB 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)