Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001337, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.000759/0.000759, allocations: 83.86 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.217, allocations: 47.58 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.0572/0.2743, allocations: 78.1 MB / 452.7 MB, free: 2.535 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03717/0.3115, allocations: 16.53 MB / 469.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01546/0.327, allocations: 390.9 kB / 469.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0105/0.3375, allocations: 3.647 MB / 473.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02677/0.3643, allocations: 10.59 MB / 483.8 MB, free: 3.277 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004839/0.3692, allocations: 1.037 MB / 484.8 MB, free: 2.238 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00975/0.3789, allocations: 7.753 MB / 492.6 MB, free: 10.47 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01368/0.3926, allocations: 9.567 MB / 0.4904 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2109/0.6036, allocations: 2.152 MB / 0.4925 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.6077, allocations: 3.052 MB / 0.4955 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007603/0.6085, allocations: 230 kB / 0.4957 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002835/0.6114, allocations: 1.281 MB / 0.4969 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002518/0.6139, allocations: 2.814 MB / 0.4997 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.6155, allocations: 1.359 MB / 0.501 GB, free: 9.617 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.627, allocations: 9.539 MB / 0.5103 GB, free: 9.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.6271, allocations: 0 / 0.5103 GB, free: 9.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.6271, allocations: 0 / 0.5103 GB, free: 9.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006161/0.6277, allocations: 2.641 kB / 0.5103 GB, free: 9.059 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02085/0.6486, allocations: 6.896 MB / 0.5171 GB, free: 6.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6486, allocations: 9.906 kB / 0.5171 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009242/0.6579, allocations: 2.32 MB / 0.5193 GB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009998/0.6679, allocations: 4.104 MB / 0.5234 GB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003039/0.6682, allocations: 433 kB / 0.5238 GB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/0.6698, allocations: 0.5879 MB / 0.5243 GB, free: 4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02696/0.6968, allocations: 16.8 MB / 0.5407 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.697, allocations: 59.59 kB / 0.5408 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000683/0.6977, allocations: 268.4 kB / 0.5411 GB, free: 14.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003726/0.7014, allocations: 2.641 MB / 0.5436 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02618/0.7276, allocations: 14.37 MB / 0.5577 GB, free: 3.453 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06994/0.7976, allocations: 63.24 MB / 0.6194 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01995/0.8175, allocations: 7.733 MB / 0.627 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004495/0.8221, allocations: 3.984 MB / 0.6309 GB, free: 6.355 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02255/0.8446, allocations: 16.77 MB / 0.6473 GB, free: 5.137 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.8447, allocations: 63.19 kB / 0.6473 GB, free: 5.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=274): time 4.819e-06/0.8447, allocations: 1.75 kB / 0.6473 GB, free: 5.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=325): time 0.2777/1.122, allocations: 39.92 MB / 0.6863 GB, free: 196.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01465/1.137, allocations: 11.62 MB / 0.6976 GB, free: 190.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006591/1.144, allocations: 5.712 MB / 0.7032 GB, free: 188.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007849/1.145, allocations: 77.7 kB / 0.7033 GB, free: 188.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002022/1.147, allocations: 4.736 MB / 0.7079 GB, free: 184 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001096/1.148, allocations: 1.216 MB / 0.7091 GB, free: 182.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004039/1.148, allocations: 183 kB / 0.7093 GB, free: 182.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003263/1.148, allocations: 0.6954 MB / 0.71 GB, free: 182.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/1.153, allocations: 3.976 MB / 0.7138 GB, free: 178.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006047/1.159, allocations: 9.223 MB / 0.7228 GB, free: 167.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006291/1.165, allocations: 5.912 MB / 0.7286 GB, free: 162.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/1.165, allocations: 56 kB / 0.7287 GB, free: 162.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.02863/1.194, allocations: 16.9 MB / 0.7452 GB, free: 145.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.592e-05/1.194, allocations: 87.95 kB / 0.7453 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/1.194, allocations: 184 kB / 0.7454 GB, free: 145 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/1.207, allocations: 4.246 MB / 0.7496 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007296/1.214, allocations: 2.078 MB / 0.7516 GB, free: 138.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03271/1.247, allocations: 30.41 MB / 0.7813 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008296/1.255, allocations: 0.5432 MB / 0.7818 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/1.257, allocations: 0.5599 MB / 0.7824 GB, free: 106.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * 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.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1070 * Array equations: 6 * 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%) 25,(2,100.0%) 11,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.007069/1.264, allocations: 3.243 MB / 0.7856 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.266, allocations: 0.5284 MB / 0.7861 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01794/1.284, allocations: 9.384 MB / 0.7952 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-05/1.284, allocations: 48 kB / 0.7953 GB, free: 92.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01563/1.299, allocations: 7.978 MB / 0.8031 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.483e-05/1.299, allocations: 15.94 kB / 0.8031 GB, free: 84.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04367/1.343, allocations: 21.95 MB / 0.8245 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.523e-05/1.343, allocations: 7.938 kB / 0.8245 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002549/1.346, allocations: 0.5038 MB / 0.825 GB, free: 62.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009587/1.355, allocations: 3.028 MB / 0.828 GB, free: 59.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005508/1.356, allocations: 63.94 kB / 0.828 GB, free: 59.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0243/1.38, allocations: 21.59 MB / 0.8491 GB, free: 37.01 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01075/1.391, allocations: 8.881 MB / 0.8578 GB, free: 27.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02132/1.412, allocations: 13.19 MB / 0.8707 GB, free: 14.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/1.415, allocations: 1.099 MB / 0.8717 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006455/1.416, allocations: 59.94 kB / 0.8718 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/1.419, allocations: 227.7 kB / 0.872 GB, free: 13.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000628/1.419, allocations: 206.2 kB / 0.8722 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.42, allocations: 91.98 kB / 0.8723 GB, free: 12.77 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004614/1.424, allocations: 3.555 MB / 0.8758 GB, free: 9.246 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.424, allocations: 0 / 0.8758 GB, free: 9.246 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.2083/1.633, allocations: 1.926 MB / 0.8777 GB, free: 180.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 221 * 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 {(1,100.0%) 11,(3,100.0%) 22,(3,100.0%) 13} * Non-linear torn systems: 1 {3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001419/1.634, allocations: 243.6 kB / 0.8779 GB, free: 180.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01588/1.65, allocations: 10.29 MB / 0.8879 GB, free: 178.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.65, allocations: 0 / 0.8879 GB, free: 178.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005471/1.656, allocations: 3.884 MB / 0.8917 GB, free: 178.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/1.66, allocations: 0.793 MB / 0.8925 GB, free: 177.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02723/1.687, allocations: 19.38 MB / 0.9114 GB, free: 168 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005317/1.693, allocations: 4.93 MB / 0.9162 GB, free: 166.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002082/1.695, allocations: 424.4 kB / 0.9166 GB, free: 166.3 MB / 490.7 MB Notification: Performance of SimCode: time 9.62e-07/1.695, allocations: 0 / 0.9166 GB, free: 166.3 MB / 490.7 MB Notification: Performance of Templates: time 0.4462/2.141, allocations: 259.5 MB / 1.17 GB, free: 94.32 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)