Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_3_2_3_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.001724/0.001724, allocations: 182.9 kB / 15.76 MB, free: 6.367 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.68/1.68, 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.001023/0.001023, allocations: 94.8 kB / 270.2 MB, free: 13.36 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.2004/0.2004, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003362/0.0003363, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1211, allocations: 58.86 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/0.4894, allocations: 108.8 MB / 0.5851 GB, free: 7.117 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4897, allocations: 87.89 kB / 0.5852 GB, free: 7.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2683/0.758, allocations: 106.7 MB / 0.6894 GB, free: 4.152 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.7581, allocations: 0 / 0.6894 GB, free: 4.152 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004371/0.7585, allocations: 108 kB / 0.6895 GB, free: 4.047 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.01864/0.7772, allocations: 5.74 MB / 0.6951 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.7773, allocations: 8.031 kB / 0.6951 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003737/0.781, allocations: 0.9269 MB / 0.696 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/0.8088, allocations: 6.896 MB / 0.7028 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2864/1.095, allocations: 6.913 MB / 0.7095 GB, free: 106.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006418/1.096, allocations: 410 kB / 0.7099 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003336/1.099, allocations: 0.5211 MB / 0.7104 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03303/1.132, allocations: 12.41 MB / 0.7226 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000512/1.133, allocations: 74.41 kB / 0.7226 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002455/1.135, allocations: 260.5 kB / 0.7229 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002228/1.138, allocations: 1.132 MB / 0.724 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02322/1.161, allocations: 9.997 MB / 0.7337 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05604/1.217, allocations: 56.74 MB / 0.7891 GB, free: 66.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009009/1.226, allocations: 4.168 MB / 0.7932 GB, free: 64.51 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01326/1.239, allocations: 9.506 MB / 0.8025 GB, free: 59.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/1.239, allocations: 55.03 kB / 0.8026 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=190): time 5.971e-06/1.239, allocations: 0 / 0.8026 GB, free: 59.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=212): time 0.043/1.282, allocations: 18.33 MB / 0.8205 GB, free: 52.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/1.283, allocations: 202.8 kB / 0.8206 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00609/1.289, allocations: 4.247 MB / 0.8248 GB, free: 51.03 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004145/1.289, allocations: 58.77 kB / 0.8249 GB, free: 50.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002435/1.291, allocations: 3.776 MB / 0.8285 GB, free: 48.12 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.293, allocations: 0.8119 MB / 0.8293 GB, free: 47.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.293, allocations: 133.7 kB / 0.8295 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003263/1.293, allocations: 0.5798 MB / 0.83 GB, free: 47.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003077/1.296, allocations: 2.237 MB / 0.8322 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004546/1.301, allocations: 6.172 MB / 0.8382 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00432/1.305, allocations: 3.651 MB / 0.8418 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.387e-05/1.305, allocations: 40 kB / 0.8418 GB, free: 36.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=852) (initialization): time 0.01665/1.322, allocations: 8.901 MB / 0.8505 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/1.322, allocations: 64 kB / 0.8506 GB, free: 28.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000305/1.323, allocations: 143.9 kB / 0.8507 GB, free: 28.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/1.325, allocations: 0.9308 MB / 0.8516 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/1.33, allocations: 1.499 MB / 0.8531 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008408/1.339, allocations: 7.413 MB / 0.8603 GB, free: 19.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00591/1.345, allocations: 359 kB / 0.8607 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/1.346, allocations: 396.2 kB / 0.8611 GB, free: 18.46 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 () * Number of clocked 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.006873/1.353, allocations: 2.574 MB / 0.8636 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.355, allocations: 427.1 kB / 0.864 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007852/1.363, allocations: 3.531 MB / 0.8674 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/1.363, allocations: 21.33 kB / 0.8675 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.338e-05/1.363, allocations: 8 kB / 0.8675 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.829e-05/1.363, allocations: 14.45 kB / 0.8675 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02377/1.387, allocations: 9.15 MB / 0.8764 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.642e-05/1.387, allocations: 0 / 0.8764 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/1.388, allocations: 332.3 kB / 0.8767 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/1.391, allocations: 0.6924 MB / 0.8774 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.391, allocations: 40 kB / 0.8774 GB, free: 4.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007884/1.399, allocations: 6.74 MB / 0.884 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.399, allocations: 4.062 kB / 0.884 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/1.41, allocations: 6.251 MB / 0.8901 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002864/1.413, allocations: 0.7373 MB / 0.8909 GB, free: 8.148 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/1.415, allocations: 36 kB / 0.8909 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/1.417, allocations: 116.3 kB / 0.891 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/1.418, allocations: 117.3 kB / 0.8911 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/1.418, allocations: 55.52 kB / 0.8912 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007342/1.425, allocations: 3.009 MB / 0.8941 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/1.425, allocations: 0 / 0.8941 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009711/1.435, allocations: 1.184 MB / 0.8953 GB, free: 4.27 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 () * Number of clocked 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.3064/1.742, allocations: 7.059 MB / 0.9022 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01108/1.753, allocations: 5.686 MB / 0.9077 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.753, allocations: 0 / 0.9077 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/1.756, allocations: 1.967 MB / 0.9096 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/1.76, allocations: 0.5144 MB / 0.9101 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1179/1.878, allocations: 138.1 MB / 1.045 GB, free: 25.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007766/1.885, allocations: 4.111 MB / 1.049 GB, free: 24.29 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006498/1.892, allocations: 2.102 MB / 1.051 GB, free: 24.11 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005187/1.897, allocations: 2.465 MB / 1.053 GB, free: 23.82 MB / 0.5417 GB Notification: Performance of SimCode: time 9.328e-06/1.897, allocations: 0 / 1.053 GB, free: 23.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4054/2.303, allocations: 92.08 MB / 1.143 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/2.303, allocations: 198.1 kB / 1.144 GB, free: 141.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.454/7.757, allocations: 0 / 1.144 GB, free: 141.6 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat