Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") [: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.1+maint.om/package.mo): time 0.004122/0.004122, allocations: 178.9 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.281/1.281, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001726/0.001726, allocations: 104 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 9.308e-06/9.408e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.08706, allocations: 38.75 MB / 300.5 MB, free: 3.898 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2783/0.3654, allocations: 99.89 MB / 400.4 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3657, allocations: 81.83 kB / 400.5 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.4943/0.8601, allocations: 122.8 MB / 0.511 GB, free: 70.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0009403/0.8611, allocations: 151.4 kB / 0.5111 GB, free: 70.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03471/0.8958, allocations: 6.938 MB / 0.5179 GB, free: 67.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.557e-05/0.8959, allocations: 8.594 kB / 0.5179 GB, free: 67.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01796/0.9139, allocations: 2.436 MB / 0.5203 GB, free: 66.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02978/0.9437, allocations: 8.21 MB / 0.5283 GB, free: 62.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004983/0.9443, allocations: 224 kB / 0.5285 GB, free: 62.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005159/0.9495, allocations: 419.8 kB / 0.5289 GB, free: 61.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02423/0.9737, allocations: 10.33 MB / 0.539 GB, free: 51.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03726/1.011, allocations: 14.98 MB / 0.5536 GB, free: 35.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005837/1.012, allocations: 87.19 kB / 0.5537 GB, free: 35.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00406/1.016, allocations: 43.94 kB / 0.5538 GB, free: 35.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/1.018, allocations: 1.577 MB / 0.5553 GB, free: 33.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2839/1.302, allocations: 75.31 MB / 0.6289 GB, free: 55.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/1.308, allocations: 4.383 MB / 0.6331 GB, free: 55.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00448/1.312, allocations: 3.602 MB / 0.6367 GB, free: 55.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01973/1.332, allocations: 10.59 MB / 0.647 GB, free: 52.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/1.332, allocations: 65.22 kB / 0.6471 GB, free: 52.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=248): time 6.362e-06/1.332, allocations: 0 / 0.6471 GB, free: 52.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=273): time 0.0525/1.385, allocations: 23.32 MB / 0.6698 GB, free: 43.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/1.385, allocations: 151.6 kB / 0.67 GB, free: 43.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008583/1.393, allocations: 4.683 MB / 0.6745 GB, free: 41.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008407/1.394, allocations: 25.7 kB / 0.6746 GB, free: 41.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002521/1.397, allocations: 4.482 MB / 0.6789 GB, free: 38.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001575/1.398, allocations: 1.035 MB / 0.68 GB, free: 37.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.399, allocations: 0 / 0.68 GB, free: 37.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005346/1.399, allocations: 0.6887 MB / 0.6806 GB, free: 36.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/1.404, allocations: 3.28 MB / 0.6838 GB, free: 35.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007145/1.411, allocations: 8.78 MB / 0.6924 GB, free: 26.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007191/1.418, allocations: 5.329 MB / 0.6976 GB, free: 22.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/1.418, allocations: 56 kB / 0.6977 GB, free: 22.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02694/1.445, allocations: 12.51 MB / 0.7099 GB, free: 11.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.445, allocations: 4 kB / 0.7099 GB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01307/1.458, allocations: 5.638 MB / 0.7154 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00627/1.465, allocations: 1.89 MB / 0.7172 GB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009493/1.474, allocations: 2.154 MB / 0.7193 GB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2198/1.694, allocations: 13.01 MB / 0.732 GB, free: 79.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/1.705, allocations: 334.9 kB / 0.7324 GB, free: 79.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002922/1.708, allocations: 0.5468 MB / 0.7329 GB, free: 79.1 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1127 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002529/1.71, allocations: 0.5936 MB / 0.7335 GB, free: 78.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001754/1.712, allocations: 0.49 MB / 0.734 GB, free: 78.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.725, allocations: 6.373 MB / 0.7402 GB, free: 78.51 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0105/1.736, allocations: 5.478 MB / 0.7455 GB, free: 78.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01122/1.747, allocations: 5.912 MB / 0.7513 GB, free: 77.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/1.747, allocations: 13.22 kB / 0.7513 GB, free: 77.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03235/1.779, allocations: 16.07 MB / 0.767 GB, free: 73.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/1.779, allocations: 10.56 kB / 0.767 GB, free: 73.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002639/1.782, allocations: 487.6 kB / 0.7675 GB, free: 73.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005262/1.787, allocations: 1.657 MB / 0.7691 GB, free: 73.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000355/1.788, allocations: 35.27 kB / 0.7691 GB, free: 73.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.798, allocations: 9.307 MB / 0.7782 GB, free: 67.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001027/1.8, allocations: 1.386 MB / 0.7796 GB, free: 66.62 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01847/1.818, allocations: 10.97 MB / 0.7903 GB, free: 61.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/1.82, allocations: 0.5327 MB / 0.7908 GB, free: 61.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008622/1.821, allocations: 31.11 kB / 0.7908 GB, free: 61.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/1.824, allocations: 115.9 kB / 0.791 GB, free: 61.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/1.824, allocations: 149.4 kB / 0.7911 GB, free: 61.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002319/1.824, allocations: 87.58 kB / 0.7912 GB, free: 61.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.005804/1.83, allocations: 3.15 MB / 0.7943 GB, free: 59.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01116/1.841, allocations: 1.518 MB / 0.7957 GB, free: 58.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 220 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/1.843, allocations: 232.4 kB / 0.796 GB, free: 58.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01519/1.858, allocations: 8.535 MB / 0.8043 GB, free: 51.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.932e-05/1.858, allocations: 0 / 0.8043 GB, free: 51.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00537/1.863, allocations: 3.266 MB / 0.8075 GB, free: 48.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005661/1.869, allocations: 0.6381 MB / 0.8081 GB, free: 47.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03586/1.905, allocations: 12.72 MB / 0.8205 GB, free: 36.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009669/1.915, allocations: 5.394 MB / 0.8258 GB, free: 32.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.402e-06/1.915, allocations: 0 / 0.8258 GB, free: 32.42 MB / 346.7 MB Notification: Performance of Templates: time 0.3214/2.236, allocations: 61.58 MB / 0.8859 GB, free: 70.16 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)