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.00125/0.00125, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 221.3 MB / 235.5 MB, free: 2.949 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.001055/0.001055, allocations: 95.48 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.279e-05, allocations: 8 kB / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5492, allocations: 114.5 MB / 0.4969 GB, free: 4.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5496, allocations: 95.92 kB / 0.497 GB, free: 4.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6193/1.169, allocations: 128.2 MB / 0.6222 GB, free: 84.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.886e-06/1.169, allocations: 0 / 0.6222 GB, free: 84.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000444/1.169, allocations: 148 kB / 0.6223 GB, free: 83.88 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.02616/1.196, allocations: 7.025 MB / 0.6292 GB, free: 76.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/1.196, allocations: 8.031 kB / 0.6292 GB, free: 76.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006306/1.202, allocations: 1.198 MB / 0.6304 GB, free: 75.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/1.217, allocations: 2.901 MB / 0.6332 GB, free: 72.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/1.239, allocations: 7.812 MB / 0.6408 GB, free: 64.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006052/1.24, allocations: 0.5254 MB / 0.6413 GB, free: 64.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004462/1.244, allocations: 0.6872 MB / 0.642 GB, free: 63.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04601/1.29, allocations: 17.2 MB / 0.6588 GB, free: 44.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000598/1.291, allocations: 83.19 kB / 0.6589 GB, free: 44.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003826/1.295, allocations: 331.9 kB / 0.6592 GB, free: 44.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002455/1.297, allocations: 1.48 MB / 0.6607 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03339/1.331, allocations: 14.34 MB / 0.6747 GB, free: 28.73 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.4506/1.781, allocations: 74.35 MB / 0.7473 GB, free: 46.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/1.805, allocations: 7.354 MB / 0.7544 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005911/1.811, allocations: 3.659 MB / 0.758 GB, free: 46.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02408/1.835, allocations: 16.29 MB / 0.7739 GB, free: 42.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.835, allocations: 64.62 kB / 0.774 GB, free: 42.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 5.421e-06/1.835, allocations: 2.406 kB / 0.774 GB, free: 42.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.06185/1.897, allocations: 23.43 MB / 0.7969 GB, free: 36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001092/1.898, allocations: 1.604 MB / 0.7984 GB, free: 34.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01245/1.91, allocations: 5.069 MB / 0.8034 GB, free: 32.52 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.911, allocations: 63.17 kB / 0.8034 GB, free: 32.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004584/1.916, allocations: 4.795 MB / 0.8081 GB, free: 28.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001862/1.918, allocations: 1.055 MB / 0.8092 GB, free: 28.02 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001011/1.919, allocations: 173.7 kB / 0.8093 GB, free: 27.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006051/1.92, allocations: 0.678 MB / 0.81 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00506/1.925, allocations: 3.186 MB / 0.8131 GB, free: 26.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/1.935, allocations: 8.516 MB / 0.8214 GB, free: 18.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/1.943, allocations: 5.144 MB / 0.8264 GB, free: 16.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002697/1.944, allocations: 55.97 kB / 0.8265 GB, free: 16.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.02866/1.972, allocations: 13.38 MB / 0.8396 GB, free: 5.836 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/1.973, allocations: 93.34 kB / 0.8396 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01014/1.983, allocations: 5.623 MB / 0.8451 GB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/1.99, allocations: 2.144 MB / 0.8472 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00819/1.998, allocations: 2.083 MB / 0.8493 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/2.014, allocations: 14.08 MB / 0.863 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008399/2.023, allocations: 0.5646 MB / 0.8636 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004879/2.027, allocations: 0.7404 MB / 0.8643 GB, free: 0 / 458.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.003875/2.031, allocations: 0.7895 MB / 0.8651 GB, free: 15.21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002064/2.033, allocations: 0.5126 MB / 0.8656 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/2.051, allocations: 6.342 MB / 0.8718 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01207/2.064, allocations: 5.449 MB / 0.8771 GB, free: 4.832 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01271/2.076, allocations: 5.828 MB / 0.8828 GB, free: 14.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/2.077, allocations: 15.95 kB / 0.8828 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3919/2.468, allocations: 16.63 MB / 0.899 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.048e-05/2.469, allocations: 8.156 kB / 0.899 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003112/2.472, allocations: 496.4 kB / 0.8995 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006729/2.478, allocations: 1.794 MB / 0.9013 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008031/2.479, allocations: 64.92 kB / 0.9013 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01319/2.493, allocations: 9.725 MB / 0.9108 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000877/2.493, allocations: 1.471 MB / 0.9122 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/2.513, allocations: 10.29 MB / 0.9223 GB, free: 120.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002531/2.516, allocations: 0.5583 MB / 0.9228 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002468/2.518, allocations: 58.97 kB / 0.9229 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004312/2.522, allocations: 205.6 kB / 0.9231 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/2.524, allocations: 186.8 kB / 0.9233 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009012/2.525, allocations: 84.75 kB / 0.9234 GB, free: 120.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01077/2.536, allocations: 3.52 MB / 0.9268 GB, free: 119.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.92e-07/2.536, allocations: 0 / 0.9268 GB, free: 119.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01192/2.548, allocations: 1.68 MB / 0.9284 GB, free: 119.9 MB / 490.7 MB 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.01898/2.567, allocations: 12.55 MB / 0.9407 GB, free: 116 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01684/2.584, allocations: 8.711 MB / 0.9492 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/2.584, allocations: 2.094 kB / 0.9492 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006474/2.59, allocations: 3.268 MB / 0.9524 GB, free: 112.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006119/2.596, allocations: 0.7846 MB / 0.9532 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04975/2.646, allocations: 14.6 MB / 0.9674 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0125/2.659, allocations: 4.932 MB / 0.9722 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01113/2.67, allocations: 2.873 MB / 0.975 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007249/2.677, allocations: 3.1 MB / 0.9781 GB, free: 101.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.963e-06/2.677, allocations: 0 / 0.9781 GB, free: 101.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5163/3.193, allocations: 122.6 MB / 1.098 GB, free: 119.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/3.194, allocations: 211.5 kB / 1.098 GB, free: 118.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/10.65, allocations: 0 / 1.098 GB, free: 118.9 MB / 490.7 MB (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