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.001094/0.001094, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009813/0.0009811, allocations: 94.39 kB / 281.6 MB, free: 5.32 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.2164/0.2164, allocations: 44.14 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.46e-05, allocations: 8.156 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1444, allocations: 61.91 MB / 0.4948 GB, free: 1.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4772/0.6216, allocations: 109.2 MB / 0.6014 GB, free: 3.148 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.622, allocations: 83.95 kB / 0.6015 GB, free: 3.066 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5974/1.219, allocations: 101.7 MB / 0.7008 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/1.219, allocations: 0 / 0.7008 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000404/1.22, allocations: 105.7 kB / 0.7009 GB, free: 105.6 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: 1751 * Number of variables: 1751 Notification: Performance of Generate backend data structure: time 0.01919/1.239, allocations: 5.095 MB / 0.7058 GB, free: 104 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.239, allocations: 16.67 kB / 0.7059 GB, free: 104 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03062/1.27, allocations: 6.857 MB / 0.7126 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/1.288, allocations: 6.464 MB / 0.7189 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004485/1.288, allocations: 165.4 kB / 0.719 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002783/1.291, allocations: 313.8 kB / 0.7193 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01527/1.306, allocations: 6.886 MB / 0.7261 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02424/1.331, allocations: 10.72 MB / 0.7365 GB, free: 99.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003032/1.331, allocations: 76.56 kB / 0.7366 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001028/1.332, allocations: 34.47 kB / 0.7366 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001354/1.333, allocations: 1.067 MB / 0.7377 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05272/1.386, allocations: 54.14 MB / 0.7905 GB, free: 61.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003634/1.39, allocations: 3.195 MB / 0.7937 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001977/1.392, allocations: 2.004 MB / 0.7956 GB, free: 58.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003638/1.392, allocations: 334.8 kB / 0.7959 GB, free: 58.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.392, allocations: 58.23 kB / 0.796 GB, free: 58.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=178): time 4.98e-06/1.392, allocations: 0 / 0.796 GB, free: 58.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=200): time 0.0341/1.426, allocations: 17.19 MB / 0.8128 GB, free: 50.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.427, allocations: 197.2 kB / 0.813 GB, free: 49.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/1.432, allocations: 3.575 MB / 0.8165 GB, free: 46.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004959/1.432, allocations: 33.64 kB / 0.8165 GB, free: 46.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002147/1.435, allocations: 3.688 MB / 0.8201 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001016/1.436, allocations: 0.7449 MB / 0.8208 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/1.436, allocations: 0 / 0.8208 GB, free: 42.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003543/1.436, allocations: 0.5791 MB / 0.8214 GB, free: 42.28 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/1.439, allocations: 1.983 MB / 0.8233 GB, free: 40.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/1.442, allocations: 5.899 MB / 0.8291 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/1.446, allocations: 3.401 MB / 0.8324 GB, free: 30.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.096e-05/1.446, allocations: 40 kB / 0.8324 GB, free: 30.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=844) (initialization): time 0.01352/1.46, allocations: 7.702 MB / 0.84 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.46, allocations: 69.11 kB / 0.84 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/1.46, allocations: 144.9 kB / 0.8402 GB, free: 23.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/1.462, allocations: 0.9421 MB / 0.8411 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/1.467, allocations: 1.471 MB / 0.8425 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/1.474, allocations: 7.079 MB / 0.8494 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005396/1.48, allocations: 213.8 kB / 0.8496 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001204/1.481, allocations: 391.9 kB / 0.85 GB, free: 13.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 640 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (784): * Single equations (assignments): 779 * 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.0009276/1.482, allocations: 476.4 kB / 0.8505 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005186/1.487, allocations: 3.363 MB / 0.8538 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007169/1.488, allocations: 386 kB / 0.8541 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005212/1.493, allocations: 3.057 MB / 0.8571 GB, free: 7.77 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/1.493, allocations: 25.69 kB / 0.8571 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.493, allocations: 11.94 kB / 0.8571 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.493, allocations: 6.891 kB / 0.8571 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.506, allocations: 7.728 MB / 0.8647 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.506, allocations: 4 kB / 0.8647 GB, free: 1.438 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/1.508, allocations: 303.8 kB / 0.865 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/1.509, allocations: 0.6729 MB / 0.8656 GB, free: 0.7109 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/1.51, allocations: 8 kB / 0.8657 GB, free: 0.7031 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007455/1.517, allocations: 6.201 MB / 0.8717 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/1.517, allocations: 3.656 kB / 0.8717 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008753/1.526, allocations: 5.621 MB / 0.8772 GB, free: 5.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/1.528, allocations: 419.9 kB / 0.8776 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007737/1.529, allocations: 15.88 kB / 0.8776 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/1.53, allocations: 71.89 kB / 0.8777 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/1.53, allocations: 123.2 kB / 0.8778 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.531, allocations: 55.98 kB / 0.8779 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005046/1.536, allocations: 2.426 MB / 0.8802 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.7e-07/1.536, allocations: 0 / 0.8802 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007438/1.543, allocations: 0.9804 MB / 0.8812 GB, free: 1.238 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (150): * Single equations (assignments): 145 * 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.01023/1.553, allocations: 6.577 MB / 0.8876 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009704/1.563, allocations: 5 MB / 0.8925 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.563, allocations: 0 / 0.8925 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002977/1.566, allocations: 1.725 MB / 0.8942 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.569, allocations: 451.3 kB / 0.8946 GB, free: 3.422 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3261/1.896, allocations: 10.25 MB / 0.9046 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01014/1.906, allocations: 3.972 MB / 0.9085 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007957/1.914, allocations: 2.071 MB / 0.9105 GB, free: 121 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00504/1.919, allocations: 2.326 MB / 0.9128 GB, free: 121 MB / 0.5261 GB Notification: Performance of SimCode: time 1.443e-06/1.919, allocations: 3.688 kB / 0.9128 GB, free: 121 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/2.059, allocations: 82.66 MB / 0.9935 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001511/2.059, allocations: 143.2 kB / 0.9937 GB, free: 93.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.973/7.032, allocations: 0 / 0.9937 GB, free: 93.34 MB / 0.5261 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