Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",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.001581/0.001582, allocations: 177.3 kB / 17.06 MB, free: 5.098 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.615/1.615, allocations: 223.2 MB / 241 MB, free: 11.89 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.00105/0.00105, allocations: 98.72 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3832/0.3832, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003735, allocations: 12 kB / 460 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3799, allocations: 61.91 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.5255, allocations: 109.9 MB / 0.617 GB, free: 1.141 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5258, allocations: 87.92 kB / 0.6171 GB, free: 1.059 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5487/1.074, allocations: 103.9 MB / 0.7186 GB, free: 95.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.607e-06/1.075, allocations: 0 / 0.7186 GB, free: 95.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007195/1.075, allocations: 107.1 kB / 0.7187 GB, free: 95.01 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.02161/1.097, allocations: 5.555 MB / 0.7241 GB, free: 92.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/1.097, allocations: 8.906 kB / 0.7241 GB, free: 92.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004219/1.101, allocations: 0.8916 MB / 0.725 GB, free: 92.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02667/1.128, allocations: 6.853 MB / 0.7317 GB, free: 91.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02029/1.148, allocations: 6.514 MB / 0.738 GB, free: 88.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004508/1.149, allocations: 388.3 kB / 0.7384 GB, free: 88.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002761/1.151, allocations: 0.5055 MB / 0.7389 GB, free: 88.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02758/1.179, allocations: 11.95 MB / 0.7505 GB, free: 82.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005146/1.18, allocations: 75.45 kB / 0.7506 GB, free: 82.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002414/1.182, allocations: 243.5 kB / 0.7509 GB, free: 81.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001563/1.184, allocations: 1.07 MB / 0.7519 GB, free: 81.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/1.203, allocations: 9.576 MB / 0.7612 GB, free: 78.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05827/1.261, allocations: 55.11 MB / 0.8151 GB, free: 25.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009474/1.271, allocations: 3.961 MB / 0.8189 GB, free: 21.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/1.285, allocations: 8.879 MB / 0.8276 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.285, allocations: 55.45 kB / 0.8277 GB, free: 12.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=169): time 4.568e-06/1.285, allocations: 0 / 0.8277 GB, free: 12.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=191): time 0.04321/1.328, allocations: 17.23 MB / 0.8445 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/1.328, allocations: 201.2 kB / 0.8447 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008454/1.337, allocations: 4.137 MB / 0.8487 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/1.337, allocations: 53.64 kB / 0.8488 GB, free: 6.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003176/1.34, allocations: 3.661 MB / 0.8523 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.341, allocations: 0.7383 MB / 0.8531 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005797/1.342, allocations: 124 kB / 0.8532 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006113/1.342, allocations: 0.5704 MB / 0.8537 GB, free: 1.836 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003918/1.346, allocations: 2.064 MB / 0.8558 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006768/1.353, allocations: 5.897 MB / 0.8615 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/1.359, allocations: 3.444 MB / 0.8649 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/1.359, allocations: 40 kB / 0.8649 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01766/1.376, allocations: 8.44 MB / 0.8732 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/1.377, allocations: 64.19 kB / 0.8732 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002296/1.377, allocations: 140 kB / 0.8734 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/1.38, allocations: 0.9209 MB / 0.8743 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004861/1.385, allocations: 1.419 MB / 0.8756 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/1.394, allocations: 7.425 MB / 0.8829 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00526/1.4, allocations: 323.5 kB / 0.8832 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001149/1.401, allocations: 384 kB / 0.8836 GB, free: 1.098 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 47 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (754): * Single equations (assignments): 749 * 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.2783/1.679, allocations: 2.481 MB / 0.886 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009842/1.68, allocations: 411.1 kB / 0.8864 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005864/1.686, allocations: 3.162 MB / 0.8895 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-05/1.686, allocations: 23.84 kB / 0.8895 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.686, allocations: 8.125 kB / 0.8895 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/1.686, allocations: 9.938 kB / 0.8895 GB, free: 125 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01489/1.701, allocations: 8.43 MB / 0.8977 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.701, allocations: 0 / 0.8977 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/1.703, allocations: 288.6 kB / 0.898 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/1.705, allocations: 0.6968 MB / 0.8987 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/1.705, allocations: 34.5 kB / 0.8987 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006886/1.712, allocations: 6.721 MB / 0.9053 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.712, allocations: 8.75 kB / 0.9053 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007599/1.719, allocations: 5.67 MB / 0.9108 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/1.721, allocations: 454.3 kB / 0.9113 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000645/1.722, allocations: 30.33 kB / 0.9113 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/1.723, allocations: 104.7 kB / 0.9114 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003442/1.723, allocations: 118.3 kB / 0.9115 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/1.724, allocations: 47.95 kB / 0.9116 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005204/1.729, allocations: 2.932 MB / 0.9144 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/1.729, allocations: 0 / 0.9144 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006207/1.735, allocations: 1.123 MB / 0.9155 GB, free: 118.2 MB / 0.5261 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 (141): * Single equations (assignments): 136 * 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.009148/1.744, allocations: 6.466 MB / 0.9218 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01029/1.755, allocations: 5.294 MB / 0.927 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.755, allocations: 0 / 0.927 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/1.757, allocations: 1.773 MB / 0.9287 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/1.761, allocations: 0.5244 MB / 0.9292 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09778/1.859, allocations: 133.3 MB / 1.059 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006293/1.865, allocations: 3.968 MB / 1.063 GB, free: 6.828 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0056/1.871, allocations: 1.998 MB / 1.065 GB, free: 6.664 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003684/1.875, allocations: 2.343 MB / 1.068 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/1.875, allocations: 0 / 1.068 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4206/2.295, allocations: 89.04 MB / 1.155 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002145/2.295, allocations: 194.5 kB / 1.155 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.271/7.566, allocations: 1.422 kB / 1.155 GB, free: 130.5 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat