Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") [: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.003162/0.003162, allocations: 181.2 kB / 7.452 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.519/1.519, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.00171/0.00171, allocations: 111.8 kB / 217.7 MB, free: 8.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.037e-05/1.041e-05, allocations: 4 kB / 261.8 MB, free: 26.61 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0781/0.07812, allocations: 38.76 MB / 300.5 MB, free: 3.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3201/0.3983, allocations: 100.8 MB / 401.3 MB, free: 8 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.3986, allocations: 83.08 kB / 401.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.5536/0.9522, allocations: 134.9 MB / 0.5237 GB, free: 65.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.001437/0.9537, allocations: 160.6 kB / 0.5239 GB, free: 65.91 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: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.03902/0.9928, allocations: 7.769 MB / 0.5314 GB, free: 59.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.9928, allocations: 8.031 kB / 0.5315 GB, free: 59.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01559/1.008, allocations: 2.439 MB / 0.5338 GB, free: 56.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02619/1.035, allocations: 8.101 MB / 0.5417 GB, free: 48.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005664/1.035, allocations: 256 kB / 0.542 GB, free: 48.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005269/1.041, allocations: 467.8 kB / 0.5424 GB, free: 47.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02678/1.067, allocations: 11.7 MB / 0.5539 GB, free: 36.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04627/1.114, allocations: 16.62 MB / 0.5701 GB, free: 18.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006278/1.114, allocations: 91.17 kB / 0.5702 GB, free: 18.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005112/1.12, allocations: 43.94 kB / 0.5702 GB, free: 18.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002929/1.122, allocations: 1.778 MB / 0.572 GB, free: 16.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3223/1.445, allocations: 81.04 MB / 0.6511 GB, free: 42.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007726/1.453, allocations: 5.729 MB / 0.6567 GB, free: 41.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005964/1.459, allocations: 4.823 MB / 0.6614 GB, free: 39.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02413/1.483, allocations: 13.39 MB / 0.6745 GB, free: 32.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/1.483, allocations: 66.16 kB / 0.6745 GB, free: 32.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=308): time 6.131e-06/1.483, allocations: 2.156 kB / 0.6745 GB, free: 32.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=378): time 0.09634/1.579, allocations: 39.58 MB / 0.7132 GB, free: 10.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/1.579, allocations: 166.1 kB / 0.7134 GB, free: 10.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007725/1.587, allocations: 4.744 MB / 0.718 GB, free: 5.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001241/1.588, allocations: 25.7 kB / 0.718 GB, free: 5.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002887/1.591, allocations: 4.74 MB / 0.7226 GB, free: 1.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002272/1.593, allocations: 1.362 MB / 0.724 GB, free: 456 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004764/1.594, allocations: 0 / 0.724 GB, free: 456 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.1951/1.789, allocations: 0.7223 MB / 0.7247 GB, free: 85.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007706/1.797, allocations: 4.389 MB / 0.729 GB, free: 85.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/1.81, allocations: 9.893 MB / 0.7386 GB, free: 78.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0114/1.821, allocations: 6.574 MB / 0.745 GB, free: 77.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002899/1.821, allocations: 54.56 kB / 0.7451 GB, free: 77.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.03991/1.861, allocations: 16.51 MB / 0.7612 GB, free: 76.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/1.861, allocations: 9.156 kB / 0.7612 GB, free: 76.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004784/1.862, allocations: 192.8 kB / 0.7614 GB, free: 76.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/1.874, allocations: 3.548 MB / 0.7649 GB, free: 76.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009738/1.884, allocations: 2.271 MB / 0.7671 GB, free: 76.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03049/1.914, allocations: 24.88 MB / 0.7914 GB, free: 61.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01137/1.926, allocations: 363 kB / 0.7917 GB, free: 61.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003516/1.929, allocations: 0.6027 MB / 0.7923 GB, free: 61.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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 (1191): * Single equations (assignments): 1176 * Array equations: 8 * 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%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.003252/1.933, allocations: 0.6032 MB / 0.7929 GB, free: 61.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00153/1.934, allocations: 0.53 MB / 0.7934 GB, free: 61.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02071/1.955, allocations: 10.18 MB / 0.8034 GB, free: 56.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01751/1.973, allocations: 8.832 MB / 0.812 GB, free: 49.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01807/1.991, allocations: 9.276 MB / 0.8211 GB, free: 41.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001521/1.991, allocations: 18 kB / 0.8211 GB, free: 41.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2429/2.234, allocations: 23.31 MB / 0.8438 GB, free: 73.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/2.234, allocations: 7.031 kB / 0.8439 GB, free: 73.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003957/2.238, allocations: 0.5897 MB / 0.8444 GB, free: 73.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009476/2.247, allocations: 2.816 MB / 0.8472 GB, free: 73.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/2.248, allocations: 20.66 kB / 0.8472 GB, free: 73.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02764/2.276, allocations: 19.07 MB / 0.8658 GB, free: 68.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006294/2.282, allocations: 5.192 MB / 0.8709 GB, free: 66.25 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02794/2.31, allocations: 15.68 MB / 0.8862 GB, free: 62.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004857/2.315, allocations: 1.229 MB / 0.8874 GB, free: 61.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001428/2.317, allocations: 9.719 kB / 0.8874 GB, free: 61.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003383/2.32, allocations: 137.2 kB / 0.8875 GB, free: 61.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/2.321, allocations: 188.8 kB / 0.8877 GB, free: 61.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003533/2.321, allocations: 106.8 kB / 0.8878 GB, free: 61.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00514/2.326, allocations: 3.205 MB / 0.891 GB, free: 60.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01088/2.337, allocations: 1.842 MB / 0.8928 GB, free: 60.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (292): * Single equations (assignments): 284 * 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 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001183/2.338, allocations: 227.5 kB / 0.893 GB, free: 60.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01884/2.357, allocations: 11.18 MB / 0.9039 GB, free: 56.55 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/2.357, allocations: 3.969 kB / 0.9039 GB, free: 56.55 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007281/2.365, allocations: 4.505 MB / 0.9083 GB, free: 54.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004045/2.369, allocations: 0.6452 MB / 0.9089 GB, free: 54.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03807/2.407, allocations: 15.06 MB / 0.9236 GB, free: 42.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0112/2.418, allocations: 5.99 MB / 0.9295 GB, free: 37.78 MB / 346.7 MB Notification: Performance of SimCode: time 2.826e-06/2.418, allocations: 0 / 0.9295 GB, free: 37.78 MB / 346.7 MB Notification: Performance of Templates: time 0.3269/2.745, allocations: 85.92 MB / 1.013 GB, free: 54.75 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)