Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001048/0.001048, allocations: 197.2 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.2 MB / 245 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009266/0.0009269, allocations: 98.39 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002282/0.0002285, allocations: 8 kB / 358 MB, free: 9.199 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2117, allocations: 51.48 MB / 409.5 MB, free: 26.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.5067, allocations: 114.9 MB / 0.5121 GB, free: 96.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.507, allocations: 93.08 kB / 0.5122 GB, free: 96.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2716/0.7786, allocations: 133.3 MB / 0.6424 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7787, allocations: 4 kB / 0.6424 GB, free: 14.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003464/0.779, allocations: 148 kB / 0.6425 GB, free: 14.51 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2352 * Number of variables: 2352 Notification: Performance of Generate backend data structure: time 0.02458/0.8036, allocations: 7.574 MB / 0.6499 GB, free: 6.848 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8037, allocations: 8.031 kB / 0.6499 GB, free: 6.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004975/0.8087, allocations: 1.198 MB / 0.6511 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01339/0.8221, allocations: 2.947 MB / 0.654 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01841/0.8405, allocations: 7.087 MB / 0.6609 GB, free: 11.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005269/0.8411, allocations: 0.5176 MB / 0.6614 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/0.8439, allocations: 0.6911 MB / 0.6621 GB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2484/1.092, allocations: 17.32 MB / 0.679 GB, free: 64.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002369/1.093, allocations: 85.78 kB / 0.6791 GB, free: 64.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009144/1.094, allocations: 329.5 kB / 0.6794 GB, free: 64.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001948/1.095, allocations: 1.481 MB / 0.6808 GB, free: 64.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02915/1.125, allocations: 14.52 MB / 0.695 GB, free: 63.97 MB / 442.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.07597/1.201, allocations: 74.36 MB / 0.7676 GB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01809/1.219, allocations: 7.408 MB / 0.7749 GB, free: 16.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02065/1.24, allocations: 16.28 MB / 0.7908 GB, free: 7.797 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.24, allocations: 60.19 kB / 0.7908 GB, free: 7.742 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 5.54e-06/1.24, allocations: 3.719 kB / 0.7908 GB, free: 7.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.06557/1.305, allocations: 27.96 MB / 0.8181 GB, free: 5.215 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001388/1.307, allocations: 1.608 MB / 0.8197 GB, free: 3.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01008/1.317, allocations: 5.14 MB / 0.8247 GB, free: 15.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006819/1.317, allocations: 68.75 kB / 0.8248 GB, free: 15.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003869/1.321, allocations: 4.791 MB / 0.8295 GB, free: 10.85 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001611/1.323, allocations: 1.054 MB / 0.8305 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008276/1.324, allocations: 176 kB / 0.8307 GB, free: 9.758 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005676/1.324, allocations: 0.6817 MB / 0.8313 GB, free: 9.172 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005275/1.33, allocations: 3.247 MB / 0.8345 GB, free: 6.422 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009832/1.34, allocations: 8.573 MB / 0.8429 GB, free: 11.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008506/1.348, allocations: 5.154 MB / 0.8479 GB, free: 7.227 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/1.348, allocations: 52 kB / 0.848 GB, free: 7.176 MB / 490.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.2645/1.613, allocations: 13.77 MB / 0.8614 GB, free: 101 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001324/1.613, allocations: 86.19 kB / 0.8615 GB, free: 101 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009599/1.623, allocations: 5.664 MB / 0.867 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00556/1.628, allocations: 2.106 MB / 0.8691 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007313/1.635, allocations: 2.082 MB / 0.8711 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.648, allocations: 14.34 MB / 0.8851 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/1.655, allocations: 0.5612 MB / 0.8857 GB, free: 93.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001206/1.656, allocations: 0.5269 MB / 0.8862 GB, free: 93.02 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 62 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1097): * Single equations (assignments): 1083 * Array equations: 6 * 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.005781/1.662, allocations: 3.185 MB / 0.8893 GB, free: 92.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009764/1.663, allocations: 0.5089 MB / 0.8898 GB, free: 92.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/1.673, allocations: 6.389 MB / 0.896 GB, free: 92.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008855/1.682, allocations: 5.488 MB / 0.9014 GB, free: 91.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008601/1.691, allocations: 5.877 MB / 0.9071 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.537e-05/1.691, allocations: 14.39 kB / 0.9071 GB, free: 91.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/1.717, allocations: 16.68 MB / 0.9234 GB, free: 87.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/1.717, allocations: 7.719 kB / 0.9234 GB, free: 87.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/1.719, allocations: 0.4914 MB / 0.9239 GB, free: 87.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004978/1.724, allocations: 1.797 MB / 0.9257 GB, free: 87.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005356/1.725, allocations: 65.14 kB / 0.9257 GB, free: 87.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/1.736, allocations: 9.955 MB / 0.9355 GB, free: 81.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008578/1.737, allocations: 1.47 MB / 0.9369 GB, free: 80.01 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/1.75, allocations: 10.35 MB / 0.947 GB, free: 75.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/1.752, allocations: 0.5567 MB / 0.9475 GB, free: 75.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009705/1.753, allocations: 56.03 kB / 0.9476 GB, free: 74.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.756, allocations: 211.7 kB / 0.9478 GB, free: 74.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/1.756, allocations: 183.4 kB / 0.948 GB, free: 74.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.756, allocations: 92.53 kB / 0.9481 GB, free: 74.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006112/1.762, allocations: 3.573 MB / 0.9515 GB, free: 73.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.763, allocations: 2.953 kB / 0.9516 GB, free: 73.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008586/1.771, allocations: 1.691 MB / 0.9532 GB, free: 73.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (223): * Single equations (assignments): 213 * 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.01804/1.789, allocations: 12.64 MB / 0.9655 GB, free: 63.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02349/1.813, allocations: 8.798 MB / 0.9741 GB, free: 56.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/1.813, allocations: 4 kB / 0.9741 GB, free: 56.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009247/1.822, allocations: 3.304 MB / 0.9774 GB, free: 53.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00771/1.83, allocations: 0.7827 MB / 0.9781 GB, free: 52.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3422/2.172, allocations: 188.4 MB / 1.162 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006742/2.179, allocations: 4.931 MB / 1.167 GB, free: 29.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006525/2.185, allocations: 2.875 MB / 1.17 GB, free: 29.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003712/2.189, allocations: 3.102 MB / 1.173 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of SimCode: time 5.51e-07/2.189, allocations: 0 / 1.173 GB, free: 29.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4343/2.623, allocations: 122.4 MB / 1.292 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/2.624, allocations: 248.8 kB / 1.293 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.154/7.778, allocations: 0 / 1.293 GB, free: 117.5 MB / 0.5105 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat