Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_cpp_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.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 179.8 kB / 8.152 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.2 MB / 213.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001278/0.001277, allocations: 85.39 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.12e-05/1.135e-05, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 47.56 MB / 361.8 MB, free: 45.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.4366, allocations: 113.4 MB / 475.2 MB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.437, allocations: 79.95 kB / 475.3 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.819/1.256, allocations: 136.3 MB / 0.5973 GB, free: 43.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005161/1.257, allocations: 162.2 kB / 0.5974 GB, free: 43.8 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: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.03982/1.296, allocations: 7.844 MB / 0.6051 GB, free: 35.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.297, allocations: 12.03 kB / 0.6051 GB, free: 35.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/1.318, allocations: 2.45 MB / 0.6075 GB, free: 33.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03076/1.349, allocations: 8.13 MB / 0.6154 GB, free: 25.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004599/1.349, allocations: 264 kB / 0.6157 GB, free: 25.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004058/1.353, allocations: 471.8 kB / 0.6162 GB, free: 24.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03129/1.385, allocations: 11.87 MB / 0.6277 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04859/1.433, allocations: 16.82 MB / 0.6442 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005102/1.434, allocations: 87.17 kB / 0.6442 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003565/1.437, allocations: 44 kB / 0.6443 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004684/1.442, allocations: 1.808 MB / 0.6461 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4016/1.844, allocations: 81.62 MB / 0.7258 GB, free: 61.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03158/1.875, allocations: 5.783 MB / 0.7314 GB, free: 60.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02439/1.9, allocations: 4.88 MB / 0.7362 GB, free: 58.85 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06894/1.969, allocations: 14.13 MB / 0.75 GB, free: 51.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.429e-05/1.969, allocations: 64.28 kB / 0.75 GB, free: 51.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=322): time 1.489e-05/1.969, allocations: 0 / 0.75 GB, free: 51.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=392): time 0.2345/2.204, allocations: 40 MB / 0.7891 GB, free: 29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/2.204, allocations: 169.1 kB / 0.7893 GB, free: 28.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/2.216, allocations: 4.777 MB / 0.7939 GB, free: 24.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001251/2.217, allocations: 29.11 kB / 0.794 GB, free: 24.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003417/2.221, allocations: 4.629 MB / 0.7985 GB, free: 20.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00271/2.224, allocations: 1.409 MB / 0.7998 GB, free: 19.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001326/2.225, allocations: 3.469 kB / 0.7998 GB, free: 19.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006768/2.226, allocations: 0.7258 MB / 0.8006 GB, free: 18.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01094/2.237, allocations: 4.423 MB / 0.8049 GB, free: 14.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01552/2.252, allocations: 9.939 MB / 0.8146 GB, free: 2.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1664/2.419, allocations: 6.616 MB / 0.821 GB, free: 94.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002003/2.419, allocations: 56.5 kB / 0.8211 GB, free: 94.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=1302) (initialization): time 0.05855/2.477, allocations: 16.43 MB / 0.8371 GB, free: 93.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/2.478, allocations: 6.531 kB / 0.8371 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003689/2.478, allocations: 195.5 kB / 0.8373 GB, free: 93.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02241/2.5, allocations: 3.54 MB / 0.8408 GB, free: 93.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/2.517, allocations: 2.292 MB / 0.843 GB, free: 93.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06497/2.582, allocations: 25.22 MB / 0.8677 GB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0241/2.606, allocations: 359.5 kB / 0.868 GB, free: 85.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004857/2.611, allocations: 0.6165 MB / 0.8686 GB, free: 85.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 896 * Number of states: 0 () * Number of discrete variables: 66 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1208): * Single equations (assignments): 1193 * 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,(2,100.0%) 24,(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.005864/2.617, allocations: 0.5319 MB / 0.8691 GB, free: 84.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00277/2.62, allocations: 0.5381 MB / 0.8697 GB, free: 84.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06068/2.681, allocations: 10.25 MB / 0.8797 GB, free: 83.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05405/2.735, allocations: 8.881 MB / 0.8883 GB, free: 80.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.05236/2.787, allocations: 9.35 MB / 0.8975 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001527/2.788, allocations: 19.84 kB / 0.8975 GB, free: 77.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1181/2.906, allocations: 23.53 MB / 0.9205 GB, free: 59.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.999e-05/2.906, allocations: 8.688 kB / 0.9205 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01253/2.918, allocations: 0.6135 MB / 0.9211 GB, free: 59.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02135/2.94, allocations: 2.81 MB / 0.9238 GB, free: 57.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001234/2.941, allocations: 22.98 kB / 0.9238 GB, free: 57.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04578/2.987, allocations: 19.09 MB / 0.9425 GB, free: 40.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01015/2.997, allocations: 5.197 MB / 0.9476 GB, free: 35.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2214/3.219, allocations: 15.77 MB / 0.963 GB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005622/3.224, allocations: 1.237 MB / 0.9642 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003188/3.227, allocations: 11.69 kB / 0.9642 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008168/3.236, allocations: 142.4 kB / 0.9643 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001741/3.237, allocations: 192.7 kB / 0.9645 GB, free: 87.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001306/3.239, allocations: 110 kB / 0.9646 GB, free: 87.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.01025/3.249, allocations: 3.219 MB / 0.9677 GB, free: 87.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01507/3.264, allocations: 1.857 MB / 0.9696 GB, free: 87.29 MB / 410.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 (304): * Single equations (assignments): 296 * 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.002157/3.266, allocations: 229.3 kB / 0.9698 GB, free: 87.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02861/3.295, allocations: 11.12 MB / 0.9806 GB, free: 86.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/3.295, allocations: 1.625 kB / 0.9806 GB, free: 86.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01397/3.309, allocations: 4.543 MB / 0.9851 GB, free: 86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007511/3.317, allocations: 0.6543 MB / 0.9857 GB, free: 85.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05584/3.373, allocations: 16.08 MB / 1.001 GB, free: 83.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01951/3.392, allocations: 6.106 MB / 1.007 GB, free: 82.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.345e-06/3.392, allocations: 0 / 1.007 GB, free: 82.16 MB / 410.7 MB Notification: Performance of Templates: time 0.8201/4.212, allocations: 278.6 MB / 1.279 GB, free: 119.3 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)