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.0009735/0.0009736, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.3/1.3, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008485/0.0008485, allocations: 84.22 kB / 271.5 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002281/0.0002281, allocations: 4 kB / 328.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1896, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1191/0.3087, allocations: 113.2 MB / 489.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.309, allocations: 91.95 kB / 489.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3986/0.7077, allocations: 128.9 MB / 0.6036 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.7077, allocations: 0 / 0.6036 GB, free: 12.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002472/0.708, allocations: 147.9 kB / 0.6037 GB, free: 12.66 MB / 378.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.01834/0.7263, allocations: 7.575 MB / 0.6111 GB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.7264, allocations: 8.031 kB / 0.6112 GB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002901/0.7293, allocations: 1.215 MB / 0.6123 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.7408, allocations: 2.919 MB / 0.6152 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/0.7589, allocations: 8.23 MB / 0.6232 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004804/0.7594, allocations: 0.5295 MB / 0.6237 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002503/0.7619, allocations: 0.7105 MB / 0.6244 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03477/0.7967, allocations: 17.6 MB / 0.6416 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002541/0.797, allocations: 79.27 kB / 0.6417 GB, free: 4.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009451/0.798, allocations: 339.8 kB / 0.642 GB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002105/0.8001, allocations: 1.519 MB / 0.6435 GB, free: 2.379 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1963/0.9964, allocations: 14.79 MB / 0.658 GB, free: 59.21 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.07092/1.067, allocations: 75.26 MB / 0.7314 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/1.085, allocations: 7.484 MB / 0.7388 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02029/1.105, allocations: 16.49 MB / 0.7549 GB, free: 4.543 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.106, allocations: 65.34 kB / 0.7549 GB, free: 4.488 MB / 410.7 MB Notification: Performance of pre-optimization done (n=262): time 5.44e-06/1.106, allocations: 0 / 0.7549 GB, free: 4.488 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.06433/1.17, allocations: 28.43 MB / 0.7827 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00109/1.171, allocations: 1.616 MB / 0.7843 GB, free: 15.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007253/1.178, allocations: 5.236 MB / 0.7894 GB, free: 10.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005895/1.179, allocations: 72.59 kB / 0.7895 GB, free: 10.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003429/1.182, allocations: 4.878 MB / 0.7942 GB, free: 6.203 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001693/1.184, allocations: 1.089 MB / 0.7953 GB, free: 5.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005684/1.185, allocations: 180 kB / 0.7955 GB, free: 5.074 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004966/1.185, allocations: 0.6802 MB / 0.7961 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004694/1.19, allocations: 3.305 MB / 0.7993 GB, free: 1.691 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0142/1.204, allocations: 9.169 MB / 0.8083 GB, free: 8.188 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007812/1.212, allocations: 5.241 MB / 0.8134 GB, free: 3.484 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00011/1.212, allocations: 56 kB / 0.8135 GB, free: 3.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.2112/1.423, allocations: 13.7 MB / 0.8269 GB, free: 97.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.423, allocations: 89.94 kB / 0.8269 GB, free: 97.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009331/1.433, allocations: 5.748 MB / 0.8325 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005456/1.438, allocations: 2.104 MB / 0.8346 GB, free: 96.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006767/1.445, allocations: 2.136 MB / 0.8367 GB, free: 96.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/1.457, allocations: 14.36 MB / 0.8507 GB, free: 89.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006979/1.464, allocations: 0.57 MB / 0.8513 GB, free: 89.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.466, allocations: 0.5358 MB / 0.8518 GB, free: 89.09 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 () * Number of clocked 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.005207/1.471, allocations: 3.246 MB / 0.855 GB, free: 88.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008392/1.472, allocations: 0.5229 MB / 0.8555 GB, free: 88.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/1.483, allocations: 6.5 MB / 0.8618 GB, free: 88.35 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008458/1.491, allocations: 5.582 MB / 0.8673 GB, free: 87.88 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.009214/1.5, allocations: 5.97 MB / 0.8731 GB, free: 86.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-05/1.5, allocations: 14.42 kB / 0.8731 GB, free: 86.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/1.529, allocations: 17.4 MB / 0.8901 GB, free: 80.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/1.529, allocations: 14.09 kB / 0.8901 GB, free: 80.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002714/1.532, allocations: 0.5063 MB / 0.8906 GB, free: 80.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005452/1.537, allocations: 1.796 MB / 0.8924 GB, free: 80.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002765/1.538, allocations: 73.45 kB / 0.8924 GB, free: 80.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009209/1.547, allocations: 9.957 MB / 0.9022 GB, free: 74.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006214/1.547, allocations: 1.479 MB / 0.9036 GB, free: 73.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01319/1.561, allocations: 10.95 MB / 0.9143 GB, free: 65.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/1.562, allocations: 0.5753 MB / 0.9149 GB, free: 64.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004995/1.562, allocations: 59.38 kB / 0.9149 GB, free: 64.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.564, allocations: 221 kB / 0.9151 GB, free: 64.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003642/1.565, allocations: 197.7 kB / 0.9153 GB, free: 64.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/1.565, allocations: 86.98 kB / 0.9154 GB, free: 64.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004515/1.569, allocations: 3.655 MB / 0.919 GB, free: 61.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.569, allocations: 0 / 0.919 GB, free: 61.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006161/1.576, allocations: 1.707 MB / 0.9206 GB, free: 59.43 MB / 458.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 () * Number of clocked 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.01277/1.588, allocations: 13.6 MB / 0.9339 GB, free: 47.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01174/1.6, allocations: 8.953 MB / 0.9427 GB, free: 39.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.6, allocations: 5.781 kB / 0.9427 GB, free: 39.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004456/1.605, allocations: 3.386 MB / 0.946 GB, free: 36.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003456/1.608, allocations: 0.778 MB / 0.9467 GB, free: 35.51 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2962/1.904, allocations: 191.8 MB / 1.134 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007382/1.912, allocations: 5.014 MB / 1.139 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008188/1.92, allocations: 2.922 MB / 1.142 GB, free: 20.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004791/1.925, allocations: 3.173 MB / 1.145 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of SimCode: time 8.82e-07/1.925, allocations: 0 / 1.145 GB, free: 20.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.346/2.271, allocations: 124.4 MB / 1.266 GB, free: 149 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/2.271, allocations: 238.7 kB / 1.267 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.051/7.322, allocations: 4 kB / 1.267 GB, free: 148.7 MB / 0.5105 GB (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