Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008499/0.0008498, allocations: 98.16 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001952/0.0001952, allocations: 11.98 kB / 358 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.232, allocations: 51.48 MB / 409.5 MB, free: 26.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3224/0.5544, allocations: 115.4 MB / 0.5126 GB, free: 44.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.5547, allocations: 95.83 kB / 0.5127 GB, free: 44.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2901/0.8448, allocations: 131.7 MB / 0.6412 GB, free: 5.754 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.8449, allocations: 4 kB / 0.6412 GB, free: 5.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004987/0.8454, allocations: 136 kB / 0.6414 GB, free: 5.617 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.02711/0.8725, allocations: 7.617 MB / 0.6488 GB, free: 13.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.8726, allocations: 8.031 kB / 0.6488 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005328/0.8779, allocations: 1.193 MB / 0.65 GB, free: 12.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01318/0.8911, allocations: 2.752 MB / 0.6527 GB, free: 9.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/0.9105, allocations: 6.559 MB / 0.6591 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007138/0.9113, allocations: 0.5175 MB / 0.6596 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003693/0.915, allocations: 0.6833 MB / 0.6602 GB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2403/1.155, allocations: 17.23 MB / 0.6771 GB, free: 74.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003921/1.156, allocations: 86.14 kB / 0.6772 GB, free: 74.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/1.157, allocations: 325.8 kB / 0.6775 GB, free: 74.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/1.16, allocations: 1.493 MB / 0.6789 GB, free: 74.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02769/1.187, allocations: 14.47 MB / 0.6931 GB, free: 74.13 MB / 458.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.07037/1.258, allocations: 72.88 MB / 0.7642 GB, free: 48.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/1.277, allocations: 7.771 MB / 0.7718 GB, free: 46.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02004/1.297, allocations: 16.5 MB / 0.7879 GB, free: 38.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.479e-05/1.297, allocations: 61.16 kB / 0.788 GB, free: 37.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=266): time 5.25e-06/1.297, allocations: 0 / 0.788 GB, free: 37.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=340): time 0.1143/1.411, allocations: 45.33 MB / 0.8323 GB, free: 10.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02483/1.436, allocations: 16.23 MB / 0.8481 GB, free: 12.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007949/1.444, allocations: 4.985 MB / 0.853 GB, free: 8.438 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008491/1.445, allocations: 80.98 kB / 0.8531 GB, free: 8.355 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.448, allocations: 4.682 MB / 0.8576 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.45, allocations: 1.265 MB / 0.8589 GB, free: 3.059 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005298/1.451, allocations: 180 kB / 0.859 GB, free: 2.883 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000478/1.451, allocations: 0.6903 MB / 0.8597 GB, free: 2.293 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2241/1.675, allocations: 4.076 MB / 0.8637 GB, free: 106 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008126/1.683, allocations: 9.214 MB / 0.8727 GB, free: 99.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009052/1.693, allocations: 6.017 MB / 0.8786 GB, free: 99.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001781/1.693, allocations: 52.38 kB / 0.8786 GB, free: 99.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03442/1.727, allocations: 17.82 MB / 0.896 GB, free: 98.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.727, allocations: 91.16 kB / 0.8961 GB, free: 98.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000215/1.728, allocations: 180.5 kB / 0.8963 GB, free: 98.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01513/1.743, allocations: 4.984 MB / 0.9011 GB, free: 98.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0066/1.749, allocations: 1.975 MB / 0.9031 GB, free: 98.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04242/1.792, allocations: 38.31 MB / 0.9405 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008764/1.801, allocations: 0.5371 MB / 0.941 GB, free: 82.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/1.803, allocations: 0.5616 MB / 0.9416 GB, free: 82.38 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * 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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1042): * Single equations (assignments): 1031 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.007307/1.81, allocations: 3.227 MB / 0.9447 GB, free: 80.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001464/1.812, allocations: 0.5229 MB / 0.9452 GB, free: 80.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02011/1.832, allocations: 10.43 MB / 0.9554 GB, free: 77.19 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.521e-05/1.832, allocations: 49.06 kB / 0.9554 GB, free: 77.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01846/1.85, allocations: 9.531 MB / 0.9648 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001195/1.851, allocations: 17.25 kB / 0.9648 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04101/1.892, allocations: 23.14 MB / 0.9874 GB, free: 54.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/1.892, allocations: 4 kB / 0.9874 GB, free: 54.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.894, allocations: 448.3 kB / 0.9878 GB, free: 54.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01137/1.906, allocations: 3.691 MB / 0.9914 GB, free: 52.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008226/1.906, allocations: 65 kB / 0.9915 GB, free: 51.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03165/1.938, allocations: 28.22 MB / 1.019 GB, free: 26.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01468/1.953, allocations: 12.66 MB / 1.031 GB, free: 13.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2517/2.205, allocations: 14.68 MB / 1.046 GB, free: 92.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/2.206, allocations: 0.5517 MB / 1.046 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007104/2.207, allocations: 59.47 kB / 1.046 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/2.21, allocations: 217.6 kB / 1.047 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000742/2.21, allocations: 232.1 kB / 1.047 GB, free: 91.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/2.211, allocations: 93.72 kB / 1.047 GB, free: 91.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004624/2.215, allocations: 3.494 MB / 1.05 GB, free: 91.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.91e-07/2.215, allocations: 0 / 1.05 GB, free: 91.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007857/2.223, allocations: 2.048 MB / 1.052 GB, free: 91.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (206): * Single equations (assignments): 198 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.02267/2.246, allocations: 16.07 MB / 1.068 GB, free: 89.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0144/2.26, allocations: 10.72 MB / 1.078 GB, free: 88.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/2.26, allocations: 3.219 kB / 1.078 GB, free: 88.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005133/2.265, allocations: 4.22 MB / 1.083 GB, free: 87.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/2.269, allocations: 0.7449 MB / 1.083 GB, free: 87.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3578/2.627, allocations: 189.5 MB / 1.268 GB, free: 131 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005451/2.632, allocations: 5.077 MB / 1.273 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007148/2.64, allocations: 2.721 MB / 1.276 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003739/2.643, allocations: 3.107 MB / 1.279 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.353e-06/2.643, allocations: 2.812 kB / 1.279 GB, free: 130.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4354/3.079, allocations: 152.1 MB / 1.428 GB, free: 147.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/3.079, allocations: 236.7 kB / 1.428 GB, free: 147.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.648/8.727, allocations: 0 / 1.428 GB, free: 147.7 MB / 0.5417 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat