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.001543/0.001543, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009468/0.0009468, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.269e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1016, allocations: 47.59 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5464, allocations: 112.7 MB / 475.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.5467, allocations: 91.88 kB / 475.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6059/1.153, allocations: 125.8 MB / 0.5876 GB, free: 90.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.153, allocations: 0 / 0.5876 GB, free: 90.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003595/1.153, allocations: 143.4 kB / 0.5878 GB, free: 90.57 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.02778/1.181, allocations: 7.129 MB / 0.5947 GB, free: 87.33 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.181, allocations: 9.688 kB / 0.5948 GB, free: 87.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/1.197, allocations: 2.917 MB / 0.5976 GB, free: 85.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02202/1.219, allocations: 8.181 MB / 0.6056 GB, free: 79.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/1.22, allocations: 236 kB / 0.6058 GB, free: 79.55 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004214/1.224, allocations: 427.8 kB / 0.6062 GB, free: 79.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02103/1.245, allocations: 10.19 MB / 0.6162 GB, free: 68.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03928/1.284, allocations: 14.87 MB / 0.6307 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004614/1.285, allocations: 83.27 kB / 0.6308 GB, free: 52.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00364/1.288, allocations: 40 kB / 0.6308 GB, free: 52.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002568/1.291, allocations: 1.527 MB / 0.6323 GB, free: 51.08 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.4402/1.731, allocations: 74.62 MB / 0.7052 GB, free: 42.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007399/1.739, allocations: 4.559 MB / 0.7096 GB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004639/1.743, allocations: 3.302 MB / 0.7129 GB, free: 42.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.745, allocations: 1.335 MB / 0.7142 GB, free: 41.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/1.745, allocations: 61.7 kB / 0.7142 GB, free: 41.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=273): time 7.464e-06/1.745, allocations: 2.969 kB / 0.7142 GB, free: 41.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.05867/1.804, allocations: 23.57 MB / 0.7372 GB, free: 36.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/1.804, allocations: 156.4 kB / 0.7374 GB, free: 36.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009776/1.814, allocations: 4.626 MB / 0.7419 GB, free: 34.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009916/1.815, allocations: 30.17 kB / 0.7419 GB, free: 34.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003722/1.818, allocations: 4.911 MB / 0.7467 GB, free: 30.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.82, allocations: 1.093 MB / 0.7478 GB, free: 29.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005924/1.821, allocations: 2.953 kB / 0.7478 GB, free: 29.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005213/1.821, allocations: 0.6969 MB / 0.7485 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.826, allocations: 3.184 MB / 0.7516 GB, free: 28.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008401/1.834, allocations: 8.695 MB / 0.7601 GB, free: 19.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009523/1.844, allocations: 5.168 MB / 0.7651 GB, free: 17.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004286/1.844, allocations: 59.89 kB / 0.7652 GB, free: 17.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=1210) (initialization): time 0.03026/1.874, allocations: 12.68 MB / 0.7776 GB, free: 11.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001353/1.875, allocations: 88 kB / 0.7777 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01097/1.886, allocations: 5.721 MB / 0.7832 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00653/1.892, allocations: 2.142 MB / 0.7853 GB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008493/1.901, allocations: 2.202 MB / 0.7875 GB, free: 2.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01736/1.918, allocations: 13.77 MB / 0.8009 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009929/1.928, allocations: 414.2 kB / 0.8013 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003815/1.932, allocations: 0.5532 MB / 0.8019 GB, free: 5.023 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * 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 (1156): * Single equations (assignments): 1142 * 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.004328/1.936, allocations: 0.6116 MB / 0.8025 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.015/1.951, allocations: 6.543 MB / 0.8089 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002295/1.954, allocations: 0.5013 MB / 0.8094 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.968, allocations: 6.395 MB / 0.8156 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01129/1.98, allocations: 5.533 MB / 0.821 GB, free: 4.816 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01094/1.991, allocations: 5.412 MB / 0.8263 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001224/1.991, allocations: 17.69 kB / 0.8263 GB, free: 400 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04288/2.034, allocations: 16.51 MB / 0.8424 GB, free: 244 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/2.034, allocations: 12 kB / 0.8424 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002908/2.037, allocations: 0.5312 MB / 0.843 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005705/2.042, allocations: 1.791 MB / 0.8447 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008547/2.043, allocations: 35.97 kB / 0.8447 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/2.056, allocations: 9.443 MB / 0.854 GB, free: 4.074 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001/2.057, allocations: 1.419 MB / 0.8553 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3541/2.411, allocations: 11.12 MB / 0.8662 GB, free: 129.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002168/2.413, allocations: 0.5411 MB / 0.8667 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002333/2.415, allocations: 23.94 kB / 0.8668 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004531/2.42, allocations: 179.3 kB / 0.8669 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001253/2.421, allocations: 208.8 kB / 0.8671 GB, free: 129.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003841/2.422, allocations: 91.39 kB / 0.8672 GB, free: 129.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00918/2.431, allocations: 3.107 MB / 0.8702 GB, free: 129.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.431, allocations: 0.9062 kB / 0.8702 GB, free: 129.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01402/2.445, allocations: 1.535 MB / 0.8717 GB, free: 129.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (246): * Single equations (assignments): 236 * 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.01914/2.464, allocations: 13.96 MB / 0.8854 GB, free: 124.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01715/2.481, allocations: 8.57 MB / 0.8937 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/2.481, allocations: 0 / 0.8937 GB, free: 123.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00646/2.488, allocations: 3.36 MB / 0.897 GB, free: 121.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00692/2.495, allocations: 0.6727 MB / 0.8977 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04749/2.542, allocations: 14.65 MB / 0.912 GB, free: 116.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/2.554, allocations: 5.025 MB / 0.9169 GB, free: 114.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01031/2.565, allocations: 3.013 MB / 0.9198 GB, free: 114.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006514/2.571, allocations: 3.147 MB / 0.9229 GB, free: 112 MB / 474.7 MB Notification: Performance of SimCode: time 1.964e-06/2.571, allocations: 4 kB / 0.9229 GB, free: 112 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/3.093, allocations: 117.9 MB / 1.038 GB, free: 109.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/3.094, allocations: 165.4 kB / 1.038 GB, free: 109.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.882/9.976, allocations: 0.7656 kB / 1.038 GB, free: 109.4 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