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.001094/0.001094, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009139/0.0009138, allocations: 101.6 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.173e-05, allocations: 0 / 343.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1311, allocations: 51.47 MB / 395.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/0.5381, allocations: 114.2 MB / 0.4975 GB, free: 11.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5385, allocations: 88.56 kB / 0.4976 GB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6263/1.165, allocations: 130.4 MB / 0.6249 GB, free: 76.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.165, allocations: 0 / 0.6249 GB, free: 76.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001368/1.166, allocations: 144.9 kB / 0.6251 GB, free: 76.98 MB / 442.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.03475/1.201, allocations: 7.136 MB / 0.632 GB, free: 74.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/1.201, allocations: 11.88 kB / 0.632 GB, free: 74.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01601/1.217, allocations: 2.953 MB / 0.6349 GB, free: 73.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02465/1.242, allocations: 7.052 MB / 0.6418 GB, free: 71.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/1.242, allocations: 224.8 kB / 0.642 GB, free: 71.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00483/1.247, allocations: 414.4 kB / 0.6424 GB, free: 71.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02239/1.27, allocations: 9.984 MB / 0.6522 GB, free: 68.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03841/1.308, allocations: 14.62 MB / 0.6665 GB, free: 60.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006135/1.309, allocations: 84.25 kB / 0.6665 GB, free: 60.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003533/1.312, allocations: 39.34 kB / 0.6666 GB, free: 60.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/1.315, allocations: 1.487 MB / 0.668 GB, free: 60.13 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4636/1.779, allocations: 73.86 MB / 0.7402 GB, free: 52.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006957/1.786, allocations: 4.445 MB / 0.7445 GB, free: 51.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00454/1.79, allocations: 3.262 MB / 0.7477 GB, free: 51.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001738/1.792, allocations: 1.335 MB / 0.749 GB, free: 50.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.96e-05/1.792, allocations: 60.94 kB / 0.749 GB, free: 50.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=264): time 6.773e-06/1.792, allocations: 0 / 0.749 GB, free: 50.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=282): time 0.06992/1.862, allocations: 23.24 MB / 0.7717 GB, free: 45.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.228e-05/1.862, allocations: 164.2 kB / 0.7719 GB, free: 45.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01761/1.88, allocations: 4.521 MB / 0.7763 GB, free: 45.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008637/1.881, allocations: 26.83 kB / 0.7763 GB, free: 45.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004538/1.885, allocations: 4.828 MB / 0.7811 GB, free: 42.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00219/1.887, allocations: 1.063 MB / 0.7821 GB, free: 41.29 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/1.889, allocations: 0.5 kB / 0.7821 GB, free: 41.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001549/1.891, allocations: 0.6872 MB / 0.7828 GB, free: 40.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008436/1.899, allocations: 3.133 MB / 0.7858 GB, free: 39.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/1.909, allocations: 8.547 MB / 0.7942 GB, free: 31.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008788/1.918, allocations: 5.101 MB / 0.7991 GB, free: 29.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003108/1.918, allocations: 53.44 kB / 0.7992 GB, free: 29.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.03078/1.949, allocations: 12.48 MB / 0.8114 GB, free: 25.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003953/1.95, allocations: 89.91 kB / 0.8115 GB, free: 25.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01189/1.962, allocations: 5.657 MB / 0.817 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006959/1.969, allocations: 2.14 MB / 0.8191 GB, free: 23.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00816/1.977, allocations: 2.146 MB / 0.8212 GB, free: 23.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01548/1.992, allocations: 13.79 MB / 0.8347 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009699/2.002, allocations: 407.7 kB / 0.835 GB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/2.005, allocations: 0.5392 MB / 0.8356 GB, free: 13.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1131): * Single equations (assignments): 1117 * 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.004005/2.009, allocations: 0.6019 MB / 0.8362 GB, free: 13.31 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01501/2.024, allocations: 6.463 MB / 0.8425 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002401/2.026, allocations: 0.4893 MB / 0.8429 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/2.043, allocations: 6.315 MB / 0.8491 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01292/2.056, allocations: 5.469 MB / 0.8545 GB, free: 1.766 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01076/2.067, allocations: 5.34 MB / 0.8597 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.987e-05/2.067, allocations: 10.92 kB / 0.8597 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04022/2.107, allocations: 15.85 MB / 0.8752 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-05/2.107, allocations: 8 kB / 0.8752 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002731/2.11, allocations: 0.5077 MB / 0.8757 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006161/2.116, allocations: 1.822 MB / 0.8774 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007762/2.117, allocations: 26.19 kB / 0.8775 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01346/2.13, allocations: 9.445 MB / 0.8867 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001206/2.132, allocations: 1.407 MB / 0.8881 GB, free: 5.379 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01986/2.151, allocations: 10.82 MB / 0.8986 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/2.154, allocations: 0.5298 MB / 0.8991 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/2.155, allocations: 27.92 kB / 0.8992 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002964/2.158, allocations: 175.6 kB / 0.8993 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005738/2.159, allocations: 189.5 kB / 0.8995 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002296/2.159, allocations: 86.72 kB / 0.8996 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00728/2.166, allocations: 3.033 MB / 0.9026 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.51e-07/2.166, allocations: 0 / 0.9026 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01302/2.179, allocations: 1.528 MB / 0.9041 GB, free: 6.613 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (236): * Single equations (assignments): 226 * 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.01971/2.199, allocations: 13.03 MB / 0.9168 GB, free: 9.262 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01827/2.217, allocations: 8.46 MB / 0.925 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/2.217, allocations: 0 / 0.925 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.3115/2.529, allocations: 3.295 MB / 0.9283 GB, free: 142.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005728/2.535, allocations: 0.6733 MB / 0.9289 GB, free: 142.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04311/2.578, allocations: 14.33 MB / 0.9429 GB, free: 139.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00843/2.586, allocations: 4.939 MB / 0.9477 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008941/2.595, allocations: 2.961 MB / 0.9506 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006049/2.601, allocations: 3.095 MB / 0.9536 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.783e-06/2.601, allocations: 2.906 kB / 0.9536 GB, free: 138.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/2.799, allocations: 116.1 MB / 1.067 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/2.8, allocations: 165.6 kB / 1.067 GB, free: 77.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.89/8.69, allocations: 0 / 1.067 GB, free: 77.23 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