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.001973/0.001973, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001159/0.001159, allocations: 88.36 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.37e-05, allocations: 0 / 350.6 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 51.48 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4365/0.5559, allocations: 114.8 MB / 0.5048 GB, free: 7.012 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.5562, allocations: 84.2 kB / 0.5049 GB, free: 6.973 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6551/1.211, allocations: 133.4 MB / 0.6352 GB, free: 80.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.211, allocations: 0 / 0.6352 GB, free: 80.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005149/1.212, allocations: 146.2 kB / 0.6353 GB, free: 80.24 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.02841/1.24, allocations: 7.126 MB / 0.6423 GB, free: 77.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001135/1.24, allocations: 11.44 kB / 0.6423 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007155/1.248, allocations: 1.2 MB / 0.6435 GB, free: 76.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01565/1.263, allocations: 2.948 MB / 0.6463 GB, free: 76.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02238/1.286, allocations: 7.059 MB / 0.6532 GB, free: 73.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007497/1.287, allocations: 0.513 MB / 0.6537 GB, free: 73.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004882/1.291, allocations: 0.6947 MB / 0.6544 GB, free: 73.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04777/1.339, allocations: 17.19 MB / 0.6712 GB, free: 64.54 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006305/1.34, allocations: 87.39 kB / 0.6713 GB, free: 64.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003696/1.344, allocations: 328.9 kB / 0.6716 GB, free: 64.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/1.346, allocations: 1.486 MB / 0.673 GB, free: 63.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.033/1.379, allocations: 14.32 MB / 0.687 GB, free: 51.05 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.4962/1.876, allocations: 74.36 MB / 0.7596 GB, free: 44.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/1.898, allocations: 7.363 MB / 0.7668 GB, free: 43.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005885/1.904, allocations: 3.664 MB / 0.7704 GB, free: 43.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03418/1.938, allocations: 16.27 MB / 0.7863 GB, free: 39.85 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.229e-05/1.938, allocations: 61.06 kB / 0.7864 GB, free: 39.81 MB / 458.7 MB Notification: Performance of pre-optimization done (n=253): time 1.116e-05/1.938, allocations: 0 / 0.7864 GB, free: 39.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=269): time 0.08447/2.023, allocations: 23.44 MB / 0.8093 GB, free: 35.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001191/2.024, allocations: 1.601 MB / 0.8108 GB, free: 33.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01094/2.035, allocations: 5.078 MB / 0.8158 GB, free: 31.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000863/2.036, allocations: 66.83 kB / 0.8158 GB, free: 31.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003843/2.04, allocations: 4.795 MB / 0.8205 GB, free: 27.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002099/2.042, allocations: 1.05 MB / 0.8215 GB, free: 27.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008019/2.043, allocations: 174.1 kB / 0.8217 GB, free: 26.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004479/2.043, allocations: 0.6791 MB / 0.8224 GB, free: 26.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/2.048, allocations: 3.186 MB / 0.8255 GB, free: 25.39 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008352/2.056, allocations: 8.522 MB / 0.8338 GB, free: 17.13 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008196/2.065, allocations: 5.141 MB / 0.8388 GB, free: 15.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002233/2.065, allocations: 54.72 kB / 0.8389 GB, free: 15.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03072/2.096, allocations: 13.37 MB / 0.8519 GB, free: 11.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/2.096, allocations: 86.88 kB / 0.852 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01058/2.107, allocations: 5.629 MB / 0.8575 GB, free: 9.527 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00605/2.113, allocations: 2.096 MB / 0.8596 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007584/2.12, allocations: 2.09 MB / 0.8616 GB, free: 8.922 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01503/2.135, allocations: 14.09 MB / 0.8754 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009344/2.145, allocations: 0.5674 MB / 0.8759 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/2.147, allocations: 0.5222 MB / 0.8764 GB, free: 11.3 MB / 474.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 () * 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.002029/2.149, allocations: 0.7946 MB / 0.8772 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/2.151, allocations: 0.5124 MB / 0.8777 GB, free: 10 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/2.164, allocations: 6.335 MB / 0.8839 GB, free: 4.879 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01071/2.175, allocations: 5.449 MB / 0.8892 GB, free: 428 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01147/2.186, allocations: 5.832 MB / 0.8949 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.993e-05/2.186, allocations: 13.08 kB / 0.8949 GB, free: 11.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04134/2.228, allocations: 16.74 MB / 0.9113 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.741e-05/2.228, allocations: 8 kB / 0.9113 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/2.23, allocations: 0.4915 MB / 0.9118 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005565/2.236, allocations: 1.794 MB / 0.9135 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006274/2.237, allocations: 68.89 kB / 0.9136 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/2.251, allocations: 9.724 MB / 0.9231 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001546/2.252, allocations: 1.46 MB / 0.9245 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/2.272, allocations: 10.29 MB / 0.9345 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/2.275, allocations: 0.5567 MB / 0.9351 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/2.277, allocations: 55.98 kB / 0.9351 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003571/2.281, allocations: 209.2 kB / 0.9353 GB, free: 4.148 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006923/2.281, allocations: 189.5 kB / 0.9355 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000244/2.282, allocations: 79.66 kB / 0.9356 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008082/2.29, allocations: 3.523 MB / 0.939 GB, free: 368 kB / 0.5105 GB Notification: Performance of sort global known variables: time 9.01e-07/2.29, allocations: 0 / 0.939 GB, free: 368 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01277/2.302, allocations: 1.698 MB / 0.9407 GB, free: 14.68 MB / 0.5261 GB 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 () * 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.02053/2.323, allocations: 12.56 MB / 0.953 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.3448/2.668, allocations: 8.701 MB / 0.9615 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/2.668, allocations: 3.469 kB / 0.9615 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005999/2.674, allocations: 3.271 MB / 0.9647 GB, free: 159.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005782/2.68, allocations: 0.7738 MB / 0.9654 GB, free: 159 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04307/2.723, allocations: 14.6 MB / 0.9797 GB, free: 156.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009805/2.733, allocations: 4.937 MB / 0.9845 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01129/2.744, allocations: 2.875 MB / 0.9873 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006979/2.751, allocations: 3.099 MB / 0.9903 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/2.751, allocations: 0 / 0.9903 GB, free: 155.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2006/2.952, allocations: 122.8 MB / 1.11 GB, free: 79.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/2.952, allocations: 210.2 kB / 1.11 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.246/10.2, allocations: 0 / 1.11 GB, free: 78.78 MB / 0.5261 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