Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.354/1.354, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008962/0.0008963, allocations: 78.67 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.019e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08433/0.08438, allocations: 47.56 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4338, allocations: 113.1 MB / 483.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/0.4341, allocations: 89.55 kB / 483.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.509/0.9431, allocations: 129 MB / 0.5979 GB, free: 87.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9431, allocations: 0 / 0.5979 GB, free: 87.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000402/0.9436, allocations: 147.9 kB / 0.5981 GB, free: 87.16 MB / 410.7 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.0225/0.9661, allocations: 7.124 MB / 0.605 GB, free: 80 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.9662, allocations: 8.031 kB / 0.605 GB, free: 79.99 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003595/0.9698, allocations: 1.219 MB / 0.6062 GB, free: 78.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.9825, allocations: 2.923 MB / 0.6091 GB, free: 75.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/1, allocations: 8.187 MB / 0.6171 GB, free: 67.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004053/1.001, allocations: 0.5295 MB / 0.6176 GB, free: 67.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002963/1.004, allocations: 0.7066 MB / 0.6183 GB, free: 66.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0337/1.038, allocations: 17.46 MB / 0.6353 GB, free: 47.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002644/1.038, allocations: 79.28 kB / 0.6354 GB, free: 47.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/1.039, allocations: 335.9 kB / 0.6357 GB, free: 47.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001764/1.041, allocations: 1.531 MB / 0.6372 GB, free: 45.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02825/1.069, allocations: 14.59 MB / 0.6515 GB, free: 31.06 MB / 410.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.3374/1.407, allocations: 75.26 MB / 0.725 GB, free: 45.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02277/1.43, allocations: 7.445 MB / 0.7322 GB, free: 44.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004768/1.434, allocations: 3.702 MB / 0.7358 GB, free: 44.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02781/1.462, allocations: 16.49 MB / 0.7519 GB, free: 40.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/1.462, allocations: 64.5 kB / 0.752 GB, free: 40.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 6.963e-06/1.462, allocations: 0 / 0.752 GB, free: 40.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=278): time 0.0696/1.532, allocations: 23.84 MB / 0.7753 GB, free: 34.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009035/1.533, allocations: 1.612 MB / 0.7769 GB, free: 32.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008023/1.541, allocations: 5.174 MB / 0.7819 GB, free: 30.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006999/1.542, allocations: 74.41 kB / 0.782 GB, free: 30.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002616/1.544, allocations: 4.871 MB / 0.7867 GB, free: 26.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001406/1.546, allocations: 1.079 MB / 0.7878 GB, free: 26.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004091/1.546, allocations: 184.2 kB / 0.788 GB, free: 25.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003742/1.547, allocations: 0.6858 MB / 0.7886 GB, free: 25.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003965/1.551, allocations: 3.242 MB / 0.7918 GB, free: 24.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006216/1.557, allocations: 8.655 MB / 0.8003 GB, free: 15.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007417/1.564, allocations: 5.228 MB / 0.8054 GB, free: 13.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/1.564, allocations: 52 kB / 0.8054 GB, free: 13.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.02625/1.591, allocations: 13.57 MB / 0.8187 GB, free: 2.551 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.591, allocations: 88 kB / 0.8188 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01432/1.605, allocations: 6.037 MB / 0.8246 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006188/1.611, allocations: 2.1 MB / 0.8267 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007747/1.619, allocations: 2.134 MB / 0.8288 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.634, allocations: 14.11 MB / 0.8426 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008153/1.643, allocations: 0.5622 MB / 0.8431 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/1.645, allocations: 0.542 MB / 0.8436 GB, free: 12.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 878 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1119): * Single equations (assignments): 1105 * 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.002635/1.647, allocations: 0.8035 MB / 0.8444 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001302/1.649, allocations: 0.5206 MB / 0.8449 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/1.661, allocations: 6.45 MB / 0.8512 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0103/1.671, allocations: 5.538 MB / 0.8566 GB, free: 208 kB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0108/1.682, allocations: 5.924 MB / 0.8624 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.688e-05/1.682, allocations: 11.95 kB / 0.8624 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2724/1.955, allocations: 17.35 MB / 0.8794 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/1.955, allocations: 11.03 kB / 0.8794 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.957, allocations: 0.5124 MB / 0.8799 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005416/1.963, allocations: 1.796 MB / 0.8816 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007456/1.964, allocations: 69.23 kB / 0.8817 GB, free: 127 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/1.975, allocations: 9.73 MB / 0.8912 GB, free: 123.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007573/1.976, allocations: 1.463 MB / 0.8926 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.99, allocations: 10.86 MB / 0.9032 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001939/1.992, allocations: 0.5768 MB / 0.9038 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.993, allocations: 60.17 kB / 0.9039 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002679/1.996, allocations: 217 kB / 0.9041 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004791/1.997, allocations: 203.2 kB / 0.9043 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.997, allocations: 89.81 kB / 0.9044 GB, free: 119.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006348/2.003, allocations: 3.599 MB / 0.9079 GB, free: 118.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/2.003, allocations: 0 / 0.9079 GB, free: 118.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008696/2.012, allocations: 1.712 MB / 0.9095 GB, free: 118.9 MB / 474.7 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 () * 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.0149/2.027, allocations: 13.51 MB / 0.9227 GB, free: 112.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01346/2.04, allocations: 8.846 MB / 0.9314 GB, free: 109.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/2.04, allocations: 3.125 kB / 0.9314 GB, free: 109.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004973/2.045, allocations: 3.349 MB / 0.9346 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/2.05, allocations: 0.7858 MB / 0.9354 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03133/2.081, allocations: 14.92 MB / 0.95 GB, free: 100.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005485/2.087, allocations: 5.021 MB / 0.9549 GB, free: 97.07 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007027/2.094, allocations: 2.915 MB / 0.9577 GB, free: 95.26 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005183/2.099, allocations: 3.166 MB / 0.9608 GB, free: 92.33 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/2.099, allocations: 1.75 kB / 0.9608 GB, free: 92.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.408/2.507, allocations: 124.8 MB / 1.083 GB, free: 106.9 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/2.507, allocations: 207.4 kB / 1.083 GB, free: 106.7 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.706/8.213, allocations: 0 / 1.083 GB, free: 106.7 MB / 474.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat