Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 94.03 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001406, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004663, allocations: 12 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2338, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.07119/0.3051, allocations: 77.85 MB / 404.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04485/0.35, allocations: 16.53 MB / 420.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0181/0.3681, allocations: 386.9 kB / 421.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01215/0.3803, allocations: 3.635 MB / 424.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02831/0.4087, allocations: 10.59 MB / 435.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005914/0.4146, allocations: 1.115 MB / 436.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01152/0.4261, allocations: 8.134 MB / 444.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/0.4425, allocations: 9.521 MB / 454.2 MB, free: 3.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005462/0.448, allocations: 2.082 MB / 456.3 MB, free: 1.238 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2333/0.6814, allocations: 3.039 MB / 459.3 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001926/0.6834, allocations: 224.8 kB / 459.6 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005374/0.6888, allocations: 1.425 MB / 461 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003941/0.6927, allocations: 2.87 MB / 463.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.6954, allocations: 1.365 MB / 465.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.7058, allocations: 9.599 MB / 474.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.7058, allocations: 0 / 474.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.888e-06/0.7058, allocations: 0 / 474.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004271/0.7063, allocations: 0 / 474.8 MB, free: 10.35 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.01524/0.7215, allocations: 6.975 MB / 481.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.7216, allocations: 14.22 kB / 481.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008735/0.7303, allocations: 2.396 MB / 484.2 MB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008519/0.7389, allocations: 4.273 MB / 488.5 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.7392, allocations: 440.5 kB / 488.9 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00238/0.7416, allocations: 0.6627 MB / 489.6 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03267/0.7743, allocations: 16.93 MB / 0.4946 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.7746, allocations: 63.05 kB / 0.4947 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001393/0.776, allocations: 267.5 kB / 0.4949 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003529/0.7796, allocations: 2.613 MB / 0.4975 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/0.8098, allocations: 14.55 MB / 0.5117 GB, free: 7.168 MB / 398.1 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.08748/0.8973, allocations: 64.02 MB / 0.5742 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02157/0.919, allocations: 7.451 MB / 0.5815 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005777/0.9248, allocations: 3.799 MB / 0.5852 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02803/0.9528, allocations: 16.61 MB / 0.6014 GB, free: 8.867 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.991e-05/0.953, allocations: 67.56 kB / 0.6015 GB, free: 8.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.142e-06/0.953, allocations: 0 / 0.6015 GB, free: 8.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=278): time 0.2529/1.206, allocations: 27.54 MB / 0.6284 GB, free: 204.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009194/1.207, allocations: 1.606 MB / 0.63 GB, free: 203.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009284/1.216, allocations: 5.846 MB / 0.6357 GB, free: 202.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006549/1.217, allocations: 68.66 kB / 0.6357 GB, free: 202 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003129/1.22, allocations: 4.851 MB / 0.6405 GB, free: 198.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001436/1.221, allocations: 1.089 MB / 0.6415 GB, free: 198.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004605/1.222, allocations: 179.2 kB / 0.6417 GB, free: 198 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003655/1.222, allocations: 0.6958 MB / 0.6424 GB, free: 197.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004444/1.227, allocations: 3.387 MB / 0.6457 GB, free: 196.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006745/1.233, allocations: 8.829 MB / 0.6543 GB, free: 187.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006929/1.24, allocations: 5.326 MB / 0.6595 GB, free: 185.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.068e-05/1.241, allocations: 57.41 kB / 0.6596 GB, free: 185.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02739/1.268, allocations: 14.82 MB / 0.674 GB, free: 177.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003215/1.268, allocations: 88 kB / 0.6741 GB, free: 177.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01549/1.284, allocations: 6.776 MB / 0.6807 GB, free: 170.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/1.295, allocations: 3.253 MB / 0.6839 GB, free: 167.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006829/1.302, allocations: 2.141 MB / 0.686 GB, free: 165.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/1.318, allocations: 15.8 MB / 0.7014 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008194/1.326, allocations: 0.5903 MB / 0.702 GB, free: 148.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/1.328, allocations: 0.5404 MB / 0.7026 GB, free: 147.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1112 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006691/1.334, allocations: 3.239 MB / 0.7057 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.336, allocations: 0.5167 MB / 0.7062 GB, free: 143.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.348, allocations: 6.563 MB / 0.7126 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008867/1.357, allocations: 5.641 MB / 0.7181 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00839/1.365, allocations: 5.48 MB / 0.7235 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.407e-05/1.365, allocations: 15.89 kB / 0.7235 GB, free: 126 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03166/1.397, allocations: 17.46 MB / 0.7406 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/1.397, allocations: 12.06 kB / 0.7406 GB, free: 108.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.399, allocations: 0.4992 MB / 0.7411 GB, free: 107.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004674/1.404, allocations: 1.854 MB / 0.7429 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003575/1.404, allocations: 74.47 kB / 0.7429 GB, free: 105.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009747/1.414, allocations: 9.766 MB / 0.7525 GB, free: 95.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007368/1.415, allocations: 1.462 MB / 0.7539 GB, free: 94.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.429, allocations: 9.817 MB / 0.7635 GB, free: 84.07 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.431, allocations: 0.5841 MB / 0.7641 GB, free: 83.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/1.433, allocations: 63.98 kB / 0.7641 GB, free: 83.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/1.436, allocations: 221 kB / 0.7643 GB, free: 83.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006055/1.437, allocations: 197.5 kB / 0.7645 GB, free: 82.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003232/1.437, allocations: 88.61 kB / 0.7646 GB, free: 82.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006876/1.444, allocations: 3.63 MB / 0.7682 GB, free: 79.28 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.444, allocations: 0 / 0.7682 GB, free: 79.28 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01356/1.458, allocations: 1.717 MB / 0.7698 GB, free: 77.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * 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 (233): * Single equations (assignments): 223 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001601/1.459, allocations: 272.2 kB / 0.7701 GB, free: 77.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01501/1.474, allocations: 9.12 MB / 0.779 GB, free: 68.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.474, allocations: 4 kB / 0.779 GB, free: 68.11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005296/1.48, allocations: 3.391 MB / 0.7823 GB, free: 64.62 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005762/1.485, allocations: 0.8141 MB / 0.7831 GB, free: 63.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02672/1.512, allocations: 18.07 MB / 0.8008 GB, free: 45.59 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006953/1.519, allocations: 4.877 MB / 0.8055 GB, free: 40.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007695/1.527, allocations: 2.907 MB / 0.8084 GB, free: 37.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/1.528, allocations: 373.6 kB / 0.8087 GB, free: 37.41 MB / 494.1 MB Notification: Performance of SimCode: time 8.72e-07/1.528, allocations: 0 / 0.8087 GB, free: 37.41 MB / 494.1 MB Notification: Performance of Templates: time 0.2915/1.82, allocations: 61.43 MB / 0.8687 GB, free: 181 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)