Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") [: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.001068/0.001068, allocations: 190.9 kB / 8.136 MB, free: 2.195 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.097/1.097, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001746/0.001746, allocations: 116.8 kB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.202e-06, allocations: 0 / 297.6 MB, free: 7.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07255/0.07257, allocations: 44.48 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.2976, allocations: 106.1 MB / 448.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.2979, allocations: 87.16 kB / 448.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4544/0.7523, allocations: 122.7 MB / 0.5575 GB, free: 74.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004567/0.7528, allocations: 142.8 kB / 0.5577 GB, free: 74.34 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: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02244/0.7753, allocations: 6.957 MB / 0.5645 GB, free: 71.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.7753, allocations: 7.781 kB / 0.5645 GB, free: 71.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.7879, allocations: 2.308 MB / 0.5667 GB, free: 71.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/0.8088, allocations: 7.547 MB / 0.5741 GB, free: 68.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004851/0.8093, allocations: 225.4 kB / 0.5743 GB, free: 68.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003342/0.8126, allocations: 416.4 kB / 0.5747 GB, free: 68.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02244/0.8351, allocations: 10.38 MB / 0.5849 GB, free: 65.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03044/0.8656, allocations: 14.88 MB / 0.5994 GB, free: 57.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004222/0.8661, allocations: 75.34 kB / 0.5995 GB, free: 57.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002363/0.8684, allocations: 37.59 kB / 0.5995 GB, free: 57.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002447/0.8709, allocations: 1.585 MB / 0.601 GB, free: 57.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2084/1.079, allocations: 73.89 MB / 0.6732 GB, free: 69.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005075/1.084, allocations: 4.704 MB / 0.6778 GB, free: 68.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003984/1.088, allocations: 3.877 MB / 0.6816 GB, free: 68.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01859/1.107, allocations: 10.72 MB / 0.692 GB, free: 66.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.002e-05/1.107, allocations: 66.03 kB / 0.6921 GB, free: 66.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=261): time 6.843e-06/1.107, allocations: 0 / 0.6921 GB, free: 66.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=344): time 0.1119/1.219, allocations: 40.93 MB / 0.7321 GB, free: 55.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/1.219, allocations: 165.7 kB / 0.7322 GB, free: 55.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009439/1.229, allocations: 4.516 MB / 0.7366 GB, free: 53.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.23, allocations: 28.7 kB / 0.7367 GB, free: 53.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0028/1.233, allocations: 4.379 MB / 0.7409 GB, free: 50.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002113/1.235, allocations: 1.25 MB / 0.7422 GB, free: 49.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/1.236, allocations: 0 / 0.7422 GB, free: 49.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0009317/1.237, allocations: 0.7016 MB / 0.7429 GB, free: 48.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006646/1.244, allocations: 4.086 MB / 0.7468 GB, free: 47.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009362/1.253, allocations: 9.405 MB / 0.756 GB, free: 38.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009363/1.262, allocations: 6.188 MB / 0.7621 GB, free: 35.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002402/1.263, allocations: 56 kB / 0.7621 GB, free: 35.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.04296/1.306, allocations: 17.13 MB / 0.7789 GB, free: 21.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.306, allocations: 8 kB / 0.7789 GB, free: 21.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003792/1.306, allocations: 188.6 kB / 0.779 GB, free: 21.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01953/1.326, allocations: 5.13 MB / 0.784 GB, free: 18.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00771/1.333, allocations: 2.045 MB / 0.786 GB, free: 16.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.164/1.497, allocations: 33.29 MB / 0.8186 GB, free: 89.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009233/1.507, allocations: 325.3 kB / 0.8189 GB, free: 89.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/1.509, allocations: 0.5879 MB / 0.8194 GB, free: 89.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * 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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1072 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.001804/1.511, allocations: 0.5752 MB / 0.82 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.512, allocations: 0.502 MB / 0.8205 GB, free: 89.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02285/1.535, allocations: 10.32 MB / 0.8306 GB, free: 88.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001253/1.535, allocations: 41.42 kB / 0.8306 GB, free: 88.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0211/1.556, allocations: 9.381 MB / 0.8398 GB, free: 86.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/1.556, allocations: 14.58 kB / 0.8398 GB, free: 86.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04932/1.605, allocations: 22.33 MB / 0.8616 GB, free: 78.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.732e-05/1.605, allocations: 8.406 kB / 0.8616 GB, free: 78.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/1.608, allocations: 433.5 kB / 0.862 GB, free: 78.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01478/1.623, allocations: 3.677 MB / 0.8656 GB, free: 77.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009892/1.624, allocations: 19 kB / 0.8656 GB, free: 77.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0373/1.662, allocations: 24.18 MB / 0.8892 GB, free: 65.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01693/1.679, allocations: 10.67 MB / 0.8997 GB, free: 59.5 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02977/1.708, allocations: 15.06 MB / 0.9144 GB, free: 47.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003257/1.712, allocations: 1.115 MB / 0.9154 GB, free: 46.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00184/1.713, allocations: 15 kB / 0.9155 GB, free: 46.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004358/1.718, allocations: 114.6 kB / 0.9156 GB, free: 46.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007853/1.719, allocations: 168.7 kB / 0.9157 GB, free: 46.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005974/1.719, allocations: 93.27 kB / 0.9158 GB, free: 46.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.005939/1.725, allocations: 3.051 MB / 0.9188 GB, free: 43.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01076/1.736, allocations: 1.751 MB / 0.9205 GB, free: 42.15 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.R_rel.w[2],joint.constantTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 204 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/1.737, allocations: 226.9 kB / 0.9207 GB, free: 41.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01478/1.752, allocations: 10.23 MB / 0.9307 GB, free: 32.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/1.752, allocations: 2 kB / 0.9307 GB, free: 32.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005413/1.758, allocations: 3.937 MB / 0.9346 GB, free: 28.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004753/1.762, allocations: 0.6207 MB / 0.9352 GB, free: 27.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.166/1.928, allocations: 13.65 MB / 0.9485 GB, free: 87.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008651/1.937, allocations: 5.438 MB / 0.9538 GB, free: 86.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/1.937, allocations: 2.844 kB / 0.9538 GB, free: 86.34 MB / 394.7 MB Notification: Performance of Templates: time 0.1581/2.095, allocations: 90.92 MB / 1.043 GB, free: 46.2 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)