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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 180 kB / 17.01 MB, free: 5.125 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.302/1.302, allocations: 205.4 MB / 223.1 MB, free: 9.098 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.0008841/0.0008842, allocations: 96.09 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 4 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.36, allocations: 113.7 MB / 489.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3603, allocations: 95.94 kB / 489.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4299/0.7902, allocations: 128.7 MB / 0.6039 GB, free: 12.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7903, allocations: 0 / 0.6039 GB, free: 12.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003537/0.7906, allocations: 152 kB / 0.604 GB, free: 12.46 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: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.0217/0.8124, allocations: 7.595 MB / 0.6114 GB, free: 4.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8124, allocations: 12.03 kB / 0.6114 GB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003696/0.8161, allocations: 1.206 MB / 0.6126 GB, free: 3.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/0.8272, allocations: 2.795 MB / 0.6154 GB, free: 0.7461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0174/0.8446, allocations: 7.566 MB / 0.6227 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005229/0.8452, allocations: 0.5216 MB / 0.6233 GB, free: 8.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003071/0.8483, allocations: 0.695 MB / 0.6239 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03902/0.8873, allocations: 17.52 MB / 0.641 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003314/0.8877, allocations: 83.19 kB / 0.6411 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00196/0.8896, allocations: 343.8 kB / 0.6415 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002225/0.8919, allocations: 1.519 MB / 0.6429 GB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3369/1.229, allocations: 14.74 MB / 0.6573 GB, free: 59.42 MB / 410.8 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.06944/1.298, allocations: 73.77 MB / 0.7294 GB, free: 17.12 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01865/1.317, allocations: 7.863 MB / 0.7371 GB, free: 14.8 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/1.336, allocations: 16.69 MB / 0.7534 GB, free: 6.383 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.336, allocations: 65.31 kB / 0.7534 GB, free: 6.324 MB / 410.8 MB Notification: Performance of pre-optimization done (n=275): time 5.59e-06/1.336, allocations: 0 / 0.7534 GB, free: 6.324 MB / 410.8 MB Notification: Performance of matching and sorting (n=349): time 0.129/1.465, allocations: 46.53 MB / 0.7989 GB, free: 5.059 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02333/1.488, allocations: 16.11 MB / 0.8146 GB, free: 4.699 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1883/1.677, allocations: 5.099 MB / 0.8196 GB, free: 103.6 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007824/1.677, allocations: 76.48 kB / 0.8196 GB, free: 103.6 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003267/1.681, allocations: 4.776 MB / 0.8243 GB, free: 102.2 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001578/1.682, allocations: 1.298 MB / 0.8256 GB, free: 101.4 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/1.684, allocations: 185.4 kB / 0.8257 GB, free: 101.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0008646/1.684, allocations: 0.6927 MB / 0.8264 GB, free: 101.1 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005862/1.69, allocations: 4.13 MB / 0.8305 GB, free: 101.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00807/1.698, allocations: 9.363 MB / 0.8396 GB, free: 94.38 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009791/1.708, allocations: 6.096 MB / 0.8456 GB, free: 94.32 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002639/1.709, allocations: 50.06 kB / 0.8456 GB, free: 94.32 MB / 458.8 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.03841/1.747, allocations: 18.04 MB / 0.8632 GB, free: 92.95 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/1.747, allocations: 84.94 kB / 0.8633 GB, free: 92.95 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002557/1.747, allocations: 181.6 kB / 0.8635 GB, free: 92.95 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/1.763, allocations: 5.003 MB / 0.8684 GB, free: 92.88 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006368/1.769, allocations: 2.017 MB / 0.8703 GB, free: 92.7 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04184/1.811, allocations: 38.29 MB / 0.9077 GB, free: 72.52 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008481/1.82, allocations: 0.549 MB / 0.9083 GB, free: 72.35 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002077/1.822, allocations: 0.5608 MB / 0.9088 GB, free: 72.28 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * 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 (1064): * Single equations (assignments): 1053 * 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,(3,77.8%) 12,(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.007503/1.829, allocations: 3.288 MB / 0.912 GB, free: 70.73 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.831, allocations: 0.5273 MB / 0.9125 GB, free: 70.44 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0221/1.853, allocations: 10.55 MB / 0.9228 GB, free: 63.07 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-05/1.853, allocations: 48 kB / 0.9229 GB, free: 63.03 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01889/1.872, allocations: 9.626 MB / 0.9323 GB, free: 55.29 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.762e-05/1.872, allocations: 24.97 kB / 0.9323 GB, free: 55.28 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04373/1.916, allocations: 23.72 MB / 0.9555 GB, free: 36.25 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.184e-05/1.916, allocations: 4 kB / 0.9555 GB, free: 36.25 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/1.918, allocations: 464.6 kB / 0.9559 GB, free: 35.89 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01112/1.929, allocations: 3.702 MB / 0.9595 GB, free: 32.34 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006689/1.93, allocations: 62.91 kB / 0.9596 GB, free: 32.28 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2294/2.159, allocations: 28.24 MB / 0.9872 GB, free: 86.8 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01545/2.175, allocations: 12.65 MB / 0.9995 GB, free: 84.02 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02507/2.2, allocations: 15.26 MB / 1.014 GB, free: 82.32 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003917/2.204, allocations: 1.148 MB / 1.016 GB, free: 82.23 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001155/2.205, allocations: 59.31 kB / 1.016 GB, free: 82.23 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/2.208, allocations: 234.5 kB / 1.016 GB, free: 82.23 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008396/2.209, allocations: 252 kB / 1.016 GB, free: 82.22 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002783/2.209, allocations: 93.16 kB / 1.016 GB, free: 82.22 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.005969/2.215, allocations: 3.576 MB / 1.02 GB, free: 82.01 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.8e-07/2.215, allocations: 0 / 1.02 GB, free: 82.01 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.008171/2.223, allocations: 2.053 MB / 1.022 GB, free: 82.01 MB / 458.8 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 (216): * Single equations (assignments): 208 * 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.02298/2.246, allocations: 17.05 MB / 1.038 GB, free: 77.64 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01469/2.261, allocations: 10.89 MB / 1.049 GB, free: 73.69 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/2.261, allocations: 0 / 1.049 GB, free: 73.69 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005186/2.266, allocations: 4.281 MB / 1.053 GB, free: 71.7 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/2.27, allocations: 0.7585 MB / 1.054 GB, free: 71.41 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3185/2.589, allocations: 192.9 MB / 1.242 GB, free: 59.96 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009036/2.598, allocations: 5.157 MB / 1.247 GB, free: 59.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.007234/2.605, allocations: 2.778 MB / 1.25 GB, free: 59.04 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005112/2.61, allocations: 3.182 MB / 1.253 GB, free: 59.04 MB / 490.8 MB Notification: Performance of SimCode: time 1.423e-06/2.61, allocations: 0 / 1.253 GB, free: 59.04 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4118/3.022, allocations: 154.2 MB / 1.404 GB, free: 105.3 MB / 490.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/3.022, allocations: 241.5 kB / 1.404 GB, free: 105.1 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.416/8.438, allocations: 0 / 1.404 GB, free: 105.1 MB / 490.8 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) 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