Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009332/0.0009333, allocations: 97.75 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008745/0.0008745, allocations: 180.4 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004385, allocations: 12 kB / 280.8 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 47.58 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2634/0.3673, allocations: 73.72 MB / 402.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04149/0.4088, allocations: 17.29 MB / 419.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02051/0.4294, allocations: 385.4 kB / 419.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01392/0.4433, allocations: 3.716 MB / 423.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0401/0.4835, allocations: 10.35 MB / 433.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006654/0.4902, allocations: 1.181 MB / 435.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00943/0.4997, allocations: 3.72 MB / 438.8 MB, free: 7.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.5159, allocations: 9.503 MB / 448.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.5204, allocations: 1.748 MB / 450 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004012/0.5245, allocations: 2.071 MB / 452.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.5262, allocations: 228 kB / 452.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/0.5302, allocations: 1.252 MB / 453.6 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004336/0.5346, allocations: 2.622 MB / 456.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.5374, allocations: 1.361 MB / 457.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.5491, allocations: 9.553 MB / 467.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5492, allocations: 0 / 467.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5492, allocations: 0 / 467.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005092/0.5497, allocations: 4 kB / 467.1 MB, free: 10.66 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02104/0.5708, allocations: 7.184 MB / 474.3 MB, free: 3.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5708, allocations: 8.031 kB / 474.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00416/0.575, allocations: 1.152 MB / 475.5 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.5858, allocations: 2.623 MB / 478.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.5974, allocations: 4.556 MB / 482.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005458/0.598, allocations: 435.3 kB / 483.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002751/0.6008, allocations: 0.5816 MB / 483.6 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03995/0.6407, allocations: 17.04 MB / 0.489 GB, free: 8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002719/0.6411, allocations: 71.36 kB / 0.489 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/0.6424, allocations: 263.8 kB / 0.4893 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003837/0.6463, allocations: 2.635 MB / 0.4918 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02923/0.6755, allocations: 14.65 MB / 0.5061 GB, free: 6.363 MB / 414.1 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.4313/1.107, allocations: 63.5 MB / 0.5682 GB, free: 125.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02138/1.128, allocations: 7.865 MB / 0.5758 GB, free: 124.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02408/1.152, allocations: 16.92 MB / 0.5924 GB, free: 115.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/1.153, allocations: 69.94 kB / 0.5924 GB, free: 115.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 7.424e-06/1.153, allocations: 0 / 0.5924 GB, free: 115.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1131/1.266, allocations: 43.73 MB / 0.6351 GB, free: 76.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01966/1.285, allocations: 17.05 MB / 0.6518 GB, free: 58.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007696/1.293, allocations: 5.979 MB / 0.6576 GB, free: 52.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009167/1.294, allocations: 78.72 kB / 0.6577 GB, free: 52.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.297, allocations: 4.751 MB / 0.6623 GB, free: 48.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.298, allocations: 1.27 MB / 0.6636 GB, free: 46.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/1.299, allocations: 180 kB / 0.6637 GB, free: 46.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0004122/1.299, allocations: 0.6984 MB / 0.6644 GB, free: 46.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004894/1.304, allocations: 4.07 MB / 0.6684 GB, free: 41.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007033/1.311, allocations: 9.281 MB / 0.6775 GB, free: 30.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007812/1.319, allocations: 6.027 MB / 0.6834 GB, free: 24.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.319, allocations: 52 kB / 0.6834 GB, free: 23.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.03311/1.352, allocations: 17.48 MB / 0.7005 GB, free: 6.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/1.353, allocations: 84 kB / 0.7006 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001798/1.353, allocations: 188.1 kB / 0.7007 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/1.366, allocations: 4.591 MB / 0.7052 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2045/1.571, allocations: 2.026 MB / 0.7072 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04496/1.616, allocations: 35.03 MB / 0.7414 GB, free: 123.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009126/1.625, allocations: 0.5547 MB / 0.7419 GB, free: 123.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001948/1.627, allocations: 0.56 MB / 0.7425 GB, free: 123 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * 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.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 (1066): * Single equations (assignments): 1053 * Array equations: 6 * 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%) 33,(2,100.0%) 19,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.006942/1.634, allocations: 3.265 MB / 0.7457 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/1.635, allocations: 0.5359 MB / 0.7462 GB, free: 121.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/1.654, allocations: 9.922 MB / 0.7559 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001196/1.654, allocations: 50 kB / 0.7559 GB, free: 118.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01658/1.671, allocations: 8.483 MB / 0.7642 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001034/1.671, allocations: 11.95 kB / 0.7642 GB, free: 110.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04229/1.713, allocations: 22.74 MB / 0.7864 GB, free: 87.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/1.713, allocations: 8 kB / 0.7865 GB, free: 87.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.716, allocations: 483.2 kB / 0.7869 GB, free: 87.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009778/1.726, allocations: 3.287 MB / 0.7901 GB, free: 83.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007166/1.726, allocations: 65.16 kB / 0.7902 GB, free: 83.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02957/1.756, allocations: 25.22 MB / 0.8148 GB, free: 58.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01295/1.769, allocations: 11.02 MB / 0.8256 GB, free: 46.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02302/1.792, allocations: 14.72 MB / 0.8399 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004351/1.797, allocations: 1.134 MB / 0.8411 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002354/1.799, allocations: 60 kB / 0.8411 GB, free: 30.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003971/1.803, allocations: 216.6 kB / 0.8413 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009131/1.804, allocations: 241.5 kB / 0.8415 GB, free: 30.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/1.804, allocations: 93.86 kB / 0.8416 GB, free: 30.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005925/1.81, allocations: 3.763 MB / 0.8453 GB, free: 26.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.81, allocations: 0 / 0.8453 GB, free: 26.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0105/1.821, allocations: 2.006 MB / 0.8473 GB, free: 24.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (220): * Single equations (assignments): 212 * 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%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02384/1.844, allocations: 16.51 MB / 0.8634 GB, free: 7.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2084/2.053, allocations: 10.66 MB / 0.8738 GB, free: 142.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.053, allocations: 4.625 kB / 0.8738 GB, free: 142.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007086/2.06, allocations: 4.154 MB / 0.8779 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005175/2.065, allocations: 0.7567 MB / 0.8786 GB, free: 141.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07343/2.139, allocations: 159.7 MB / 1.035 GB, free: 4.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008264/2.147, allocations: 5.137 MB / 1.04 GB, free: 2.777 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008026/2.155, allocations: 2.789 MB / 1.042 GB, free: 1.145 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2061/2.361, allocations: 3.173 MB / 1.045 GB, free: 153.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/2.361, allocations: 2.812 kB / 1.045 GB, free: 153.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/2.566, allocations: 148 MB / 1.19 GB, free: 26.59 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/2.567, allocations: 232.5 kB / 1.19 GB, free: 26.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.717/8.283, allocations: 8 kB / 1.19 GB, free: 26.34 MB / 462.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat