Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 181.4 kB / 16.39 MB, free: 5.762 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.345/1.345, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009892/0.0009893, allocations: 87.86 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002828, allocations: 4 kB / 351.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2595, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.637, allocations: 115 MB / 0.5045 GB, free: 98.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/0.6374, allocations: 90.31 kB / 0.5046 GB, free: 98.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3037/0.9411, allocations: 127.9 MB / 0.6295 GB, free: 14.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.9412, allocations: 0 / 0.6295 GB, free: 14.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005443/0.9417, allocations: 140 kB / 0.6296 GB, free: 14.26 MB / 410.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.02876/0.9705, allocations: 7.488 MB / 0.6369 GB, free: 6.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.917e-05/0.9706, allocations: 8.031 kB / 0.6369 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006149/0.9767, allocations: 1.186 MB / 0.6381 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/0.9903, allocations: 2.76 MB / 0.6408 GB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/1.013, allocations: 7.203 MB / 0.6478 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000796/1.014, allocations: 0.5174 MB / 0.6483 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003779/1.018, allocations: 0.6833 MB / 0.649 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3018/1.32, allocations: 17.24 MB / 0.6658 GB, free: 54.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004166/1.32, allocations: 77.03 kB / 0.6659 GB, free: 54.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002245/1.322, allocations: 329.9 kB / 0.6662 GB, free: 54.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00223/1.325, allocations: 1.49 MB / 0.6677 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03021/1.355, allocations: 14.48 MB / 0.6818 GB, free: 54.62 MB / 426.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.08256/1.437, allocations: 72.89 MB / 0.753 GB, free: 26.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0204/1.458, allocations: 7.768 MB / 0.7606 GB, free: 24.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02487/1.483, allocations: 16.48 MB / 0.7767 GB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/1.483, allocations: 67.12 kB / 0.7767 GB, free: 15.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 5.691e-06/1.483, allocations: 0 / 0.7767 GB, free: 15.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.1305/1.613, allocations: 45.48 MB / 0.8212 GB, free: 15.35 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3163/1.93, allocations: 16.1 MB / 0.8369 GB, free: 102.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.94, allocations: 4.988 MB / 0.8417 GB, free: 102.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00114/1.942, allocations: 73.39 kB / 0.8418 GB, free: 102.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00348/1.945, allocations: 4.686 MB / 0.8464 GB, free: 100.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002027/1.947, allocations: 1.272 MB / 0.8476 GB, free: 100 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00083/1.948, allocations: 176.9 kB / 0.8478 GB, free: 100 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004761/1.948, allocations: 0.6922 MB / 0.8485 GB, free: 99.69 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0064/1.955, allocations: 4.08 MB / 0.8525 GB, free: 99.67 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009898/1.965, allocations: 9.213 MB / 0.8615 GB, free: 93.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.976, allocations: 6.018 MB / 0.8673 GB, free: 93.01 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000377/1.976, allocations: 51.69 kB / 0.8674 GB, free: 93.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.04441/2.021, allocations: 17.82 MB / 0.8848 GB, free: 91.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/2.021, allocations: 84.91 kB / 0.8849 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003123/2.021, allocations: 184 kB / 0.885 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01572/2.037, allocations: 4.984 MB / 0.8899 GB, free: 91.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006809/2.044, allocations: 1.98 MB / 0.8918 GB, free: 91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04479/2.089, allocations: 38.29 MB / 0.9292 GB, free: 70.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009545/2.098, allocations: 0.541 MB / 0.9298 GB, free: 70.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002181/2.1, allocations: 0.5536 MB / 0.9303 GB, free: 70.42 MB / 474.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.008002/2.108, allocations: 3.227 MB / 0.9335 GB, free: 68.91 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/2.11, allocations: 0.525 MB / 0.934 GB, free: 68.61 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02113/2.131, allocations: 10.44 MB / 0.9442 GB, free: 60.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/2.131, allocations: 44 kB / 0.9442 GB, free: 60.58 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01958/2.151, allocations: 9.53 MB / 0.9535 GB, free: 52.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001111/2.151, allocations: 21.64 kB / 0.9535 GB, free: 52.92 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05687/2.208, allocations: 23.13 MB / 0.9761 GB, free: 34.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.305e-05/2.208, allocations: 0 / 0.9761 GB, free: 34.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/2.211, allocations: 441.8 kB / 0.9765 GB, free: 34.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0123/2.223, allocations: 3.69 MB / 0.9801 GB, free: 31.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/2.224, allocations: 59.98 kB / 0.9802 GB, free: 31.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3531/2.577, allocations: 28.24 MB / 1.008 GB, free: 86.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01677/2.594, allocations: 12.66 MB / 1.02 GB, free: 83.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02814/2.622, allocations: 14.66 MB / 1.034 GB, free: 82.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002379/2.625, allocations: 0.565 MB / 1.035 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/2.626, allocations: 54.3 kB / 1.035 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003029/2.629, allocations: 215.9 kB / 1.035 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009661/2.63, allocations: 230.9 kB / 1.035 GB, free: 82.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/2.63, allocations: 91.91 kB / 1.036 GB, free: 82.71 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006744/2.637, allocations: 3.497 MB / 1.039 GB, free: 82.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.81e-07/2.637, allocations: 0 / 1.039 GB, free: 82.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01232/2.649, allocations: 2.025 MB / 1.041 GB, free: 82.53 MB / 474.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.02761/2.677, allocations: 16.06 MB / 1.057 GB, free: 80.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01795/2.695, allocations: 10.73 MB / 1.067 GB, free: 76.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/2.695, allocations: 0 / 1.067 GB, free: 76.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006086/2.701, allocations: 4.202 MB / 1.071 GB, free: 74.32 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/2.706, allocations: 0.7464 MB / 1.072 GB, free: 74.04 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4386/3.145, allocations: 189.5 MB / 1.257 GB, free: 65.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007352/3.152, allocations: 5.072 MB / 1.262 GB, free: 64.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00823/3.161, allocations: 2.718 MB / 1.265 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006695/3.167, allocations: 3.116 MB / 1.268 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/3.167, allocations: 0 / 1.268 GB, free: 64.59 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5161/3.683, allocations: 152 MB / 1.416 GB, free: 115.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/3.684, allocations: 237.3 kB / 1.416 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/10.29, allocations: 0 / 1.416 GB, free: 115.3 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat