Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint") [: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.001631/0.001631, allocations: 187.7 kB / 8.134 MB, free: 2.203 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.067/1.067, allocations: 194.2 MB / 202.8 MB, free: 8.801 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.001699/0.001699, allocations: 122.3 kB / 247.7 MB, free: 6.25 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.804e-06, allocations: 4 kB / 297.6 MB, free: 8.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07136/0.07139, allocations: 44.48 MB / 342.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.2934, allocations: 105.5 MB / 447.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.2937, allocations: 84.19 kB / 447.6 MB, free: 5.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4567/0.7505, allocations: 131.2 MB / 0.5652 GB, free: 73.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004167/0.7509, allocations: 152.1 kB / 0.5654 GB, free: 73.67 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02357/0.7745, allocations: 7.135 MB / 0.5723 GB, free: 70.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.7746, allocations: 8.656 kB / 0.5723 GB, free: 70.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.789, allocations: 2.414 MB / 0.5747 GB, free: 69.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/0.811, allocations: 7.716 MB / 0.5822 GB, free: 66.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004707/0.8115, allocations: 246.5 kB / 0.5825 GB, free: 66.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003077/0.8146, allocations: 457.5 kB / 0.5829 GB, free: 66.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01961/0.8343, allocations: 10.95 MB / 0.5936 GB, free: 62.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03159/0.8659, allocations: 15.6 MB / 0.6088 GB, free: 51.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004266/0.8663, allocations: 83.17 kB / 0.6089 GB, free: 50.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002758/0.8691, allocations: 44 kB / 0.6089 GB, free: 50.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002502/0.8716, allocations: 1.694 MB / 0.6106 GB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2021/1.074, allocations: 75.32 MB / 0.6841 GB, free: 60.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004762/1.079, allocations: 3.766 MB / 0.6878 GB, free: 59.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/1.082, allocations: 2.85 MB / 0.6906 GB, free: 59.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0162/1.098, allocations: 9.633 MB / 0.7 GB, free: 57.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/1.098, allocations: 59.47 kB / 0.7001 GB, free: 57.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=251): time 6.793e-06/1.098, allocations: 3.75 kB / 0.7001 GB, free: 57.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=297): time 0.07168/1.17, allocations: 30.97 MB / 0.7303 GB, free: 48.33 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.17, allocations: 157.2 kB / 0.7305 GB, free: 48.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00818/1.178, allocations: 4.574 MB / 0.7349 GB, free: 46.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005625/1.179, allocations: 25.7 kB / 0.735 GB, free: 46.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002651/1.182, allocations: 4.642 MB / 0.7395 GB, free: 42.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001405/1.183, allocations: 1.109 MB / 0.7406 GB, free: 42.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008981/1.184, allocations: 0 / 0.7406 GB, free: 42.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007501/1.185, allocations: 0.6895 MB / 0.7412 GB, free: 41.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004959/1.19, allocations: 3.255 MB / 0.7444 GB, free: 40.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007532/1.197, allocations: 8.634 MB / 0.7529 GB, free: 31.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009038/1.206, allocations: 5.266 MB / 0.758 GB, free: 30.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003723/1.207, allocations: 55.31 kB / 0.7581 GB, free: 30.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.02764/1.234, allocations: 12.63 MB / 0.7704 GB, free: 25.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.234, allocations: 6.188 kB / 0.7704 GB, free: 25.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004142/1.235, allocations: 192.3 kB / 0.7706 GB, free: 25.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007436/1.242, allocations: 2.186 MB / 0.7727 GB, free: 25.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008366/1.251, allocations: 2.102 MB / 0.7748 GB, free: 25.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01971/1.27, allocations: 18.11 MB / 0.7924 GB, free: 24.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007832/1.278, allocations: 282.8 kB / 0.7927 GB, free: 24.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/1.28, allocations: 0.5358 MB / 0.7932 GB, free: 24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 60 (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],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1091 * 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 {(4,75.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002582/1.283, allocations: 0.5798 MB / 0.7938 GB, free: 23.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001318/1.284, allocations: 0.4897 MB / 0.7943 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/1.298, allocations: 6.862 MB / 0.801 GB, free: 17.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-05/1.298, allocations: 39.84 kB / 0.801 GB, free: 17.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-05/1.298, allocations: 12 kB / 0.801 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/1.299, allocations: 15.34 kB / 0.8011 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02984/1.328, allocations: 13.54 MB / 0.8143 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.796e-05/1.328, allocations: 0 / 0.8143 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003501/1.332, allocations: 490.3 kB / 0.8147 GB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007519/1.339, allocations: 1.99 MB / 0.8167 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006022/1.34, allocations: 15.14 kB / 0.8167 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1441/1.484, allocations: 20.35 MB / 0.8366 GB, free: 94.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/1.484, allocations: 6.219 kB / 0.8366 GB, free: 94.85 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01761/1.502, allocations: 10.89 MB / 0.8472 GB, free: 93.81 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002641/1.505, allocations: 0.9638 MB / 0.8482 GB, free: 93.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.506, allocations: 9.5 kB / 0.8482 GB, free: 93.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00269/1.508, allocations: 92.2 kB / 0.8482 GB, free: 93.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003734/1.509, allocations: 130.5 kB / 0.8484 GB, free: 93.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.509, allocations: 77.98 kB / 0.8484 GB, free: 93.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.00487/1.514, allocations: 3.056 MB / 0.8514 GB, free: 93.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008446/1.522, allocations: 1.51 MB / 0.8529 GB, free: 93.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (bodyOfJoint.v_0[2],bodyOfJoint.v_0[3],bodyOfJoint.body.frame_a.r_0[2],bodyOfJoint.body.frame_a.r_0[3],bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 201 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 6,(1,100.0%) 3,(2,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008389/1.523, allocations: 217.1 kB / 0.8531 GB, free: 93.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01332/1.537, allocations: 8.738 MB / 0.8616 GB, free: 91.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.537, allocations: 1.344 kB / 0.8616 GB, free: 91.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00591/1.543, allocations: 3.865 MB / 0.8654 GB, free: 89.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00415/1.547, allocations: 0.5882 MB / 0.866 GB, free: 89.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/1.577, allocations: 13.33 MB / 0.879 GB, free: 85.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009442/1.586, allocations: 5.627 MB / 0.8845 GB, free: 83.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.586, allocations: 4 kB / 0.8845 GB, free: 83.41 MB / 410.7 MB Notification: Performance of Templates: time 0.1242/1.711, allocations: 68.9 MB / 0.9518 GB, free: 45.5 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)