Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2",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.002097/0.002097, allocations: 183.7 kB / 15.76 MB, free: 6.363 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.507/1.507, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009452/0.000945, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2195/0.2195, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1218, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5324, allocations: 109.6 MB / 0.5858 GB, free: 6.477 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.5327, allocations: 85.77 kB / 0.5859 GB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1/1.533, allocations: 285.7 MB / 0.8649 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.995e-06/1.533, allocations: 0 / 0.8649 GB, free: 29.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001359/1.534, allocations: 279.9 kB / 0.8652 GB, free: 28.96 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.05498/1.589, allocations: 14.12 MB / 0.8789 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.589, allocations: 8.031 kB / 0.8789 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01851/1.608, allocations: 2.702 MB / 0.8816 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07411/1.682, allocations: 18.52 MB / 0.8997 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7669/2.449, allocations: 14.95 MB / 0.9143 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001922/2.451, allocations: 1.106 MB / 0.9154 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01125/2.462, allocations: 1.463 MB / 0.9168 GB, free: 55.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1076/2.57, allocations: 36.58 MB / 0.9525 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001233/2.571, allocations: 131.2 kB / 0.9526 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009774/2.581, allocations: 0.6673 MB / 0.9533 GB, free: 49.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006335/2.587, allocations: 3.716 MB / 0.9569 GB, free: 49.87 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07523/2.663, allocations: 33.13 MB / 0.9893 GB, free: 46.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2197/2.882, allocations: 140.5 MB / 1.126 GB, free: 1.766 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7133/3.596, allocations: 18.49 MB / 1.145 GB, free: 112.5 MB / 0.5731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07984/3.676, allocations: 35.73 MB / 1.179 GB, free: 110.1 MB / 0.5731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/3.676, allocations: 100 kB / 1.179 GB, free: 110 MB / 0.5731 GB Notification: Performance of pre-optimization done (n=747): time 1.601e-05/3.676, allocations: 3.938 kB / 1.179 GB, free: 110 MB / 0.5731 GB Notification: Performance of matching and sorting (n=829): time 0.2277/3.904, allocations: 83.25 MB / 1.261 GB, free: 89.43 MB / 0.5731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/3.904, allocations: 310.3 kB / 1.261 GB, free: 89.14 MB / 0.5731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02344/3.927, allocations: 9.384 MB / 1.27 GB, free: 82.61 MB / 0.5731 GB Notification: Performance of collectPreVariables (initialization): time 0.001905/3.929, allocations: 140.1 kB / 1.27 GB, free: 82.47 MB / 0.5731 GB Notification: Performance of collectInitialEqns (initialization): time 0.007126/3.936, allocations: 9.842 MB / 1.28 GB, free: 73.7 MB / 0.5731 GB Notification: Performance of collectInitialBindings (initialization): time 0.004298/3.941, allocations: 2.99 MB / 1.283 GB, free: 71.05 MB / 0.5731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003114/3.944, allocations: 361.5 kB / 1.283 GB, free: 70.7 MB / 0.5731 GB Notification: Performance of setup shared object (initialization): time 0.002396/3.946, allocations: 1.097 MB / 1.284 GB, free: 69.82 MB / 0.5731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01382/3.96, allocations: 8.337 MB / 1.292 GB, free: 62.71 MB / 0.5731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02083/3.981, allocations: 17.89 MB / 1.31 GB, free: 42.12 MB / 0.5731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02105/4.002, allocations: 12.18 MB / 1.322 GB, free: 31.8 MB / 0.5731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003874/4.002, allocations: 95.47 kB / 1.322 GB, free: 31.71 MB / 0.5731 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.4284/4.431, allocations: 27.92 MB / 1.349 GB, free: 85.98 MB / 0.5731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002846/4.431, allocations: 147.1 kB / 1.349 GB, free: 85.98 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006481/4.432, allocations: 330.7 kB / 1.35 GB, free: 85.98 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007933/4.44, allocations: 2.41 MB / 1.352 GB, free: 85.95 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01849/4.458, allocations: 4.285 MB / 1.356 GB, free: 85.95 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/4.478, allocations: 14.83 MB / 1.371 GB, free: 83.24 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01626/4.494, allocations: 1.099 MB / 1.372 GB, free: 83.24 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00454/4.499, allocations: 0.9923 MB / 1.373 GB, free: 83.24 MB / 0.5731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * Number of states: 0 () * Number of discrete variables: 93 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2208): * Single equations (assignments): 2191 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01995/4.519, allocations: 7.192 MB / 1.38 GB, free: 83.11 MB / 0.5731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003174/4.522, allocations: 1.014 MB / 1.381 GB, free: 83.11 MB / 0.5731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03362/4.556, allocations: 16.06 MB / 1.396 GB, free: 82.71 MB / 0.5731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002429/4.556, allocations: 165.5 kB / 1.397 GB, free: 82.71 MB / 0.5731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/4.556, allocations: 14.38 kB / 1.397 GB, free: 82.71 MB / 0.5731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002035/4.556, allocations: 35.3 kB / 1.397 GB, free: 82.71 MB / 0.5731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08038/4.637, allocations: 34.99 MB / 1.431 GB, free: 77.51 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/4.637, allocations: 9.859 kB / 1.431 GB, free: 77.51 MB / 0.5731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007409/4.644, allocations: 1.396 MB / 1.432 GB, free: 77.41 MB / 0.5731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00571/4.65, allocations: 1.775 MB / 1.434 GB, free: 77.04 MB / 0.5731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001981/4.652, allocations: 138.1 kB / 1.434 GB, free: 76.95 MB / 0.5731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/4.668, allocations: 13.36 MB / 1.447 GB, free: 70.02 MB / 0.5731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/4.668, allocations: 11.12 kB / 1.447 GB, free: 70.01 MB / 0.5731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04386/4.712, allocations: 26.86 MB / 1.473 GB, free: 58.9 MB / 0.5731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01019/4.723, allocations: 2.258 MB / 1.476 GB, free: 58.12 MB / 0.5731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004315/4.727, allocations: 123.7 kB / 1.476 GB, free: 58.04 MB / 0.5731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008698/4.736, allocations: 0.5297 MB / 1.476 GB, free: 57.95 MB / 0.5731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002306/4.738, allocations: 449.8 kB / 1.477 GB, free: 57.88 MB / 0.5731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001334/4.739, allocations: 197.3 kB / 1.477 GB, free: 57.83 MB / 0.5731 GB Notification: Performance of sorting global known variables: time 0.01443/4.754, allocations: 6.513 MB / 1.483 GB, free: 55.75 MB / 0.5731 GB Notification: Performance of sort global known variables: time 7.62e-07/4.754, allocations: 0 / 1.483 GB, free: 55.75 MB / 0.5731 GB Notification: Performance of remove unused functions: time 0.02017/4.774, allocations: 3.448 MB / 1.487 GB, free: 55.37 MB / 0.5731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.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 (655): * Single equations (assignments): 638 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03851/4.813, allocations: 28.31 MB / 1.514 GB, free: 29.95 MB / 0.5731 GB Notification: Performance of simCode: created initialization part: time 0.03072/4.843, allocations: 19.88 MB / 1.534 GB, free: 12.48 MB / 0.5731 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/4.843, allocations: 4 kB / 1.534 GB, free: 12.47 MB / 0.5731 GB Notification: Performance of simCode: created simulation system equations: time 0.01265/4.856, allocations: 7.785 MB / 1.541 GB, free: 5.598 MB / 0.5731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008696/4.865, allocations: 1.266 MB / 1.542 GB, free: 4.543 MB / 0.5731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.024/5.889, allocations: 373 MB / 1.907 GB, free: 128.6 MB / 0.6981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03481/5.924, allocations: 10.57 MB / 1.917 GB, free: 127.6 MB / 0.6981 GB Notification: Performance of simCode: alias equations: time 0.02513/5.949, allocations: 6.675 MB / 1.924 GB, free: 127.5 MB / 0.6981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02003/5.969, allocations: 7.448 MB / 1.931 GB, free: 127 MB / 0.6981 GB Notification: Performance of SimCode: time 1.323e-06/5.969, allocations: 0 / 1.931 GB, free: 127 MB / 0.6981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6902/6.66, allocations: 236.5 MB / 2.162 GB, free: 148.5 MB / 0.6981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/6.66, allocations: 222.6 kB / 2.162 GB, free: 148.2 MB / 0.6981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/18.27, allocations: 0 / 2.162 GB, free: 148.2 MB / 0.6981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2_res.mat does not exist to compare? outputFormat=mat