Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 190.5 kB / 8.138 MB, free: 2.207 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.103/1.103, allocations: 194.2 MB / 202.8 MB, free: 8.75 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.001827/0.001827, allocations: 121.8 kB / 247.8 MB, free: 6.242 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.124e-06/7.214e-06, allocations: 0 / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07545, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.3027, allocations: 105.6 MB / 447.6 MB, free: 5.926 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.3029, allocations: 83.48 kB / 447.7 MB, free: 5.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4377/0.7407, allocations: 123 MB / 0.5573 GB, free: 75.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002771/0.741, allocations: 142.1 kB / 0.5574 GB, free: 75.21 MB / 394.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.01996/0.761, allocations: 6.951 MB / 0.5642 GB, free: 72.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.761, allocations: 7.469 kB / 0.5642 GB, free: 72.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.7737, allocations: 2.453 MB / 0.5666 GB, free: 72.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02155/0.7953, allocations: 8.216 MB / 0.5746 GB, free: 69.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004542/0.7958, allocations: 226.2 kB / 0.5748 GB, free: 69.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/0.799, allocations: 414.8 kB / 0.5752 GB, free: 69.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01991/0.819, allocations: 10.33 MB / 0.5853 GB, free: 65.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03018/0.8492, allocations: 14.98 MB / 0.6 GB, free: 57.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003015/0.8495, allocations: 83.73 kB / 0.6 GB, free: 57.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001292/0.8508, allocations: 40.62 kB / 0.6001 GB, free: 57.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001951/0.8528, allocations: 1.578 MB / 0.6016 GB, free: 56.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2166/1.069, allocations: 75.31 MB / 0.6752 GB, free: 68.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/1.075, allocations: 4.382 MB / 0.6794 GB, free: 67.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004268/1.079, allocations: 3.6 MB / 0.683 GB, free: 67.53 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01835/1.097, allocations: 10.6 MB / 0.6933 GB, free: 65.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/1.098, allocations: 62.22 kB / 0.6934 GB, free: 65.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=248): time 7.343e-06/1.098, allocations: 3.781 kB / 0.6934 GB, free: 65.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=273): time 0.05567/1.153, allocations: 23.3 MB / 0.7161 GB, free: 58.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/1.153, allocations: 162.5 kB / 0.7163 GB, free: 58.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007581/1.161, allocations: 4.677 MB / 0.7209 GB, free: 56.88 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007441/1.162, allocations: 25.7 kB / 0.7209 GB, free: 56.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002497/1.164, allocations: 4.483 MB / 0.7253 GB, free: 53.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001703/1.166, allocations: 1.033 MB / 0.7263 GB, free: 52.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005975/1.167, allocations: 0 / 0.7263 GB, free: 52.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004383/1.167, allocations: 0.6898 MB / 0.7269 GB, free: 52.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004174/1.171, allocations: 3.281 MB / 0.7301 GB, free: 51.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007164/1.178, allocations: 8.783 MB / 0.7387 GB, free: 42.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00828/1.187, allocations: 5.337 MB / 0.7439 GB, free: 40.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002037/1.187, allocations: 60.25 kB / 0.744 GB, free: 40.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02553/1.212, allocations: 12.6 MB / 0.7563 GB, free: 36.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.212, allocations: 2.938 kB / 0.7563 GB, free: 36.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01231/1.225, allocations: 5.704 MB / 0.7619 GB, free: 34.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006605/1.231, allocations: 1.978 MB / 0.7638 GB, free: 33.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007818/1.239, allocations: 2.131 MB / 0.7659 GB, free: 31.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.253, allocations: 13.33 MB / 0.7789 GB, free: 18.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008288/1.261, allocations: 339.8 kB / 0.7792 GB, free: 18.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001942/1.263, allocations: 0.548 MB / 0.7798 GB, free: 17.61 MB / 394.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 (1138): * Single equations (assignments): 1124 * 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 {4} * 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.002427/1.266, allocations: 0.5971 MB / 0.7803 GB, free: 17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.267, allocations: 497.5 kB / 0.7808 GB, free: 16.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/1.279, allocations: 6.374 MB / 0.787 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01047/1.29, allocations: 5.489 MB / 0.7924 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01077/1.3, allocations: 5.902 MB / 0.7982 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/1.3, allocations: 15.25 kB / 0.7982 GB, free: 1.699 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.151/1.451, allocations: 16.21 MB / 0.814 GB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-05/1.451, allocations: 10.97 kB / 0.814 GB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002713/1.454, allocations: 482.6 kB / 0.8145 GB, free: 95.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005538/1.46, allocations: 1.658 MB / 0.8161 GB, free: 95.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003783/1.46, allocations: 32.78 kB / 0.8161 GB, free: 95.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.471, allocations: 9.308 MB / 0.8252 GB, free: 91.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006964/1.472, allocations: 1.383 MB / 0.8266 GB, free: 90.16 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01502/1.487, allocations: 10.96 MB / 0.8373 GB, free: 87.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.488, allocations: 0.5396 MB / 0.8378 GB, free: 87.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009983/1.489, allocations: 21.5 kB / 0.8378 GB, free: 87.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002407/1.492, allocations: 112.6 kB / 0.8379 GB, free: 87.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000357/1.492, allocations: 156.2 kB / 0.8381 GB, free: 87.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/1.492, allocations: 88.23 kB / 0.8382 GB, free: 87.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004362/1.497, allocations: 3.146 MB / 0.8412 GB, free: 86.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007746/1.504, allocations: 1.518 MB / 0.8427 GB, free: 86.08 MB / 394.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.0007651/1.505, allocations: 235.9 kB / 0.8429 GB, free: 85.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.012/1.517, allocations: 8.664 MB / 0.8514 GB, free: 82.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.517, allocations: 0 / 0.8514 GB, free: 82.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004714/1.522, allocations: 3.263 MB / 0.8546 GB, free: 81.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/1.525, allocations: 0.6404 MB / 0.8552 GB, free: 81.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02548/1.551, allocations: 12.73 MB / 0.8676 GB, free: 76.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008082/1.559, allocations: 5.372 MB / 0.8729 GB, free: 75.04 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/1.559, allocations: 2.406 kB / 0.8729 GB, free: 75.04 MB / 394.7 MB Notification: Performance of Templates: time 0.2339/1.793, allocations: 62.16 MB / 0.9336 GB, free: 92.89 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)