Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2_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.2+maint.om/package.mo): time 0.001018/0.001018, 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.08/1.08, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001817/0.001817, allocations: 121.5 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.119e-05, allocations: 3.938 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07573/0.07576, allocations: 44.49 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2349/0.3107, allocations: 106.6 MB / 448.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.311, allocations: 84.36 kB / 448.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4768/0.7878, allocations: 135 MB / 0.57 GB, free: 72.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005597/0.7884, allocations: 162 kB / 0.5702 GB, free: 72.79 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.02828/0.8167, allocations: 7.784 MB / 0.5778 GB, free: 69.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.8168, allocations: 8.25 kB / 0.5778 GB, free: 69.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/0.832, allocations: 2.437 MB / 0.5802 GB, free: 68.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02251/0.8546, allocations: 8.097 MB / 0.5881 GB, free: 65.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005324/0.8552, allocations: 256.1 kB / 0.5883 GB, free: 65.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003551/0.8587, allocations: 469.6 kB / 0.5888 GB, free: 65.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02101/0.8798, allocations: 11.71 MB / 0.6002 GB, free: 61.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03381/0.9136, allocations: 16.63 MB / 0.6164 GB, free: 43.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004881/0.9141, allocations: 83.19 kB / 0.6165 GB, free: 43.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002813/0.917, allocations: 40 kB / 0.6166 GB, free: 43.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002408/0.9194, allocations: 1.793 MB / 0.6183 GB, free: 41.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2036/1.123, allocations: 81.05 MB / 0.6975 GB, free: 58.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006014/1.129, allocations: 5.726 MB / 0.703 GB, free: 58.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004721/1.134, allocations: 4.829 MB / 0.7078 GB, free: 58.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/1.153, allocations: 13.39 MB / 0.7208 GB, free: 54.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/1.153, allocations: 62.56 kB / 0.7209 GB, free: 54.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=308): time 6.062e-06/1.153, allocations: 0 / 0.7209 GB, free: 54.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=378): time 0.09063/1.243, allocations: 39.59 MB / 0.7596 GB, free: 40.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.243, allocations: 169.5 kB / 0.7597 GB, free: 40.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006724/1.25, allocations: 4.748 MB / 0.7644 GB, free: 38.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009395/1.251, allocations: 25.7 kB / 0.7644 GB, free: 38.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002097/1.253, allocations: 4.734 MB / 0.769 GB, free: 34.56 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001687/1.255, allocations: 1.363 MB / 0.7703 GB, free: 33.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005476/1.256, allocations: 0 / 0.7703 GB, free: 33.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004134/1.256, allocations: 0.723 MB / 0.771 GB, free: 33.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005272/1.261, allocations: 4.393 MB / 0.7753 GB, free: 31.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006967/1.268, allocations: 9.894 MB / 0.785 GB, free: 22.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008436/1.277, allocations: 6.575 MB / 0.7914 GB, free: 18.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.277, allocations: 56 kB / 0.7915 GB, free: 18.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=1285) (initialization): time 0.0318/1.309, allocations: 16.51 MB / 0.8076 GB, free: 4.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.309, allocations: 5 kB / 0.8076 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/1.309, allocations: 196 kB / 0.8078 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/1.321, allocations: 3.55 MB / 0.8113 GB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1423/1.463, allocations: 2.289 MB / 0.8135 GB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03531/1.498, allocations: 24.87 MB / 0.8378 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01842/1.517, allocations: 361.6 kB / 0.8381 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003438/1.52, allocations: 0.6096 MB / 0.8387 GB, free: 79.18 MB / 394.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.003794/1.524, allocations: 0.5998 MB / 0.8393 GB, free: 79.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/1.526, allocations: 0.5329 MB / 0.8398 GB, free: 79.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04057/1.567, allocations: 10.18 MB / 0.8498 GB, free: 78.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03598/1.603, allocations: 8.83 MB / 0.8584 GB, free: 76.26 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03427/1.637, allocations: 9.28 MB / 0.8675 GB, free: 73.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-05/1.637, allocations: 17.95 kB / 0.8675 GB, free: 73.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07601/1.713, allocations: 23.3 MB / 0.8902 GB, free: 64.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/1.713, allocations: 9.078 kB / 0.8902 GB, free: 64.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006975/1.72, allocations: 0.5966 MB / 0.8908 GB, free: 64.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01887/1.739, allocations: 2.812 MB / 0.8936 GB, free: 63.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008353/1.74, allocations: 22.84 kB / 0.8936 GB, free: 63.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03833/1.779, allocations: 19.07 MB / 0.9122 GB, free: 53.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005719/1.784, allocations: 5.203 MB / 0.9173 GB, free: 50.28 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02432/1.809, allocations: 15.65 MB / 0.9326 GB, free: 37.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003156/1.812, allocations: 1.226 MB / 0.9338 GB, free: 36.47 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.813, allocations: 15.94 kB / 0.9338 GB, free: 36.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/1.816, allocations: 137.6 kB / 0.9339 GB, free: 36.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/1.817, allocations: 184.1 kB / 0.9341 GB, free: 36.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000361/1.817, allocations: 105.6 kB / 0.9342 GB, free: 36.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004484/1.822, allocations: 3.21 MB / 0.9373 GB, free: 33.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008696/1.83, allocations: 1.847 MB / 0.9391 GB, free: 31.58 MB / 394.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.0008768/1.831, allocations: 226.8 kB / 0.9394 GB, free: 31.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01508/1.846, allocations: 11.18 MB / 0.9503 GB, free: 21.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.846, allocations: 4 kB / 0.9503 GB, free: 21.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1312/1.977, allocations: 4.508 MB / 0.9547 GB, free: 84.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.981, allocations: 0.6491 MB / 0.9553 GB, free: 84.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.029/2.01, allocations: 15.07 MB / 0.97 GB, free: 81.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00833/2.019, allocations: 5.989 MB / 0.9759 GB, free: 81.09 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/2.019, allocations: 0 / 0.9759 GB, free: 81.09 MB / 394.7 MB Notification: Performance of Templates: time 0.1369/2.156, allocations: 85.92 MB / 1.06 GB, free: 45.79 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)