Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009111, allocations: 95.59 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.093e-05/2.104e-05, allocations: 4 kB / 337.1 MB, free: 9.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.42 MB / 387.6 MB, free: 7.445 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5109, allocations: 113.8 MB / 0.4896 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.5113, allocations: 89.44 kB / 0.4897 GB, free: 12.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5873/1.099, allocations: 125.1 MB / 0.6119 GB, free: 92.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.099, allocations: 0 / 0.6119 GB, free: 92.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003395/1.099, allocations: 145.3 kB / 0.6121 GB, free: 92.36 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.02442/1.123, allocations: 7.027 MB / 0.6189 GB, free: 87.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.124, allocations: 11.69 kB / 0.6189 GB, free: 87.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01569/1.139, allocations: 2.892 MB / 0.6218 GB, free: 85.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/1.158, allocations: 7.806 MB / 0.6294 GB, free: 77.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/1.158, allocations: 224 kB / 0.6296 GB, free: 77.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002856/1.161, allocations: 423.8 kB / 0.63 GB, free: 76.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01747/1.179, allocations: 9.981 MB / 0.6397 GB, free: 66.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02408/1.203, allocations: 14.62 MB / 0.654 GB, free: 50.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002421/1.203, allocations: 87.27 kB / 0.6541 GB, free: 50.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008793/1.204, allocations: 43.94 kB / 0.6541 GB, free: 50.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001755/1.206, allocations: 1.488 MB / 0.6556 GB, free: 49.32 MB / 426.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.3978/1.604, allocations: 73.85 MB / 0.7277 GB, free: 60.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006884/1.61, allocations: 4.452 MB / 0.7321 GB, free: 59.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005954/1.616, allocations: 3.262 MB / 0.7352 GB, free: 59.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001934/1.618, allocations: 1.336 MB / 0.7366 GB, free: 58.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/1.619, allocations: 63 kB / 0.7366 GB, free: 58.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=264): time 8.756e-06/1.619, allocations: 4.172 kB / 0.7366 GB, free: 58.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=282): time 0.06386/1.682, allocations: 23.23 MB / 0.7593 GB, free: 54.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.973e-05/1.683, allocations: 158.3 kB / 0.7595 GB, free: 54.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008592/1.691, allocations: 4.53 MB / 0.7639 GB, free: 53.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008623/1.692, allocations: 25.7 kB / 0.7639 GB, free: 53.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003229/1.695, allocations: 4.821 MB / 0.7686 GB, free: 50.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00165/1.697, allocations: 1.064 MB / 0.7697 GB, free: 49.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004783/1.697, allocations: 5.281 kB / 0.7697 GB, free: 49.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000514/1.698, allocations: 0.6931 MB / 0.7703 GB, free: 49.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004464/1.702, allocations: 3.133 MB / 0.7734 GB, free: 48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0073/1.71, allocations: 8.544 MB / 0.7817 GB, free: 39.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00779/1.718, allocations: 5.092 MB / 0.7867 GB, free: 38.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002414/1.718, allocations: 55 kB / 0.7868 GB, free: 38.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.0266/1.745, allocations: 12.49 MB / 0.799 GB, free: 34.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/1.745, allocations: 88.22 kB / 0.799 GB, free: 34.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01033/1.755, allocations: 5.664 MB / 0.8046 GB, free: 29.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/1.762, allocations: 2.136 MB / 0.8067 GB, free: 27.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008047/1.77, allocations: 2.153 MB / 0.8088 GB, free: 26.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/1.782, allocations: 13.79 MB / 0.8222 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009173/1.792, allocations: 410.5 kB / 0.8226 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002517/1.794, allocations: 0.5388 MB / 0.8231 GB, free: 12.28 MB / 442.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.00242/1.797, allocations: 0.5997 MB / 0.8237 GB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01109/1.808, allocations: 6.465 MB / 0.83 GB, free: 6.301 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/1.809, allocations: 497.5 kB / 0.8305 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/1.821, allocations: 6.314 MB / 0.8367 GB, free: 0.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01294/1.834, allocations: 5.724 MB / 0.8423 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009854/1.844, allocations: 5.34 MB / 0.8475 GB, free: 8.594 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-05/1.844, allocations: 15.81 kB / 0.8475 GB, free: 8.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03868/1.883, allocations: 15.84 MB / 0.863 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.665e-05/1.883, allocations: 8 kB / 0.863 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/1.886, allocations: 0.5109 MB / 0.8635 GB, free: 9.387 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00617/1.892, allocations: 1.776 MB / 0.8652 GB, free: 7.59 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00127/1.894, allocations: 27.97 kB / 0.8652 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.907, allocations: 9.443 MB / 0.8745 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001104/1.908, allocations: 1.417 MB / 0.8758 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/1.926, allocations: 10.6 MB / 0.8862 GB, free: 1.328 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/1.928, allocations: 0.5258 MB / 0.8867 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001331/1.929, allocations: 19.98 kB / 0.8867 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003068/1.932, allocations: 183.5 kB / 0.8869 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005527/1.933, allocations: 189.6 kB / 0.8871 GB, free: 400 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002517/1.933, allocations: 87.17 kB / 0.8872 GB, free: 316 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007003/1.94, allocations: 3.026 MB / 0.8901 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.51e-07/1.94, allocations: 0 / 0.8901 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0129/1.953, allocations: 1.516 MB / 0.8916 GB, free: 11.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.3511/2.304, allocations: 13.02 MB / 0.9043 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0196/2.324, allocations: 8.458 MB / 0.9126 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/2.324, allocations: 1.062 kB / 0.9126 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01008/2.334, allocations: 3.293 MB / 0.9158 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007855/2.342, allocations: 0.6723 MB / 0.9165 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05191/2.394, allocations: 14.34 MB / 0.9305 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01052/2.404, allocations: 4.944 MB / 0.9353 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008822/2.413, allocations: 2.957 MB / 0.9382 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005752/2.419, allocations: 3.101 MB / 0.9412 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.352e-06/2.419, allocations: 0 / 0.9412 GB, free: 142.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1898/2.609, allocations: 116 MB / 1.054 GB, free: 57.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002339/2.609, allocations: 177.4 kB / 1.055 GB, free: 57.13 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.163/8.772, allocations: 0 / 1.055 GB, free: 57.13 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat