Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",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.001704/0.001703, allocations: 181.5 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.157/2.157, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001069/0.001069, allocations: 89.94 kB / 267.5 MB, free: 14.11 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.2858/0.2858, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.714e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.536/0.6609, allocations: 108.7 MB / 0.5791 GB, free: 11.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.6613, allocations: 85.73 kB / 0.5792 GB, free: 11.04 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4662/1.128, allocations: 106.8 MB / 0.6835 GB, free: 7.996 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.494e-06/1.128, allocations: 0 / 0.6835 GB, free: 7.996 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004533/1.128, allocations: 112 kB / 0.6836 GB, free: 7.887 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1837 * Number of variables: 1837 Notification: Performance of Generate backend data structure: time 0.02341/1.152, allocations: 5.255 MB / 0.6887 GB, free: 2.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/1.152, allocations: 12.03 kB / 0.6887 GB, free: 2.551 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004636/1.156, allocations: 0.9308 MB / 0.6896 GB, free: 1.605 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05267/1.209, allocations: 6.904 MB / 0.6964 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02795/1.237, allocations: 6.867 MB / 0.7031 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006692/1.238, allocations: 402.6 kB / 0.7034 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003191/1.241, allocations: 0.5309 MB / 0.704 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4056/1.647, allocations: 12.3 MB / 0.716 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004333/1.647, allocations: 69.38 kB / 0.716 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002302/1.649, allocations: 257.5 kB / 0.7163 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003132/1.653, allocations: 1.13 MB / 0.7174 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03168/1.684, allocations: 9.819 MB / 0.727 GB, free: 104.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08479/1.769, allocations: 56.74 MB / 0.7824 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01672/1.786, allocations: 4.113 MB / 0.7864 GB, free: 66.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004872/1.791, allocations: 2.253 MB / 0.7886 GB, free: 65.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02534/1.816, allocations: 9.495 MB / 0.7979 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.42e-05/1.816, allocations: 58.44 kB / 0.7979 GB, free: 60.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 6.492e-06/1.816, allocations: 0 / 0.7979 GB, free: 60.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212): time 0.07046/1.887, allocations: 15.84 MB / 0.8134 GB, free: 54.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/1.887, allocations: 199.4 kB / 0.8136 GB, free: 54.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009989/1.897, allocations: 4.204 MB / 0.8177 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005302/1.898, allocations: 57.02 kB / 0.8177 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003183/1.901, allocations: 3.637 MB / 0.8213 GB, free: 50.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.902, allocations: 0.8149 MB / 0.8221 GB, free: 49.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006971/1.903, allocations: 127.7 kB / 0.8222 GB, free: 49.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004017/1.903, allocations: 0.5886 MB / 0.8228 GB, free: 49.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005327/1.909, allocations: 2.17 MB / 0.8249 GB, free: 48.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00795/1.917, allocations: 6.107 MB / 0.8309 GB, free: 42.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008076/1.925, allocations: 3.62 MB / 0.8344 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001295/1.925, allocations: 40 kB / 0.8345 GB, free: 40.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.02435/1.949, allocations: 8.597 MB / 0.8428 GB, free: 32.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.949, allocations: 64 kB / 0.8429 GB, free: 32.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002257/1.95, allocations: 144.1 kB / 0.843 GB, free: 32.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00465/1.954, allocations: 0.9193 MB / 0.8439 GB, free: 31.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009587/1.964, allocations: 1.498 MB / 0.8454 GB, free: 30.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.977, allocations: 7.228 MB / 0.8525 GB, free: 23.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/1.985, allocations: 348.1 kB / 0.8528 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/1.987, allocations: 399.2 kB / 0.8532 GB, free: 22.92 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 45 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (792): * Single equations (assignments): 787 * Array equations: 3 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001758/1.989, allocations: 0.6167 MB / 0.8538 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001225/1.99, allocations: 426.5 kB / 0.8542 GB, free: 21.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/2, allocations: 3.465 MB / 0.8576 GB, free: 19.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.065e-05/2, allocations: 24 kB / 0.8576 GB, free: 19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/2, allocations: 8 kB / 0.8576 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.116e-05/2.001, allocations: 11.88 kB / 0.8576 GB, free: 18.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/2.028, allocations: 9.064 MB / 0.8665 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-05/2.028, allocations: 0 / 0.8665 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00338/2.031, allocations: 337.6 kB / 0.8668 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/2.035, allocations: 0.6918 MB / 0.8675 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004934/2.036, allocations: 39.38 kB / 0.8675 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/2.047, allocations: 6.53 MB / 0.8739 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.047, allocations: 7.844 kB / 0.8739 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02012/2.068, allocations: 6.415 MB / 0.8801 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/2.071, allocations: 0.7336 MB / 0.8809 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001363/2.072, allocations: 35.95 kB / 0.8809 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003634/2.076, allocations: 111.3 kB / 0.881 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007515/2.077, allocations: 133.3 kB / 0.8811 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/2.077, allocations: 48 kB / 0.8812 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009008/2.086, allocations: 2.974 MB / 0.8841 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.31e-07/2.086, allocations: 0 / 0.8841 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008632/2.095, allocations: 1.183 MB / 0.8852 GB, free: 11.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 158 * Array equations: 3 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01831/2.113, allocations: 6.958 MB / 0.892 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.376/2.489, allocations: 5.554 MB / 0.8975 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/2.489, allocations: 2.875 kB / 0.8975 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00579/2.495, allocations: 1.916 MB / 0.8993 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004607/2.5, allocations: 0.5242 MB / 0.8998 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04323/2.543, allocations: 11.6 MB / 0.9112 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0111/2.554, allocations: 4.124 MB / 0.9152 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00629/2.56, allocations: 2.513 MB / 0.9176 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/2.561, allocations: 0 / 0.9176 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.644/7.205, allocations: 144.7 MB / 1.059 GB, free: 22.57 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat