Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.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.PrismaticConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.004928/0.004928, allocations: 178.6 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.266/1.266, allocations: 170.6 MB / 178.4 MB, free: 15.79 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.001713/0.001712, allocations: 107.9 kB / 217.7 MB, free: 8.562 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.925e-06, allocations: 4 kB / 261.8 MB, free: 26.69 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08332, allocations: 38.76 MB / 300.5 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.3861, allocations: 99.78 MB / 400.3 MB, free: 1.395 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.3865, allocations: 84.14 kB / 400.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.506/0.8925, allocations: 131.2 MB / 0.5191 GB, free: 68.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00113/0.8937, allocations: 153.8 kB / 0.5192 GB, free: 68.29 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03402/0.9277, allocations: 7.134 MB / 0.5262 GB, free: 64.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.9278, allocations: 13.52 kB / 0.5262 GB, free: 64.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.9427, allocations: 2.414 MB / 0.5286 GB, free: 62.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02335/0.9661, allocations: 7.711 MB / 0.5361 GB, free: 54.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006134/0.9667, allocations: 244 kB / 0.5363 GB, free: 54.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004621/0.9714, allocations: 459.8 kB / 0.5368 GB, free: 53.89 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02195/0.9934, allocations: 10.96 MB / 0.5475 GB, free: 42.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04212/1.036, allocations: 15.6 MB / 0.5627 GB, free: 26.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004824/1.036, allocations: 83.19 kB / 0.5628 GB, free: 25.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004363/1.04, allocations: 44 kB / 0.5628 GB, free: 25.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002957/1.043, allocations: 1.695 MB / 0.5645 GB, free: 24.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2902/1.334, allocations: 75.31 MB / 0.638 GB, free: 47.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005153/1.339, allocations: 3.772 MB / 0.6417 GB, free: 47.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/1.342, allocations: 2.843 MB / 0.6445 GB, free: 47.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01534/1.358, allocations: 9.624 MB / 0.6539 GB, free: 44.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.358, allocations: 59 kB / 0.6539 GB, free: 44.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=251): time 6.341e-06/1.358, allocations: 0 / 0.6539 GB, free: 44.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=297): time 0.07592/1.434, allocations: 30.97 MB / 0.6842 GB, free: 32.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/1.434, allocations: 155.8 kB / 0.6843 GB, free: 32.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/1.447, allocations: 4.565 MB / 0.6888 GB, free: 30.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008742/1.448, allocations: 31.3 kB / 0.6888 GB, free: 30.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.452, allocations: 4.643 MB / 0.6934 GB, free: 27.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.454, allocations: 1.1 MB / 0.6944 GB, free: 26.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/1.455, allocations: 3.938 kB / 0.6944 GB, free: 26.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.001107/1.456, allocations: 0.6871 MB / 0.6951 GB, free: 25.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007694/1.464, allocations: 3.256 MB / 0.6983 GB, free: 24.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.474, allocations: 8.636 MB / 0.7067 GB, free: 13.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009916/1.484, allocations: 5.264 MB / 0.7119 GB, free: 9.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003882/1.485, allocations: 60 kB / 0.7119 GB, free: 9.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.2179/1.703, allocations: 12.64 MB / 0.7243 GB, free: 78.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.703, allocations: 6.031 kB / 0.7243 GB, free: 78.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003686/1.703, allocations: 193.5 kB / 0.7244 GB, free: 78.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007204/1.71, allocations: 2.193 MB / 0.7266 GB, free: 78.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008707/1.719, allocations: 2.093 MB / 0.7286 GB, free: 78.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02008/1.739, allocations: 18.11 MB / 0.7463 GB, free: 69.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/1.75, allocations: 279.6 kB / 0.7466 GB, free: 69.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0027/1.753, allocations: 0.5275 MB / 0.7471 GB, free: 69.79 MB / 346.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.002621/1.756, allocations: 0.5894 MB / 0.7477 GB, free: 69.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/1.757, allocations: 497.8 kB / 0.7481 GB, free: 69.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.771, allocations: 6.858 MB / 0.7548 GB, free: 69.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001155/1.772, allocations: 36.59 kB / 0.7549 GB, free: 69.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/1.772, allocations: 14.11 kB / 0.7549 GB, free: 69.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.19e-05/1.772, allocations: 17.73 kB / 0.7549 GB, free: 69.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/1.798, allocations: 13.55 MB / 0.7681 GB, free: 67.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-05/1.799, allocations: 0 / 0.7681 GB, free: 67.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003499/1.802, allocations: 485.6 kB / 0.7686 GB, free: 67.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006715/1.809, allocations: 1.987 MB / 0.7705 GB, free: 66.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007937/1.81, allocations: 19.62 kB / 0.7706 GB, free: 66.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/1.831, allocations: 20.34 MB / 0.7904 GB, free: 52.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.831, allocations: 0 / 0.7904 GB, free: 52.62 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02394/1.855, allocations: 10.88 MB / 0.8011 GB, free: 48.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004363/1.86, allocations: 0.9695 MB / 0.802 GB, free: 47.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002292/1.862, allocations: 8.844 kB / 0.802 GB, free: 47.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003661/1.866, allocations: 98.28 kB / 0.8021 GB, free: 47.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000485/1.866, allocations: 135.4 kB / 0.8022 GB, free: 47.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002691/1.866, allocations: 77.38 kB / 0.8023 GB, free: 47.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.007109/1.874, allocations: 3.051 MB / 0.8053 GB, free: 46.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01384/1.887, allocations: 1.507 MB / 0.8068 GB, free: 45.17 MB / 346.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.001764/1.889, allocations: 221.6 kB / 0.807 GB, free: 45.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01655/1.906, allocations: 8.743 MB / 0.8155 GB, free: 37.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/1.906, allocations: 0 / 0.8155 GB, free: 37.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006779/1.913, allocations: 3.866 MB / 0.8193 GB, free: 33.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.918, allocations: 0.5883 MB / 0.8199 GB, free: 33.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03708/1.955, allocations: 13.32 MB / 0.8329 GB, free: 21.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01213/1.967, allocations: 5.625 MB / 0.8384 GB, free: 17.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/1.967, allocations: 6.312 kB / 0.8384 GB, free: 17.04 MB / 346.7 MB Notification: Performance of Templates: time 0.3556/2.323, allocations: 68.93 MB / 0.9057 GB, free: 58.18 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1)