Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.004007/0.004007, allocations: 178.4 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.39 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.001781/0.00178, allocations: 115.9 kB / 217.7 MB, free: 8.156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.223e-05/1.261e-05, allocations: 4 kB / 261.8 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/0.0857, allocations: 38.76 MB / 300.5 MB, free: 3.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2984/0.3842, allocations: 100.3 MB / 400.8 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.3845, allocations: 85.7 kB / 400.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.4913/0.8759, allocations: 122.7 MB / 0.5113 GB, free: 56.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007246/0.8766, allocations: 145.2 kB / 0.5114 GB, free: 56.52 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: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.03426/0.9109, allocations: 6.956 MB / 0.5182 GB, free: 53.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.911, allocations: 9.031 kB / 0.5182 GB, free: 53.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.9272, allocations: 2.302 MB / 0.5205 GB, free: 53.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02707/0.9543, allocations: 7.547 MB / 0.5278 GB, free: 51.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007885/0.9552, allocations: 231.8 kB / 0.5281 GB, free: 51.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006083/0.9613, allocations: 416.2 kB / 0.5284 GB, free: 51.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02697/0.9883, allocations: 10.37 MB / 0.5386 GB, free: 41.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03938/1.028, allocations: 14.88 MB / 0.5531 GB, free: 25.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007488/1.029, allocations: 91.17 kB / 0.5532 GB, free: 25.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005394/1.034, allocations: 36 kB / 0.5532 GB, free: 25.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00282/1.037, allocations: 1.577 MB / 0.5548 GB, free: 24.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3317/1.369, allocations: 73.8 MB / 0.6268 GB, free: 28.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007411/1.376, allocations: 4.71 MB / 0.6314 GB, free: 27.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006479/1.383, allocations: 3.878 MB / 0.6352 GB, free: 27.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02095/1.404, allocations: 10.72 MB / 0.6457 GB, free: 25.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/1.404, allocations: 58.2 kB / 0.6458 GB, free: 25.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=261): time 7.093e-06/1.404, allocations: 2.281 kB / 0.6458 GB, free: 25.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=344): time 0.1257/1.529, allocations: 40.88 MB / 0.6857 GB, free: 11.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/1.529, allocations: 158.8 kB / 0.6858 GB, free: 10.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/1.543, allocations: 4.529 MB / 0.6903 GB, free: 6.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001435/1.544, allocations: 28.42 kB / 0.6903 GB, free: 6.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003791/1.548, allocations: 4.374 MB / 0.6946 GB, free: 3.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0031/1.551, allocations: 1.245 MB / 0.6958 GB, free: 1.914 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002147/1.553, allocations: 0 / 0.6958 GB, free: 1.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.001246/1.555, allocations: 0.6993 MB / 0.6965 GB, free: 1.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01832/1.573, allocations: 5.012 MB / 0.7013 GB, free: 0 / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01409/1.587, allocations: 9.405 MB / 0.7105 GB, free: 4.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.601, allocations: 6.211 MB / 0.7166 GB, free: 15.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003114/1.601, allocations: 52 kB / 0.7166 GB, free: 15.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=1217) (initialization): time 0.05498/1.656, allocations: 17.13 MB / 0.7334 GB, free: 408 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.656, allocations: 8 kB / 0.7334 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006203/1.657, allocations: 188 kB / 0.7336 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02128/1.678, allocations: 5.133 MB / 0.7386 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009567/1.688, allocations: 2.043 MB / 0.7406 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3088/1.997, allocations: 33.26 MB / 0.7731 GB, free: 95.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/2.007, allocations: 323.8 kB / 0.7734 GB, free: 95.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00273/2.01, allocations: 0.5852 MB / 0.7739 GB, free: 95.17 MB / 410.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.002147/2.012, allocations: 0.5772 MB / 0.7745 GB, free: 95.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/2.014, allocations: 0.5013 MB / 0.775 GB, free: 95.06 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/2.038, allocations: 10.31 MB / 0.7851 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001554/2.038, allocations: 41.02 kB / 0.7851 GB, free: 93.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0212/2.06, allocations: 9.379 MB / 0.7943 GB, free: 90.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001571/2.06, allocations: 17.86 kB / 0.7943 GB, free: 90.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05231/2.112, allocations: 22.33 MB / 0.8161 GB, free: 81.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/2.112, allocations: 10.42 kB / 0.8161 GB, free: 81.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/2.115, allocations: 438.6 kB / 0.8165 GB, free: 81.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01532/2.131, allocations: 3.685 MB / 0.8201 GB, free: 81.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/2.132, allocations: 23.84 kB / 0.8201 GB, free: 81.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03407/2.166, allocations: 24.19 MB / 0.8437 GB, free: 61.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01526/2.181, allocations: 10.66 MB / 0.8542 GB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03015/2.212, allocations: 15.06 MB / 0.8689 GB, free: 37.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004731/2.216, allocations: 1.115 MB / 0.87 GB, free: 36.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002323/2.219, allocations: 11.75 kB / 0.87 GB, free: 36.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004538/2.223, allocations: 111.7 kB / 0.8701 GB, free: 36.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004928/2.224, allocations: 173.1 kB / 0.8702 GB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/2.224, allocations: 91.98 kB / 0.8703 GB, free: 36.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005547/2.23, allocations: 3.05 MB / 0.8733 GB, free: 33.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0134/2.243, allocations: 1.75 MB / 0.875 GB, free: 31.47 MB / 410.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.phi,joint.R_rel.w[2]) * 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.001738/2.245, allocations: 219.2 kB / 0.8752 GB, free: 31.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01686/2.262, allocations: 10.21 MB / 0.8852 GB, free: 21.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.41e-05/2.262, allocations: 4 kB / 0.8852 GB, free: 21.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005956/2.268, allocations: 3.946 MB / 0.889 GB, free: 17.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00467/2.272, allocations: 0.6165 MB / 0.8896 GB, free: 16.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2959/2.568, allocations: 13.65 MB / 0.903 GB, free: 93.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01129/2.58, allocations: 5.443 MB / 0.9083 GB, free: 92.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.633e-06/2.58, allocations: 0 / 0.9083 GB, free: 92.42 MB / 410.7 MB Notification: Performance of Templates: time 0.1715/2.751, allocations: 90.91 MB / 0.9971 GB, free: 42.6 MB / 410.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)