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.001466/0.001466, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009274/0.0009274, allocations: 85.98 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.059e-05/2.079e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 50.41 MB / 387.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5183, allocations: 114.3 MB / 0.4901 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.5185, allocations: 87.95 kB / 0.4902 GB, free: 12.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5398/1.058, allocations: 124.9 MB / 0.6121 GB, free: 91.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/1.058, allocations: 1.375 kB / 0.6121 GB, free: 91.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002759/1.059, allocations: 144.8 kB / 0.6123 GB, free: 91.95 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.02279/1.081, allocations: 7.036 MB / 0.6191 GB, free: 87.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.082, allocations: 7.812 kB / 0.6191 GB, free: 87.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01284/1.094, allocations: 2.76 MB / 0.6218 GB, free: 84.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/1.111, allocations: 7.159 MB / 0.6288 GB, free: 77.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/1.112, allocations: 224.3 kB / 0.629 GB, free: 77.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003067/1.115, allocations: 415.9 kB / 0.6294 GB, free: 77.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01872/1.134, allocations: 10.03 MB / 0.6392 GB, free: 67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03442/1.168, allocations: 14.52 MB / 0.6534 GB, free: 51.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003089/1.168, allocations: 83.19 kB / 0.6535 GB, free: 51.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/1.17, allocations: 36 kB / 0.6535 GB, free: 51.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002131/1.172, allocations: 1.493 MB / 0.655 GB, free: 49.59 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4187/1.59, allocations: 72.37 MB / 0.7257 GB, free: 62.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007741/1.598, allocations: 4.801 MB / 0.7304 GB, free: 61.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005306/1.604, allocations: 3.541 MB / 0.7338 GB, free: 61.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001632/1.605, allocations: 1.344 MB / 0.7351 GB, free: 60.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/1.605, allocations: 65.53 kB / 0.7352 GB, free: 60.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=275): time 6.943e-06/1.605, allocations: 0 / 0.7352 GB, free: 60.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=358): time 0.1016/1.707, allocations: 41.53 MB / 0.7757 GB, free: 52.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/1.707, allocations: 166.6 kB / 0.7759 GB, free: 52.28 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007488/1.715, allocations: 4.367 MB / 0.7802 GB, free: 50.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.716, allocations: 29.14 kB / 0.7802 GB, free: 50.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002761/1.718, allocations: 4.721 MB / 0.7848 GB, free: 46.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002333/1.721, allocations: 1.286 MB / 0.7861 GB, free: 46.04 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009/1.722, allocations: 2.5 kB / 0.7861 GB, free: 46.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005638/1.722, allocations: 0.701 MB / 0.7867 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006029/1.728, allocations: 3.98 MB / 0.7906 GB, free: 44.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.011/1.739, allocations: 9.214 MB / 0.7996 GB, free: 34.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008842/1.748, allocations: 5.995 MB / 0.8055 GB, free: 30.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.748, allocations: 52 kB / 0.8055 GB, free: 30 MB / 442.7 MB Notification: Performance of matching and sorting (n=1215) (initialization): time 0.04105/1.789, allocations: 17.26 MB / 0.8224 GB, free: 16.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.79, allocations: 90.56 kB / 0.8225 GB, free: 16.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001978/1.79, allocations: 184 kB / 0.8227 GB, free: 16.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/1.807, allocations: 5.382 MB / 0.8279 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007708/1.815, allocations: 2.064 MB / 0.8299 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0508/1.866, allocations: 35.48 MB / 0.8646 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01009/1.876, allocations: 407.1 kB / 0.865 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/1.879, allocations: 0.5818 MB / 0.8655 GB, free: 7.531 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1081): * Single equations (assignments): 1070 * 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.002771/1.882, allocations: 0.5809 MB / 0.8661 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03073/1.912, allocations: 11.74 MB / 0.8776 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002298/1.915, allocations: 0.4975 MB / 0.8781 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02519/1.94, allocations: 10.38 MB / 0.8882 GB, free: 156 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001121/1.94, allocations: 47.95 kB / 0.8882 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02138/1.961, allocations: 8.978 MB / 0.897 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001417/1.962, allocations: 23.94 kB / 0.897 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3979/2.36, allocations: 22.34 MB / 0.9188 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.605e-05/2.36, allocations: 4.031 kB / 0.9188 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/2.363, allocations: 474.4 kB / 0.9193 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01377/2.377, allocations: 3.675 MB / 0.9229 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001044/2.378, allocations: 13.64 kB / 0.9229 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03573/2.414, allocations: 25.9 MB / 0.9482 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01623/2.43, allocations: 11.62 MB / 0.9595 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02853/2.458, allocations: 14.97 MB / 0.9742 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00245/2.461, allocations: 0.5252 MB / 0.9747 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002114/2.463, allocations: 7.406 kB / 0.9747 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005556/2.469, allocations: 174.8 kB / 0.9748 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001821/2.471, allocations: 256.3 kB / 0.9751 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004978/2.471, allocations: 95.09 kB / 0.9752 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006199/2.477, allocations: 2.925 MB / 0.978 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.91e-07/2.477, allocations: 1.312 kB / 0.978 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01307/2.49, allocations: 1.822 MB / 0.9798 GB, free: 123.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 ($STATESET1.x,$STATESET0.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 216 * 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.02692/2.517, allocations: 16.47 MB / 0.9959 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0159/2.533, allocations: 10.34 MB / 1.006 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/2.533, allocations: 4 kB / 1.006 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006045/2.539, allocations: 4.142 MB / 1.01 GB, free: 98.56 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/2.545, allocations: 0.64 MB / 1.011 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04374/2.589, allocations: 15.34 MB / 1.026 GB, free: 84.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01358/2.602, allocations: 5.096 MB / 1.031 GB, free: 80.94 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0164/2.619, allocations: 2.814 MB / 1.033 GB, free: 79.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01093/2.63, allocations: 3.12 MB / 1.036 GB, free: 76.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/2.63, allocations: 0 / 1.036 GB, free: 76.42 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6545/3.284, allocations: 146.8 MB / 1.18 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/3.285, allocations: 156.5 kB / 1.18 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/10.33, allocations: 0 / 1.18 GB, free: 97.11 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