Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001759/0.001759, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009722/0.000972, allocations: 113.6 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3931/0.3931, allocations: 45.23 MB / 394.6 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002681, allocations: 4.219 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3993, allocations: 63.25 MB / 0.5193 GB, free: 43.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1527/0.552, allocations: 110.8 MB / 0.6275 GB, free: 10.75 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.5524, allocations: 91.92 kB / 0.6276 GB, free: 10.66 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5919/1.144, allocations: 106.1 MB / 0.7312 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.727e-06/1.144, allocations: 0 / 0.7312 GB, free: 94.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005339/1.145, allocations: 103 kB / 0.7313 GB, free: 94.7 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.02154/1.166, allocations: 5.6 MB / 0.7368 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/1.167, allocations: 9.625 kB / 0.7368 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005715/1.172, allocations: 0.8925 MB / 0.7377 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02974/1.202, allocations: 6.887 MB / 0.7444 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/1.223, allocations: 5.868 MB / 0.7501 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007236/1.223, allocations: 388.6 kB / 0.7505 GB, free: 91.15 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003042/1.227, allocations: 0.5096 MB / 0.751 GB, free: 91.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03512/1.262, allocations: 11.95 MB / 0.7627 GB, free: 85.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007043/1.262, allocations: 73.2 kB / 0.7627 GB, free: 85.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003183/1.266, allocations: 247.1 kB / 0.763 GB, free: 85.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001936/1.268, allocations: 1.068 MB / 0.764 GB, free: 84.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/1.288, allocations: 9.567 MB / 0.7733 GB, free: 81.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06396/1.353, allocations: 55.11 MB / 0.8272 GB, free: 39.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009658/1.362, allocations: 3.943 MB / 0.831 GB, free: 37.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01547/1.378, allocations: 8.892 MB / 0.8397 GB, free: 28.65 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/1.378, allocations: 59.44 kB / 0.8398 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=169): time 5.009e-06/1.378, allocations: 4 kB / 0.8398 GB, free: 28.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=191): time 0.04735/1.425, allocations: 17.23 MB / 0.8566 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/1.425, allocations: 197.2 kB / 0.8568 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008414/1.434, allocations: 4.14 MB / 0.8608 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004653/1.434, allocations: 53.7 kB / 0.8609 GB, free: 6.738 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002781/1.437, allocations: 3.658 MB / 0.8644 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.438, allocations: 0.7326 MB / 0.8652 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/1.439, allocations: 124 kB / 0.8653 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004796/1.44, allocations: 0.5704 MB / 0.8658 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003631/1.444, allocations: 2.07 MB / 0.8679 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007194/1.451, allocations: 5.901 MB / 0.8736 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006477/1.457, allocations: 3.431 MB / 0.877 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001338/1.457, allocations: 40 kB / 0.877 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01958/1.477, allocations: 8.443 MB / 0.8852 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.477, allocations: 68.89 kB / 0.8853 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/1.477, allocations: 136 kB / 0.8854 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003195/1.481, allocations: 0.921 MB / 0.8863 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005483/1.486, allocations: 1.423 MB / 0.8877 GB, free: 9.277 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/1.497, allocations: 7.414 MB / 0.895 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/1.504, allocations: 335.5 kB / 0.8953 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/1.505, allocations: 380 kB / 0.8957 GB, free: 0.9062 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.312/1.817, allocations: 2.47 MB / 0.8981 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/1.819, allocations: 412.6 kB / 0.8985 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006701/1.825, allocations: 3.162 MB / 0.9016 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/1.826, allocations: 26.48 kB / 0.9016 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/1.826, allocations: 6.469 kB / 0.9016 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.826, allocations: 14.73 kB / 0.9016 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01617/1.842, allocations: 8.435 MB / 0.9098 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/1.842, allocations: 5.719 kB / 0.9098 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.843, allocations: 287.2 kB / 0.9101 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002146/1.846, allocations: 0.6871 MB / 0.9108 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001815/1.846, allocations: 36.42 kB / 0.9108 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00732/1.853, allocations: 6.73 MB / 0.9174 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.853, allocations: 3.844 kB / 0.9174 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007889/1.861, allocations: 5.669 MB / 0.9229 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/1.863, allocations: 449.8 kB / 0.9234 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004594/1.863, allocations: 37.02 kB / 0.9234 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.864, allocations: 95.27 kB / 0.9235 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/1.865, allocations: 118 kB / 0.9236 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/1.865, allocations: 54.72 kB / 0.9237 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006728/1.872, allocations: 2.926 MB / 0.9265 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.91e-07/1.872, allocations: 0 / 0.9265 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007202/1.879, allocations: 1.124 MB / 0.9276 GB, free: 108.7 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.01036/1.889, allocations: 6.491 MB / 0.9339 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009708/1.899, allocations: 5.282 MB / 0.9391 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.899, allocations: 0 / 0.9391 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003576/1.903, allocations: 1.784 MB / 0.9408 GB, free: 103 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004764/1.908, allocations: 0.5185 MB / 0.9414 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1304/2.038, allocations: 133.3 MB / 1.072 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008141/2.046, allocations: 3.964 MB / 1.075 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008373/2.055, allocations: 2.001 MB / 1.077 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005792/2.06, allocations: 2.343 MB / 1.08 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of SimCode: time 2.655e-06/2.061, allocations: 3.938 kB / 1.08 GB, free: 11.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5089/2.569, allocations: 88.46 MB / 1.166 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/2.57, allocations: 199.4 kB / 1.166 GB, free: 133.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.277/7.846, allocations: 11.19 kB / 1.166 GB, free: 133.3 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Bevel1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat does not exist to compare? outputFormat=mat